maybe you can try to lay the maven-plugins you have downloaded to the local repo according to the rules: local repo path/groupId/artifactId/versions such as: org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.jar
try it? On Thu, Jan 15, 2009 at 1:19 PM, Thummala, Sandhya <[email protected]>wrote: > Hi All, > I am using maven-surefire-report-plugin to generate unit test reports. > Is there a way to install maven plugins locally? To explain further, if > my build machine doesn't have internet access, I download the maven > plugins that are required to run the reports manually, then install each > of these plugins on the build machine using install-file goal, then use > it to generate sure-fire reports. > I tried doing this, maven-surefire-report-plugin is installed in my > local repository using mvn install, but while executing the build, maven > is not able to find this plugin. I am getting following error: > [exec] [ERROR] BUILD ERROR > [exec] [INFO] > ------------------------------------------------------------------------ > [exec] [INFO] The plugin > 'org.apache.maven.plugins:maven-surefire-report-plugin' does not exist > or no valid version could be found > > Any pointers would be appreciated. > Thanks > Sandhya Thummala > > -- 漠洋(苏琳冲) SuLinchong Phone 13656669328 Qq 387973308 Msn [email protected]
