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

Michael Osipov commented on MCOMPILER-535:
------------------------------------------

I wonder why this is placed there at all...

> jmps.args should be removed from the target/classes/META-INF directory
> ----------------------------------------------------------------------
>
>                 Key: MCOMPILER-535
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-535
>             Project: Maven Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.11.0
>            Reporter: zosrothko
>            Priority: Major
>
> Hello
> When compiling for Java 11 and using --add-exports flag as show below
> {code:java}
> <plugin>
>       <artifactId>maven-compiler-plugin</artifactId>
>               <configuration>
>                       <compilerArgs>
>                               <arg>--add-exports</arg>
>                               
> <arg>java.desktop/java.awt.dnd.peer=ALL-UNNAMED</arg>
>                       </compilerArgs>
>               </configuration>
> </plugin>
> {code}
> the maven-compiler-plugin is generating a file named jmps.args in the 
> target/classes/META-INF directory. This file should removed after the 
> compilation otherwise one gets multiple identical file name when used in a 
> multimodule projects.
> The jmps.args file contains
> {code:java}
> --add-exports
> java.desktop/java.awt.dnd.peer=ALL-UNNAMED
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to