Hi folks, I'm trying to use the karaf-maven-plugin to generate a kar file.
Here is my configuration: I have 2 projects, one depends on the other. Each project has its own feature file. In my second project, I defined the following configuration : <plugin> <groupId>org.apache.karaf.tooling</groupId> <artifactId>karaf-maven-plugin</artifactId> <version>${karaf-plugin.version}</version> <extensions>true</extensions> <executions> <execution> <id>features-generate-descriptor</id> <phase>package</phase> <goals> <goal>features-generate-descriptor</goal> </goals> <configuration> <aggregateFeatures>true</aggregateFeatures> </configuration> </execution> <execution> <id>kar</id> <phase>install</phase> <goals> <goal>kar</goal> </goals> <configuration> <finalName>Lampiris-${project.parent.artifactId}-${project.version}</finalName> <ignoreDependencyFlag>true</ignoreDependencyFlag> <!--<featuresFile>${project.build.directory}/classes/features.xml</featuresFile>--> <featuresFile>${project.build.directory}/feature/feature.xml</featuresFile> </configuration> </execution> </executions> </plugin> As I've imported the 2 features files in my dependencies, it works fine. Except that in the second feature, I've defined <repository> (for example to choose the right camel version) and those tags aren't aggregated in the final feature.xml generated. I didn't find any useful information to achieve that in the documentation. So that's my question : is there a way to also aggregate repository tags ? Regards, Arnaud