You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Alberto Minetti (Jira)" <ji...@apache.org> on 2020/05/04 14:06:00 UTC

[jira] [Created] (MCOMPILER-414) parameters flag does not apply to testCompile goal

Alberto Minetti created MCOMPILER-414:
-----------------------------------------

             Summary: parameters flag does not apply to testCompile goal
                 Key: MCOMPILER-414
                 URL: https://issues.apache.org/jira/browse/MCOMPILER-414
             Project: Maven Compiler Plugin
          Issue Type: Bug
    Affects Versions: 3.8.1
            Reporter: Alberto Minetti


Seems that the <parameters>true</parameters> flag just applies properly to the compile goal, but not to the testCompile goal.

 

*Workaround*: using the compilerArgs works for both goals compile and testCompile

{{<compilerArgs>}}
{{  <arg>-parameters</arg>}}
{{</compilerArgs>}}

 

Here on github you can find a working software with the current issue; the tests in master branch fail because of the usage of the <parameter> flag, instead in the branch using-compilerArgs the build is succesful.

[https://github.com/albertominetti/jackson-parameters/pull/1/commits/ad0fa7605fe378a4b900b7c911f4e7019533092f]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)