Details
Description
Currently building a features.xml file with karaf-maven-plugin via goal features-export-meta-data results in a list containing features and appropriate bundles (or/and referenced features). Configuration files belonging to the features are not listed,
It would be useful to list configuration files like bundles.
Example:
<feature name="http" version="2.3.3"> <feature>jetty</feature> <bundle start-level="30" name="pax-web-api-1.1.14.jar" Bundle-SymbolicName="org.ops4j.pax.web.pax-web-api" Bundle-Version="1.1.14" groupId="org.ops4j.pax.web" artifactId="pax-web-api" type="jar" version="1.1.14">mvn:org.ops4j.pax.web/pax-web-api/1.1.14</bundle> <bundle start-level="30" name="pax-web-spi-1.1.14.jar" Bundle-SymbolicName="org.ops4j.pax.web.pax-web-spi" Bundle-Version="1.1.14" groupId="org.ops4j.pax.web" artifactId="pax-web-spi" type="jar" version="1.1.14">mvn:org.ops4j.pax.web/pax-web-spi/1.1.14</bundle> <bundle start-level="30" name="pax-web-runtime-1.1.14.jar" Bundle-SymbolicName="org.ops4j.pax.web.pax-web-runtime" Bundle-Version="1.1.14" groupId="org.ops4j.pax.web" artifactId="pax-web-runtime" type="jar" version="1.1.14">mvn:org.ops4j.pax.web/pax-web-runtime/1.1.14</bundle> <bundle start-level="30" name="pax-web-jetty-1.1.14.jar" Bundle-SymbolicName="org.ops4j.pax.web.pax-web-jetty" Bundle-Version="1.1.14" groupId="org.ops4j.pax.web" artifactId="pax-web-jetty" type="jar" version="1.1.14">mvn:org.ops4j.pax.web/pax-web-jetty/1.1.14</bundle> <config name="apache-karaf-2.3.3-jettyconfig.xml" groupId="org.apache.karaf" artifactId="apache-karaf" type="xml" classifier="jettyconfig" version="2.3.3">mvn:org.apache.karaf/apache-karaf/2.3.3/xml/jettyconfig</config> </feature>
Check https://github.com/achim86/karaf/tree/master/tooling/karaf-maven-plugin for a possible solution.