【发布时间】:2013-02-22 01:32:07
【问题描述】:
要列出您希望包含在生成的 features.xml 中的一堆包,文档说:
bundles File A properties file that contains a list of bundles that will be used to generate the features.xml file
但它忽略了说明这个文件应该是什么格式。文档给出了例子:
<execution>
<id>generate</id>
<phase>generate-resources</phase>
<goals>
<goal>generate-features-xml</goal>
</goals>
<configuration>
<bundles>src/main/resources/bundles.properties</bundles>
<outputFile>target/features.xml</outputFile>
</configuration>
</execution>
有人知道这个文件应该是什么样子吗?
【问题讨论】:
-
你试过
groupId:artifactId:type[:classifier]:version吗?文档中说如下示例生成一个安装包mvn:org.apache:bundle1:1.0的功能。我认为格式应该是一样的。 -
@marathon - 运气好能找到答案吗?
标签: maven osgi apache-karaf