Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.1
    • Component/s: karaf
    • Labels:
      None

      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.

        Attachments

          Activity

            People

            • Assignee:
              chris@die-schneider.net Christian Schneider
              Reporter:
              afinke Achim Finke
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: