karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KARAF-2696) Add config files to meta data
Date Mon, 20 Jan 2014 13:19:20 GMT

     [ https://issues.apache.org/jira/browse/KARAF-2696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Christian Schneider resolved KARAF-2696.
----------------------------------------

    Resolution: Fixed

Applied commit and small refactoring with thanks to Achim Finke.

https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commitdiff;h=fe0d4c043a9b8f10cd0f6d543ddbf886e45d2d48
https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commitdiff;h=a58bf155d3b1747bcdc513d88114281e8de940f0

> 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.0
>            Reporter: Achim Finke
>            Assignee: Christian Schneider
>             Fix For: 3.0.1
>
>
> 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)

Mime
View raw message