-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix mvn #89
Fix mvn #89
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most of the changes look good, I have just a single concern:
People will generally have mvn
already when installing mvnd
. Our mvn
script may clash with the stock mvn
. I do not think I would want that myself.
What is the purpose of our mvn
script actually?
The purpose is to make maven embedded work. They way it has been written is the following : it runs the script located inside |
Hm... that's a valid point. Let me try which |
If both mvnd and mvn are installed via sdkman, then the following happens:
which is a bad news, IMO. |
|
|
I wonder what can we do about that. A. Making our B. Maybe we could try to play with the Java code on our side so that C. We could advertise our distro as a Maven distro, so that providing our own Other ideas? |
I'd rather go for C. I don't really understand the problem with having our own Also, that was the case until a few weeks ago 9224031#diff-9cff1802f6c575e8a1147f0f4b8d2673b0c2ac9b26bfc27b0012e2ead4795fdeR23 |
Asked on SDKMAN sdkman/sdkman-cli#809 |
Marco says
I assume that would help us, right? We need to have the mvn script executable for the embedded use cases to work, don't we? |
Romain Manni-Bucau proposed the option D.:
We should try this (a follow up would be fine). I'd prefer this option if it turns out to work well. That actually brings another follow up: We should have a test for some scenario using mvn. |
No description provided.