Skip to content

Instantly share code, notes, and snippets.

@luisartola
Created September 8, 2014 07:15
Show Gist options
  • Save luisartola/a99e1262436ab7c165a8 to your computer and use it in GitHub Desktop.
Save luisartola/a99e1262436ab7c165a8 to your computer and use it in GitHub Desktop.
Maven no pasa si hay warnings en compilación
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
<encoding>${project.build.sourceEncoding}</encoding>
<!--
<compilerArgument>-Werror</compilerArgument>
-->
<compilerArguments>
<Werror/>
<Xlint:all />
</compilerArguments>
</configuration>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment