Replies: 2 comments 1 reply
-
Not really, you can run the m2e maven build with a different java but not the plugin itself, as m2e is running "inside" eclipse
You should upgrade your build to run with java 11, the project can still be java 8. |
Beta Was this translation helpful? Give feedback.
-
By the way it should be possible to add missing stuff to the |
Beta Was this translation helpful? Give feedback.
-
I have an old project which uses jaxb2-maven-plugin. The verson we use only works with Java 8 (missing XML classes in 11 and up).
Since Eclipse 2022-06 (4.24) uses Java 17, I'm getting errors in the project since the plugin fails.
Is there a trick to get m2e to run the plugins with a different Java version than the IDE? Or do I have to upgrade jaxb2-maven-plugin? (I can't upgrade the whole project to 11, so I'd need to find a newer version of jaxb2 which runs with both versions).
Beta Was this translation helpful? Give feedback.
All reactions