karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject RE: karaf-assembly and installed feature
Date Fri, 06 Feb 2015 11:50:17 GMT
Hi Damien

Did you add your features xml in the pom dependency ?


Sent from my Samsung Galaxy smartphone.

-------- Original message --------
From: Damien <iriberry.damien@gmail.com> 
Date:06/02/2015  12:00  (GMT+01:00) 
To: dev@karaf.apache.org 
Subject: karaf-assembly and installed feature 


I'm a new apache karaf fan, and i'm trying some cool stuff like building a
custom distribution.

So i create a very basic and empty feature (following the dev guide)

mvn archetype:generate \
    -DarchetypeGroupId=org.apache.karaf.archetypes \
    -DarchetypeArtifactId=karaf-feature-archetype \
    -DarchetypeVersion=3.0.3-SNAPSHOT \
    -DgroupId=my.company \
    -DartifactId=my.company.feature \
    -Dversion=1.0-SNAPSHOT \

Then i want this feature to be installed in a custom distribution of karaf
so in my pom.xml:



And in the build :



The build is successfull but when i execute command feature:list -i. I can
see that jndi,jpa,openjpa etc ... are installed, but not the

In org.apache.karaf.features.cfg : /featuresBoot /=

But my feature repository is not listed in /featuresRepositories/

I expected my feature to be displayed  when i do the feature:list -i
command, am i right ? Do i misunderstand somthing ?

(my ${karaf.version} variable equals 3.0.3)

View this message in context: http://karaf.922171.n3.nabble.com/karaf-assembly-and-installed-feature-tp4038346.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message