ユーザーのメーリング リストで言及されているように、これは既知の問題ですが、代わりにconfigfileを使用して回避できます。複数の構成ファイルを定義することで、管理サービス ファクトリを機能定義と共に使用することもできます。
<feature name="persistence" version="1.0.0-SNAPSHOT" description="MongoDB Persistence">
<configfile finalname="/etc/org.amdatu.mongo-kairos.cfg">
mvn:groupId/persistency-config/version/cfg
</configfile>
<configfile finalname="/etc/org.amdatu.mongo-suez.cfg">
mvn:groupId/artifactId/versionId/jar
</configfile>
//.. a list of bundles
</feature>
さらに、maven と一緒に構成ファイルを使用すると、アプリケーションと共に構成をバージョン管理できます。
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<executions>
<execution>
<id>persistency-config</id>
<phase>install</phase>
<goals>
<goal>install-file</goal>
</goals>
<configuration>
<groupId>${project.groupId}</groupId>
<artifactId>persistency-config</artifactId>
<version>${project.version}</version>
<packaging>cfg</packaging>
<file>config/org.amdatu.mongo-kairos.cfg</file>
</configuration>
</execution>
</executions>
</plugin>