Adam Cook created MCOMPILER-280: ----------------------------------- Summary: maven-compiler-plugin breaks mvn test when using quickcheck dependency Key: MCOMPILER-280 URL: https://issues.apache.org/jira/browse/MCOMPILER-280 Project: Maven Compiler Plugin Issue Type: Bug Affects Versions: 3.5.1 Environment: Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T08:41:47-08:00) Maven home: /usr/local/Cellar/maven/3.3.9/libexec Java version: 1.8.0_102, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.11.3", arch: "x86_64", family: "mac" Reporter: Adam Cook
The maven-compiler-plugin seems to break when using net.java.quickcheck as a dependency. I've attached a small sample project that should illustrate the problem. If you run {noformat}mvn test{noformat} you'll see that the test compilation fails. If you comment out either the maven-compiler-plugin or the quickcheck depedency (which isn't actually used by any of the code in this sample project) then mvn test will succeed. If you change the scope of the quickcheck dependency to compile instead of test, it will also cause {noformat}mvn compile{noformat} to fail. If you remove {noformat}<arg>-Werror</arg>{noformat} from the plugin, mvn test will again succeed. Its possible this is a bug with the quickcheck dependency, but I don't know how a dependency could cause a failure like this. Thanks! Sample Project: https://www.dropbox.com/s/bdyhhe6e6b237vf/maven_plugin_test_project.zip?dl=0 Maven verbose output: https://www.dropbox.com/s/9gsqi1fdt64ph53/mvn_log.txt?dl=0 -- This message was sent by Atlassian JIRA (v6.3.4#6332)