我想:我如何得到一个java maven构建失败的编译器警告?
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<compilerArgument>-Werror</compilerArgument>
<fork>true</fork>
</configuration>
</plugin>
,但没有喜悦。现在有什么想法能够在this blog post上建议的这样的错误中得到中世纪?
有一个错误,如下所述,不再是一个问题。这个与compilerArgument指定的表单很好。 – 2015-03-26 18:48:27