| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <groupId>org.apache.maven.plugins.compiler.it</groupId> |
| <artifactId>mcompiler-120</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| <name>Werror warnings build</name> |
| |
| <dependencies> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.4</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| <version>1.2.14</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>@project.version@</version> |
| <configuration> |
| <source>1.6</source> |
| <target>1.6</target> |
| <compilerArgument>-Xlint:all, -path</compilerArgument> |
| <compilerArguments> |
| <Werror /> |
| </compilerArguments> |
| <fork>true</fork> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |
| |