-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug 543631 - Eclipse - Maven - JPMS (m2e ignores compilerArgs in pom.xml) #129
Comments
This bug has been open for 3 years now. I thought this was going to be fixed in 4.22, (2021-12) but the problem is still there. In fact, it not only impacts compiler JPMS args specified with the compiler plugin, it also impacts JPMS args specified in the surefire plugin. This bug severely impacts smooth migration from Java 8 to Java 9+. |
I think lots of project where migrated in the past years so it seem not to impact at least that people that contribute to m2e. Can you try to provide a PR that mitigates the problem? |
For me it is working when See also here. |
I can confirm that "--add-exports" is working for me, too. |
I am on Version: 2022-06 (4.24.0), m2e 1.20.1.20220227-1319 |
It seems this issue is not relevant to any current m2e contributor and no one else cared enough to propose a patch. Beside that, please note that m2e 2.x is the current version, so bugifxes of any kind for m2e 1.x are very unlikely. |
Originally reported by Imanuel Rohlfing at bug.eclipse.org. There's also a Stack Overflow discussion on the subject.
In the project I work on, we've managed to find a temporary fix by adding the modules we need at the project's configuration (or by adding them in our .classpath file). It stays functional as long as we don't forget to turn off the option 'Update project configuration from pom.xml' when running 'Maven > Update project...'.
The text was updated successfully, but these errors were encountered: