我在 maven-compiler-plugin 3.2 中使用了它,它运行良好,但是当我升级到 3.3 时,排除不再起作用。是什么改变打破了我的排除?
情况:
这是我的包裹清单。我想排除所有以 bammerbom.ultimatecore.spongeapi 开头的包,因为它们是 WIP。这适用于 maven-compiler-plugin 3.2,但在更新后失败并出现下面的堆栈跟踪。(所有错误都在那里,但这不是问题,因为我还不想编译这个包。)
插件的 Pom.xml:
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2 (Wanted to update to 3.3)</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<excludes>
<exclude>bammerbom/ultimatecore/spongeapi/</exclude>
</excludes>
</configuration>
</plugin>
堆栈跟踪: