* Maven - Added workaround for bug in compiler plugin 3.2 that alwas all sources were compiled.

This commit is contained in:
LevelX2 2015-02-22 11:17:25 +01:00
parent 4adc55eb80
commit 9fbd5a04bd
4 changed files with 9 additions and 10 deletions

View file

@ -146,10 +146,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>

View file

@ -41,10 +41,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>

View file

@ -73,9 +73,9 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<!-- <configuration>
<compilerArgument>-Xlint:unchecked</compilerArgument>
</configuration>
</configuration> -->
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>

View file

@ -20,6 +20,13 @@
<source>1.7</source>
<target>1.7</target>
<encoding>UTF-8</encoding>
<!--
Because of known error in maven-compiler-plugin 3.2 useIncrementalCompilation is inverted
so remove this arg with update that fixes the problem
https://jira.codehaus.org/browse/MCOMPILER-209
-->
<useIncrementalCompilation>false</useIncrementalCompilation>
<!-- <compilerArgument>-Xlint:all</compilerArgument> -->
</configuration>
</plugin>
<plugin>