Custom Eclipse Plugin compatibility issues due to changes in EclipseMavenLauncher class (IMavenLauncher Interface) #1365
Replies: 2 comments 3 replies
-
If you have a strong use-case and require to be compatible, you might want to describe your case and ask for the interface to become a public API. |
Beta Was this translation helpful? Give feedback.
-
Okay, I'll explain the use-case. I'm using EclipseMavenLauncher class instance to execute archetype generation command, it uses Eclipse bundled Maven version and runs the command on the Eclipse console. I could not execute command on the Terminal instead as it would need maven home to be present on the CLI config. Hence, I reused the EclipseMavenLauncher to execute maven command. I'm not sure if there is another way to do so, Is there any other right approach? |
Beta Was this translation helpful? Give feedback.
-
I'm currently creating a eclipse plugin wherein I'm launching a maven command by instantiating EclipseMavenLauncher class and calling runMaven method -
Now the method signature has changed as :
Earlier, it used to accept userProperties as Properties class type. Now, if I try to install the plugin, execution fails on older version of eclipse. I tried to bundle the m2e plugin also. But it then ask to downgrade Eclipse.
Anything I'm doing wrong or how can I resolve this incompatibility? Any help is much appreciated. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions