Nope. Why? Because we do have an internal maven resolver as embedding maven was not an option . We do have another maven resolver on the works which is based on maven , which will indeed save the artifacts to your local repository. We deliberately did not wanted to save files to local maven repository in order to not affect in any way your local maven install.
If connection is a problem for you and you do not want to re-download, just use a Nexus. Put nexus on your machine, set it up to proxy the repositories you need and then use the --repositories option to point to local nexus. And if you do not want to set that option all the time you can put it in $home/.pax/runner/runner.args file. On Fri, Jan 29, 2010 at 1:38 PM, Humberto N. Castejon Martinez < humca...@gmail.com> wrote: > Hi! > Is there any way I can make Pax Runner to store the bundles it downloads in > a local repository? > Imagine you do not have Maven installed in your machine (otherwise you do > not need pax-runner and can just run "mvn pax:provision"), and thus do not > have a local repository. You use pax to run an application that uses bundles > X, Y, Z. The first time you run that application, all those bundles are > downloaded, together with the osgi-framework bundles. Now, imagine that you > want to run another application that uses the same bundles as the > formerapplication. When you run this new application, pax downloads again > bundles X,Y,Z, plus the osgi-framework bundles. And everytime a new > application is run, the bundles are yet again downloaded. This is > unfortunate, specially if the internet connection is bad and there are many > bundles that have to be downloaded. So it would be great if Pax could store > the bundles it downloads in a local repository, as maven does. > Cheers, > Humberto > > > _______________________________________________ > general mailing list > general@lists.ops4j.org > http://lists.ops4j.org/mailman/listinfo/general > > -- Alin Dreghiciu Software Developer My profile: http://www.linkedin.com/in/alindreghiciu My blog: http://adreghiciu.wordpress.com http://sonatype.com - Sonatype - The Maven Company http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software. http://www.qi4j.org - New Energy for Java - Domain Driven Development.
_______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general