Maven Pax Runner无法解析配置文件

时间:2014-12-15 18:06:19

标签: java maven war pax-runner

如果我在Maven插件中定义了如下配置文件:

<plugin>
      <groupId>org.ops4j</groupId>
      <artifactId>maven-pax-plugin</artifactId>
      <configuration>
             <provision>
                  <param>--log=debug</param>
                  <param>--platform=felix</param>
                  <param>--profiles=compendium,web,war</param>
             </provision>
     </configuration>
</plugin>

然后我收到以下错误:

Caused by: org.ops4j.pax.scanner.UnsupportedSchemaException: Provisioning scheme is not specified
at org.ops4j.pax.scanner.ProvisionSpec.<init>(ProvisionSpec.java:87)
at org.ops4j.pax.scanner.composite.internal.CompositeScanner.scan(CompositeScanner.java:156)
... 41 more

该插件不了解网络战争档案。为什么?

0 个答案:

没有答案