Author: bimargulies Date: Wed Jan 28 22:09:40 2015 New Revision: 1655484 URL: http://svn.apache.org/r1655484 Log: MCOMPILER-120: fix up the IT to actually test the functionality in question. Add commented out line that causes this to misbehave.
Modified: maven/plugins/trunk/maven-compiler-plugin/src/it/mcompiler-120/pom.xml maven/plugins/trunk/maven-compiler-plugin/src/it/mcompiler-120/verify.groovy Modified: maven/plugins/trunk/maven-compiler-plugin/src/it/mcompiler-120/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/it/mcompiler-120/pom.xml?rev=1655484&r1=1655483&r2=1655484&view=diff ============================================================================== --- maven/plugins/trunk/maven-compiler-plugin/src/it/mcompiler-120/pom.xml (original) +++ maven/plugins/trunk/maven-compiler-plugin/src/it/mcompiler-120/pom.xml Wed Jan 28 22:09:40 2015 @@ -49,10 +49,18 @@ under the License. <configuration> <source>1.6</source> <target>1.6</target> - <compilerArgument>-Xlint:all, -path</compilerArgument> - <compilerArguments> - <Werror /> - </compilerArguments> + <verbose>true</verbose> + <debug>true</debug> + <optimize>true</optimize> + <!-- commented out until fixed + <showDeprecation>true</showDeprecation> + <showWarnings>true</showWarnings> + --> + <compilerArgs> + <arg>-Werror</arg> + <arg>-Xlint:all</arg> + <arg>-Xlint:-path</arg> + </compilerArgs> <fork>true</fork> </configuration> </plugin> Modified: maven/plugins/trunk/maven-compiler-plugin/src/it/mcompiler-120/verify.groovy URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/it/mcompiler-120/verify.groovy?rev=1655484&r1=1655483&r2=1655484&view=diff ============================================================================== --- maven/plugins/trunk/maven-compiler-plugin/src/it/mcompiler-120/verify.groovy (original) +++ maven/plugins/trunk/maven-compiler-plugin/src/it/mcompiler-120/verify.groovy Wed Jan 28 22:09:40 2015 @@ -22,3 +22,6 @@ assert logFile.exists() content = logFile.text assert content.contains( 'Compilation failure' ) +assert !content.contains( 'invalid flag' ) +assert content.contains( 'unchecked call to add(E) as a member of the raw type List' ) +