look Maven xml :maven-2.0.7\conf\settings.xml <!-- localRepository | The path to the local repository maven will use to store artifacts. | | Default: ~/.m2/repository <localRepository>/path/to/local/repo</localRepository> -->
2010/4/27 Matt Raible <m...@raibledesigns.com> > If you run "mvn package" on a project that does have internet access, it > will produce a WAR that you can drop into Tomcat and run. > > > On Mon, Apr 26, 2010 at 3:34 AM, Babu <babu.ideas...@gmail.com> wrote: > >> >> Thanks matt, >> >> My client won't provide internet facility for (.m2) download repository >> .So >> currently i have copied my local repo and upload it in client server. >> Instead of doing this my project containing necessary jar files to run.So >> i >> need to point .m2 repo to WEB-INF/lib for dependecy. >> >> Thanks again >> Babu >> >> -- >> View this message in context: >> http://appfuse.547863.n4.nabble.com/How-to-point-maven-M2-repository-to-lib-folder-tp2063575p2064934.html >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net >> For additional commands, e-mail: users-h...@appfuse.dev.java.net >> >> > -- 冲浪板 my blog:http://chonglangban.appspot.com my site:http://kejiblog.appspot.com