It would be simpler if you could install a Maven Repository Management in your Intranet, or copy the local repository from one machine to the build machine, then run maven offline.
-----Original Message----- From: Thummala, Sandhya [mailto:[email protected]] Sent: Thursday, January 15, 2009 1:20 PM To: [email protected] Subject: How to install Maven plugins locally 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
