karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: [INFO] Update default etc/org.ops4j.pax.url.mvn.cfg on Karaf 3.0.x
Date Sun, 31 Aug 2014 20:43:21 GMT
Following this thread, I wonder if it doesn't make sense to add the 
system repo as local repo:


and override the default m2 settings with an empty one in Karaf:


by default, and document how to switch back to Maven "local user 

It would avoid to populate the .m2/repository and force to use the 
artifacts from the system repo (so very close to what we have in Karaf 2.x).



On 08/31/2014 10:31 PM, Matt Sicker wrote:
> I quite like that change. In my Karaf usage, I've always reconfigured the
> .m2/repository directory to be inside KARAF_HOME instead just to isolate
> the repositories in the first place. Any sort of change that prefers usage
> of artifact repositories embedded in Karaf are a step forward IMO.
> On 31 August 2014 14:36, Jean-Baptiste Onofré <jb@nanthrax.net> wrote:
>> Hi all,
>> FYI, I aligned the etc/org.ops4j.pax.url.mvn.cfg files between master
>> (Karaf 4.x) and Karaf 3.0.x.
>> Basically, the change is to move the system repo and the kar repo as
>> default repositories, instead of "regular" repositories.
>> It allows Karaf to start quicker on a fresh machine, without any
>> .m2/repository.
>> Any objection ?
>> Regards
>> JB
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com

Jean-Baptiste Onofré
Talend - http://www.talend.com

View raw message