apache / apache/maven-compiler-plugin
[MCOMPILER-535] jmps.args should be removed from the target/classes/META-INF directory
- Dominant language
- Java
- Stars
- 261
- Forks
- 191
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 8
Description
**[zosrothko](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=zosrothko)** opened **[MCOMPILER-535](https://issues.apache.org/jira/browse/MCOMPILER-535?redirect=false)** and commented
Hello
When compiling for Java 11 and using --add-exports flag as show below
```java
maven-compiler-plugin
--add-exports
java.desktop/java.awt.dnd.peer=ALL-UNNAMED
```
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
```java
--add-exports
java.desktop/java.awt.dnd.peer=ALL-UNNAMED
```
---
**Affects:** 3.11.0
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.