Description
I have a project whose features file is pulling in Apache CXF like this:
<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>
However, the descriptors in the configuration of the add-features-to-repo goal looks like this:
<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>
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.