On browsing, i got that i have the following. Is this way a correct one? Is there any other better way?
http://dotal.wordpress.com/2007/02/26/setup-internal-maven-repository/ Download maven-proxy <http://maven-proxy.codehaus.org/Home> from codehaus. Follow the instructions to setup a manual instance. Modify the default properties file in the maven-proxy directory.. See the attached maven-proxy.doc for a sample. Save this file and change the extension to .properties. You will need to change the name and prefix of your proxy if you don’t like MyRepo. maven-proxy properties file<http://dotal.files.wordpress.com/2007/02/maven-proxy.doc> Create a startProxy.bat file instead of manually typing “java -jar….” every time. My batch file contains the following line: java -jar maven-proxy-standalone-0.2-app.jar maven-proxy.properties Configure the .bat file from the previous step to startup when the machine starts. I put the bat file in my Startup folder. Run the startProxy.bat file and verify startup Configure your dev machine to work with the proxy by editing your settings.xml. See the attached ClientRepoSettings.doc document for a sample of configuring your client machine. Maven settings.xml file<http://dotal.files.wordpress.com/2007/02/clientreposettings.doc> Clean out your local .m2 repository Clean and compile your project to verify that all artifacts are being pulled down from the proxy. You can check the proxy window output to verify that the artifacts are going through the proxy. On Fri, Aug 28, 2009 at 4:28 PM, Stuff_Me <[email protected]> wrote: > > Hi Everybody, > > My problems is some what similar one, new to maven and i have installed M2, > create a projects with all its dependencies on a system which is having > internet and it works fine. > > Now the problem my team members (does not have internet and) they have to > point to the my local repository as thier remote repository. Now how to set > this configurations. Maven everywhere telling about remo/local repositories, > but i am not getting the confiruation regarding the this.......... > > Please suggest on this, thanks in advance....... > > > Rds, > --Rafi-- > > > > On Thu, Aug 20, 2009 at 7:19 AM, Ben Caradoc-Davies > <[email protected]> wrote: > >> Sammaiah Nagapuri wrote: >> >>> org.apache.maven.lifecycle.LifecycleExecutionException: Unable to build >>> project for plugin 'org.apache.maven.plugins:maven-resources-plugin': Not a >>> v4. >>> 0.0 POM. for project org.apache.maven.plugins:maven-resources-plugin at >>> C:\Documents and >>> Settings\sammaiah.nagapuri\.m2\repository\org\apache\maven\plu >>> gins\maven-resources-plugin\2.3\maven-resources-plugin-2.3.pom >>> >> >> Does this repository POM file look like a valid POM file? >> >> Did you use the same version on Maven to create the repository? What is >> your Maven version? >> >> Kind regards, >> >> >> -- >> Ben Caradoc-Davies <[email protected]> >> Software Engineer, CSIRO Exploration and Mining >> Australian Resources Research Centre >> 26 Dick Perry Ave, Kensington WA 6151, Australia >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> >
