-
Notifications
You must be signed in to change notification settings - Fork 213
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
Using MAVEN_HOME may clash with other tools #53
Comments
Thanks for the report, I think this is a valid issue. We better should not mess with |
Also note that we are about to make mvnd installable by sdkman in #48. Solving that probably requires to solve this too. |
That's really cool. I have checked that issue 5 days ago but did not found an easy tutorial on how to do it so I let it pass by. |
mvnd --install
Fix #53 Using MAVEN_HOME may clash with other tools
Many thanks. Waiting for the next release, apparently in sdkman 🚀 |
As part of the installation process [1], the last command is to run
mvnd --install
.This is returning the following error:
The reported directory is my current installation. It seems that this happens because the variable
MAVEN_HOME
is set in my environment.I see that
mvnd --install
created a bin directory under .m2/mvnd/<version>. But I don't understand why the failure, particularly as MAVEN_HOME is a variable for maven1, and mvnd claims to be a maven 3+.Can you explain the reason for such a design? As I plan to call
mvnd
explicitly instead ofmvn
, I don't want to enforce a path to the provided maven script.[1] https://github.com/mvndaemon/mvnd#install-mvnd
The text was updated successfully, but these errors were encountered: