Hello,

I'm trying to make a custom distribution of karaf, which should include
other features, as camel, cxf and other. 
My question is how do i specify the custom repositories from where the
features should be installed? I tried to specify the maven repository, but i
get an exception:

 Could not find artifact
org.apache.camel.karaf:apache-camel:xml:features:2.16.0.SNAPSHOT

If i don't specify any repository, i get message when karaf starts that
camel cannot be installed as feature not found.

<plugin>
                <groupId>org.apache.karaf.tooling</groupId>
                <artifactId>karaf-maven-plugin</artifactId>
                <version>4.0.0</version>
                <extensions>true</extensions>
                <configuration>                    
                    
                    <bootRepositories>
                       
<repository>mvn:org.apache.camel.karaf/apache-camel/2.16.0.SNAPSHOT/xml/features</repository>
                    </bootRepositories>
                    <bootFeatures>
                        <feature>jaas</feature>
                        <feature>shell</feature>
                        <feature>ssh</feature>
                        <feature>management</feature>
                        <feature>bundle</feature>
                        <feature>feature</feature>
                        <feature>config</feature>
                        <feature>deployer</feature>
                        <feature>diagnostic</feature>
                        <feature>instance</feature>
                        <feature>kar</feature>
                        <feature>log</feature>
                        <feature>package</feature>
                        <feature>service</feature>
                        <feature>system</feature>                               
                 
                        <feature>camel</feature>
                    </bootFeatures>
                    <installedFeatures>
                        <feature>wrapper</feature>
                        
                    </installedFeatures>
                </configuration>
            </plugin>

regards, 
Laji




--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-4-0-0-creatng-custom-distribution-bootRepositories-installedRepositories-tp4042144.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to