You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Achim Finke (JIRA)" <ji...@apache.org> on 2014/01/20 13:05:21 UTC

[jira] [Created] (KARAF-2696) Add config files to meta data

Achim Finke created KARAF-2696:
----------------------------------

             Summary: Add config files to meta data
                 Key: KARAF-2696
                 URL: https://issues.apache.org/jira/browse/KARAF-2696
             Project: Karaf
          Issue Type: Improvement
          Components: karaf-tooling
    Affects Versions: 3.0.1
            Reporter: Achim Finke


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:

{code:xml}
<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>
{code}

Check https://github.com/achim86/karaf/tree/master/tooling/karaf-maven-plugin for a possible solution.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)