Replacement for P2ApplicationLauncher in latest version #3112
Replies: 4 comments 2 replies
-
@chamilaadhi can you report the Beside that everything except the mojo facade in Tycho is considered internal API and can change any time, so the Beside that I wonder why an additional plugin is required can you explain the use-case maybe it could be archived with plain Tycho or Tycho can be enhanced to support that use-case directly? |
Beta Was this translation helpful? Give feedback.
-
Hi @laeubi , |
Beta Was this translation helpful? Give feedback.
-
@chamilaadhi you might want to check this: The problem - I think - is that you are not setting the VM arguments for the spawned JVM instance, by using this method: after setting the "applicative" args here: I think it's time for a review of dependencies with versions from almost ten years ago. |
Beta Was this translation helpful? Give feedback.
-
@chamilaadhi added a PR for WSO2 maven-tools that you might be interested in: |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm trying to build a project using JDK21 / JDK17 and in this project we use a
carbon-p2-plugin
[1] maven plugin (which usesP2ApplicationLauncher
[2]) to build the p2 repository. When I use the JDK17 or JDK21, I get the below error.I tried to update tycho version to 4.0.x but seems P2ApplicationLauncher is no longer available from 3.0.0 onwards. What should be used instead of P2ApplicationLauncher?
Also found that we could get this resolved by adding
--add-opens java.base/java.net=ALL-UNNAMED
but couldn't find a way to add this to the tycho side. Is there a way to add this to the plugin or any other way to get this resolved?Beta Was this translation helpful? Give feedback.
All reactions