-
Related to my recent PR I wonder whether it's possible to use maven wrapper in Eclipse - instead of m2e's embedded maven - to handle all maven operations? Some internet resources seem to say that you can use maven wrapper, but that dependency resolution will always happen through the embedded maven e.g. https://stackoverflow.com/questions/35607335/update-version-of-maven-within-eclipse |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
No.
That's not whats said there. Technically it is impossible as it would require to recompile the m2e code on the fly and reload your eclipse, that's why it is called embedded maven. You can only control the maven version used to launch external maven runs. |
Beta Was this translation helpful? Give feedback.
-
IIUC, dependency resolution of an external maven run is done by the supplied maven then, right? That would make sense. |
Beta Was this translation helpful? Give feedback.
-
As said if you choose |
Beta Was this translation helpful? Give feedback.
-
Alright, that answers my question, thanks for the quick answer! |
Beta Was this translation helpful? Give feedback.
No.
That's not whats said there. Technically it is impossible as it would require to recompile the m2e code on the fly and reload your eclipse, that's why it is called embedded maven. You can only control the maven version used to launch external maven runs.