I'm using karaf-maven-plugin/3.0.1 to build my feature projects. pom.xml dependency section: <dependencies> <dependency> <groupId>${project.groupId}</groupId> <artifactId>person.api.feature</artifactId> <version>${project.version}</version> <classifier>features</classifier> <type>xml</type> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>person.impl.simple</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>person.command</artifactId> <version>${project.version}</version> </dependency> </dependencies>
my feature.xml file: <?xml version="1.0" encoding="UTF-8"?> <features name="${project.artifactId}-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.0.0"> <feature name="${project.artifactId}" description="${project.name}" version="${project.version}"> </feature> </features> According to this text: aggregateFeatures boolean (false) Specifies processing of feature repositories that are (transitive) Maven dependencies. If false, all features in these repositories become dependencies of the generated feature. If true, all features in these repositories are copied into the generated feature repository. when I build my feature project with aggregateFeatures set to false I should get attached artifact file looks like this: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <features ...> <feature name="person.impl.simple.feature" version="0.0.0"> <feature>person.api.feature</feature> <bundle>mvn:group/person.impl.simple/0.0.0</bundle> <bundle>mvn:group/person.command/0.0.0</bundle> </feature> </features> But I get file looks like this: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <features ...> <feature name="person.impl.simple.feature" version="0.0.0"> <bundle>mvn:group/person.impl.simple/0.0.0</bundle> <bundle>mvn:group/person.command/0.0.0</bundle> </feature> </features> No depended feature line included. When I try to resolve dependencies with maven resolver I see bundles from person.api.feature included in dependency list. But karaf-maven.plugin miss them. -- View this message in context: http://karaf.922171.n3.nabble.com/karaf-features-generate-descriptor-goal-generated-feature-dependency-problem-tp4033282.html Sent from the Karaf - User mailing list archive at Nabble.com.