maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Cook (JIRA)" <>
Subject [jira] [Created] (MCOMPILER-280) maven-compiler-plugin breaks mvn test when using quickcheck dependency
Date Fri, 30 Sep 2016 00:25:20 GMT
Adam Cook created MCOMPILER-280:

             Summary: maven-compiler-plugin breaks mvn test when using quickcheck dependency
                 Key: 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 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.


Sample Project:
Maven verbose output:

This message was sent by Atlassian JIRA

View raw message