karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Updated] (KARAF-1350) features-maven-plugin cannot resolve a feature without an explicit descriptor
Date Tue, 25 Feb 2014 07:49:20 GMT

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

Jean-Baptiste Onofré updated KARAF-1350:
----------------------------------------

    Fix Version/s: 3.1.0
                   3.0.1

> features-maven-plugin cannot resolve a feature without an explicit descriptor
> -----------------------------------------------------------------------------
>
>                 Key: KARAF-1350
>                 URL: https://issues.apache.org/jira/browse/KARAF-1350
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>    Affects Versions: 3.0.0
>            Reporter: Scott Parkerson
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 3.0.1, 3.1.0
>
>
> I have a project whose features file is pulling in Apache CXF like this:
> {noformat}
> <feature name="cxf-spring-security" version="@cxf.spring.security.version@">
>     <feature>cxf</feature>
>     <feature>spring-security</feature>
>        <bundle>mvn:com.google.code.cxf-spring-security/cxf-spring-security/@cxf.spring.security.version@</bundle>
>     </feature>
> </feature>
> {noformat}
> However, the descriptors in the configuration of the {{add-features-to-repo}} goal looks
like this:
> {noformat}
> <descriptors>
>     <descriptor>mvn:org.apache.karaf.assemblies.features/standard/${karaf.version}/xml/features</descriptor>
>     <descriptor>mvn:org.apache.camel.karaf/apache-camel/${camel.version}/xml/features</descriptor>
>     <descriptor>mvn:org.apache.activemq/activemq-karaf/${activemq.version}/xml/features</descriptor>
>     <descriptor>mvn:com.ateb/com.ateb.myx.features.base/${project.version}/xml/features</descriptor>
>     <descriptor>mvn:com.ateb/com.ateb.myx.features.spring/${project.version}/xml/features</descriptor>
> </descriptors>
> {noformat}
> The CXF repository descriptor is not specified, but the CXF feature is found with features-maven-plugin
<= 2.2.6; in 3.0.0-SNAPSHOT, this "transitive" resolution appears to be broken.



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

Mime
View raw message