[ 
https://issues.apache.org/jira/browse/MCOMPILER-414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17111119#comment-17111119
 ] 

Falko Modler commented on MCOMPILER-414:
----------------------------------------

To quote myself:
{quote}
Could it be that the root cause is MCOMPILER-413?
{quote}

Indeed it is!

The {{compilerArgs}} workaround did not work for me, btw (but the one from 
MCOMPILER-413 does).

> 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
>            Priority: Minor
>
> 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)

Reply via email to