我有一个Maven项目,即使我在POM中指定了一个完全无效的插件,也可以正常运行:
<build>
<plugins>
<plugin>
<groupId>bla</groupId>
<artifactId>bar</artifactId>
<version>1.9.553342342343</version>
<executions>
<execution>
<phase>compile</phase>
</execution>
</executions>
<configuration>
<project>
<inceptionYear>123123</inceptionYear>
<contributors>
asdad
</contributors>
</project>
</configuration>
</plugin>
</plugins>
</build>
Run Code Online (Sandbox Code Playgroud)
我也没有在Eclipse中看到任何错误,即使删除了~.m2\repository文件夹,它仍然可以正常运行。Maven验证插件的方式是否有所改变?还是当我宣布目标被炸毁时首先出现?
maven ×1