Hello JB, thanks for the incredibly fast answer. The clarification on pax using only the settings.xml did a lot. Indeed I did rely on pax url using the repo / mirror settings. Setting the default repositories for pax url (or simply pax url's repositories setting) did the job though.
As for karaf 3.0.x, is there an idea about when it is going to be released? I'd love to have that local repository population feature :-) Best, Benjamin -------- Original-Nachricht -------- > Datum: Mon, 05 Nov 2012 18:15:56 +0100 > Von: "Jean-Baptiste Onofré" <[email protected]> > An: [email protected] > Betreff: Re: Pax url does not use maven settings > Hi Benjamin, > > 1/ pax url doesn't use your local Maven installation, just the > settings.xml (defined as $HOME/.m2/settings.xml so, it's important that > the user that launch Karaf provide this settings.xml, else you have to > provide the patch to the settings.xml). However, depending of the Karaf > version, the behavior could be different. > Karaf 2.2.x and 2.3.x use pax-url-mvn, whereas Karaf 3.0.x uses > pax-url-aether. > > However, some configuration from settings.xml are not used by Pax Url. > It's the case for <mirror/>, <repositories/>, etc. That's why you have > to use defaultRepositories (adding your repo), using pax-url-mvn. > > 2/ it's "normal" with Karaf 2.2.x and 2.3.x. With Karaf 3.0.x, you will > be able to populate your local repo (and completely avoid the usage of > the system repo for instance). > > Regards > JB >
