Comments (6)
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+.
from m2e-core.
This bug has been open for 3 years now.
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?
from m2e-core.
For me it is working when <arg>--add-exports=java.desktop/com.sun.java.swing.plaf.motif=ALL-UNNAMED</arg>
is correctly specified as <arg>--add-exports</arg>
and <arg>java.desktop/com.sun.java.swing.plaf.motif=ALL-UNNAMED</arg>
.
See also here.
from m2e-core.
I can confirm that "--add-exports" is working for me, too.
"--add-modules", however, seems to be not working, yet.
from m2e-core.
I am on Version: 2022-06 (4.24.0), m2e 1.20.1.20220227-1319
and still, the bug is there, every time I update the project from maven, all the maven-compiler-plugin compilerArgs exports (I am on JDK11) are lost.
The only way I can mitigate this is to duplicate the args to the Run/Debug configuration VM args, that sucks.
from m2e-core.
It seems this issue is not relevant to any current m2e contributor and no one else cared enough to propose a patch.
So if this is crucial to someones business and likes to speed up the development in that area a sponsoring would allow me to assign more time-slots particular issue.
Beside that, please note that m2e 2.x is the current version, so bugifxes of any kind for m2e 1.x are very unlikely.
from m2e-core.
Related Issues (20)
- How to compile only a subset of java files within a huge project?
- An internal error occurred during: "Building". (java.lang.StackOverflowError)
- Issue with using exec.args with exec:java HOT 1
- Maven error when trying to clean
- ClassCastException because of property page shown when it should not be shown
- Never return path to `pom.xml` for artifact files except for type = "pom"
- Missing tag 2.4.1 in this repo HOT 2
- NPE in AbstractJavaProjectConfigurator HOT 4
- Artifacts with snapshot version are still downloaded from Maver repository even when they are imported into the Eclipse workspace
- java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.m2e.jdt.internal.AbstractJavaProjectConfigurator HOT 1
- Endless build loop (again) HOT 5
- Deadlock during startup
- org.eclipse.core.runtime.CoreException: Plug-in "org.eclipse.m2e.jdt" was unable to instantiate class "org.eclipse.m2e.jdt.internal.JavaProjectConfigurator". HOT 2
- Please don't transitively reference a p2 repository with abitrary JustJ JRE versions HOT 21
- PDE integration: resolving of maven dependency doesn't use configured proxy (+ can't force update refresh) HOT 4
- Support for version 22 HOT 8
- Failed to import Maven project if its 'build.project.directory' property points to an external folder
- Multi-Release JAR is not recognized as such HOT 3
- M2E's Mac build fails when executing m2e.rcptt.tests HOT 5
- Support for locking plugin versions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from m2e-core.