Chr*_*wes 5 eclipse m2eclipse eclipse-wtp maven-3 maven
如何摆脱以下m2eclipse警告?
maven-war-plugin goals "inplace", "exploded", "manifest" are ignored by m2e
Run Code Online (Sandbox Code Playgroud)
据我所知,此警告是从m2e-wtp发出的,它提供了一组与 Eclipse Web Tools Project (WTP) 配合使用的 m2e 连接器。
m2e-wtp 包含一个lifecycle-mapping-metadata.xml文件,其中包含:
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<versionRange>[1.0,)</versionRange>
<goals>
<goal>inplace</goal>
<goal>exploded</goal>
<goal>manifest</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore>
<message>maven-war-plugin goals "inplace", "exploded", "manifest" are ignored by m2e</message>
</ignore>
</action>
</pluginExecution>
</pluginExecutions>
Run Code Online (Sandbox Code Playgroud)
因此,我认为除了(1)停止使用 m2e-wtp 或(2)降级到 m2e-wtp 0.14 版本之外,没有办法抑制此警告,因为此警告是在 0.15 中添加的。
| 归档时间: |
|
| 查看次数: |
5050 次 |
| 最近记录: |