Thank you very much JB.
In the cellar feature descriptor I found this:
<configfile finalname="/etc/org.apache.karaf.cellar.groups.cfg">
mvn:org.apache.karaf.cellar/apache-karaf-cellar/${project.version}/cfg/groups
</configfile>
and in the pom.xml:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>attach-artifact</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>target/classes/features.xml</file>
<type>xml</type>
<classifier>features</classifier>
</artifact>
<artifact>
<file>target/classes/groups.cfg</file>
<type>cfg</type>
<classifier>groups</classifier>
</artifact>
....
Now, I tried to do the same on my project, but since I'm using
add-features-to-repo in the generate-resources phase, It can't resolve the
mvn config url because the maven-helper plugind didn't run yet.
I think I'm missing something :\ Thank you very much for your time
Marco
--
View this message in context:
http://karaf.922171.n3.nabble.com/Config-in-features-xml-to-config-file-tp4030504p4030515.html
Sent from the Karaf - User mailing list archive at Nabble.com.