Coder Social home page Coder Social logo

Comments (6)

leerho avatar leerho commented on August 16, 2024

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.

laeubi avatar laeubi commented on August 16, 2024

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.

howlger avatar howlger commented on August 16, 2024

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.

klaus52 avatar klaus52 commented on August 16, 2024

I can confirm that "--add-exports" is working for me, too.
"--add-modules", however, seems to be not working, yet.

from m2e-core.

b-fio avatar b-fio commented on August 16, 2024

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.

laeubi avatar laeubi commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.