karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: featuresRepositories is overriden by defined feature repositories?
Date Wed, 25 Jan 2012 18:20:12 GMT
Hi Christoforos,

Do you follow:

http://karaf.apache.org/manual/latest-2.2.x/developers-guide/custom-distribution.html

to create your distribution ?

The org.apache.karaf.features.cfg is not overrided, so it should read yours.

However, if you do features:add-url, the URL will be added in the 
features repository registry (and so display by the features:list-url 
command).

To clean up the features URL installed by hand, you have to clean the 
data folder.

Regards
JB

On 01/25/2012 07:14 PM, christoforos.vasilatos wrote:
> Hi to all,
>
> I am a new Karaf user and I am trying to create a custom distribution. I had
> created a custom org.apache.karaf.features.cfg configuration file with the
> following value for the featuresRepositories
>
> featuresRepositories=mvn:org.apache.karaf/apache-karaf/2.2.5/xml/features,\
> mvn:org.apache.karaf.assemblies.features/enterprise/2.2.5/xml/features,\
> mvn:org.apache.camel.karaf/apache-camel/2.9.0/xml/features,\
> mvn:org.apache.cxf.karaf/apache-cxf/2.5.1/xml/features,\
> mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/1.5.0/xml/features,\
> mvn:org.apache.servicemix/apache-servicemix/4.4.0/xml/features
>
> When creating the distribution and execute features:listurl the result is
> the following:
>
> mvn:org.apache.karaf.assemblies.features/standard/2.2.4/xml/features
> mvn:org.apache.cxf.karaf/apache-cxf/2.5.1/xml/features
> mvn:org.apache.karaf.assemblies.features/enterprise/2.2.5/xml/features
> mvn:org.apache.camel.karaf/apache-camel/2.9.0/xml/features
> mvn:org.apache.cxf.karaf/apache-cxf/2.4.4/xml/features
> mvn:org.apache.servicemix/apache-servicemix/4.4.0/xml/features
> mvn:org.apache.karaf.assemblies.features/enterprise/2.2.4/xml/features
> mvn:org.apache.camel.karaf/apache-camel/2.8.3/xml/features
> mvn:org.jclouds.karaf/jclouds-karaf/1.2.2/xml/features
> mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/1.5.0/xml/features
>
> It seems that the defined repositories at the configuration file are
> overriden by the features that are installed (checked some of them, for
> example apache-servicemix includes its own repositories)
>
> My problem is that i do not want this behaviour because it also changes the
> versions of the featuresBoot that i also have defined, at least the for
> karaf core bundles (ssh, config, management).
>
> Is there any flag or configuration to overcome this behaviour?
>
> Thanks for your time,
> Christoforos
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/featuresRepositories-is-overriden-by-defined-feature-repositories-tp3688482p3688482.html
> Sent from the Karaf - User mailing list archive at Nabble.com.

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Mime
View raw message