maven-feature-plugin を使用しています
<plugin>
<groupId>org.apache.karaf.tooling</groupId>
<artifactId>features-maven-plugin</artifactId>
<version>2.3.6</version>
<executions>
<execution>
<id>generate</id>
<phase>generate-resources</phase>
<goals>
<goal>generate-features-xml</goal>
</goals>
<configuration>
<bundles>src/main/resources/bundle.properties</bundles>
<kernelVersion>2.3.6</kernelVersion>
<outputFile>target/features.xml</outputFile>
</configuration>
</execution>
</executions>
</plugin>
これはかなりうまく機能しますが、生成された機能の 1 つが機能に依存してpax-cdi
います。これをプラグインに追加してもらう方法はありますか? たとえば、bundle.properties
自動的に解決できない依存関係がファイルに定義されている場合、このファイルにも機能を追加できますか?