[ 
https://issues.apache.org/jira/browse/MCOMPILER-297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Heinz Marbaise closed MCOMPILER-297.
-----------------------------------------
    Resolution: Cannot Reproduce

> -J prefixed compilerArg not added to command line
> -------------------------------------------------
>
>                 Key: MCOMPILER-297
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-297
>             Project: Maven Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.6.1
>         Environment: java full version "9-ea+169"
> Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 
> 2017-04-03T21:39:06+02:00)
> Maven home: C:\Dev\apache-maven-latest\bin\..
> Java version: 9-ea, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk-9
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
>            Reporter: Anthony Vanelverdinghe
>            Priority: Major
>         Attachments: reproducer.zip
>
>
> For a pom.xml with the following section in the compiler's configuration:
> {code:xml}
> <compilerArgs>
>     <arg>--add-modules=java.xml.ws.annotation</arg>
>     <arg>-J--add-modules=java.xml.ws.annotation</arg>
> </compilerArgs>
> {code}
> Maven only adds the first argument to the actual command line. To reproduce, 
> simply unzip and run `mvn -X compile`



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

Reply via email to