1

如果我在 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

该插件不理解网络战争配置文件。为什么??

4

0 回答 0