karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Minto van der Sluis (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-2519) karaf-maven-plugin ignores dependent feature repositories when building an assembly
Date Mon, 14 Oct 2013 16:10:43 GMT
Minto van der Sluis created KARAF-2519:
------------------------------------------

             Summary: karaf-maven-plugin ignores dependent feature repositories when building
an assembly
                 Key: KARAF-2519
                 URL: https://issues.apache.org/jira/browse/KARAF-2519
             Project: Karaf
          Issue Type: Bug
          Components: karaf-tooling
    Affects Versions: 3.0.0.RC1
            Reporter: Minto van der Sluis


Feature repositories in features.xml files are not processed recursively:

<features name="wicketkaraf" version="1.0.0-SNAPSHOT"> 
<repository>mvn:org.ops4j.pax.wicket/paxwicket/3.0.1/xml/features</repository>

<repository>mvn:org.ops4j.pax.wicket/features/3.0.1/xml/features</repository>

  ... 

As a result dependent features might be missing since there is no other way to find their
corresponsing bundles. The only work around it to add all dependent feature repositories as
features (classifier) dependencies to your pom and add the needed features as bootFeatures
to the karaf-maven-plugin configuration.

See mailing list discussion as well: http://karaf.922171.n3.nabble.com/How-to-include-all-dependencies-in-karaf-assembly-tt4029728.html



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message