when you use --repositories you will overide any repositories that pax runner knows about with your ones. So, if your repos does nto contain the profiles for sure that will not be found. If instead you want to add additional repositories to exiting ones then start your list or repos with a plus (+) as in --repositories=+http://foo.com,http://bar.org This will instruct pax runner to use the original list + your repos.
HTH P.S. this can be found also in wiki ;) On Fri, Jan 29, 2010 at 11:03 AM, Humberto N. Castejon Martinez < humca...@gmail.com> wrote: > It seems, that after all, it does not work. I have removed my local > repository and maven installation to be sure that pax runner was not getting > bundles/info from them. I have tried to run pax with both > "--repositories=<url>" and > "--vmOptions=-Dorg.ops4j.pax.url.mvn.repositories=<url>", but pax does not > find the profiles/bundles. If Iset the repository address inside the > scan-bundle line (as I explained in my original mail), then it works, so it > is not a problem with the repository. > I am using v1.4.0 of pax. > Any help would be much appreciated. Thanks > Cheers, > Humberto > > On Thu, Jan 28, 2010 at 3:22 PM, Alin Dreghiciu <adreghi...@gmail.com>wrote: > >> Take a look at --repositories option of pax runner. this allows you to set >> up a list of repositories to be searched. >> >> On Thu, Jan 28, 2010 at 3:41 PM, Humberto N. Castejon Martinez < >> humca...@gmail.com> wrote: >> >>> Hi! >>> As far as I know it is possible to specify the repository where pax >>> runner will search for a bundle in the following way: >>> scan-bundle:mvn:<repository-address>!<bundle-info> >>> Is there another way (e.g. a configuration file) to specify repositories >>> that pax should use? I think the above solution is not flexible enough. >>> Thanks! >>> 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. >> > > -- 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