karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jochenw <jochen.walz.m...@googlemail.com>
Subject Re: Karaf 3.0.1: how to avoid usage of .m2 repository?
Date Thu, 08 Jan 2015 11:55:47 GMT
If you place your stuff in the system directory, I don't see the need to
change the default configuration. This folder is already included in the
defaultRepositories in org.ops4j.pax.url.mvn.cfg.

Define features according to 
http://karaf.apache.org/manual/latest/users-guide/provisioning.html
<http://karaf.apache.org/manual/latest/users-guide/provisioning.html>   and
add the features to the featuresRepositories list in
org.apache.karaf.features.cfg. Then you can install a feature with
feature:install <featurename>. If you add the feature to the featuresBoot
list in org.apache.karaf.features.cfg, it will automatically be installed on
startup.

BR,
Jochen



--
View this message in context: http://karaf.922171.n3.nabble.com/Karaf-3-0-1-how-to-avoid-usage-of-m2-repository-tp4033016p4037685.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Mime
View raw message