目标 ear:ear
如果构建了一只耳朵,它会自动附加到包阶段。我想消除它。不幸的是,它没有 skip
参数。
如何从阶段中“解除附加”目标?
最佳答案
找到执行id(default-ear)后,我成功地做了以下事情:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ear-plugin</artifactId>
<executions>
<execution>
<id>default-ear</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
关于java - 停用 maven-ear-plugin,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48620323/