-
-
Notifications
You must be signed in to change notification settings - Fork 356
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
No need of using M2_HOME
environment variable as fallback to find path to maven executable in Windows
#4288
Comments
M2_HOME
environment variable as fallback to find path to maven executable in WindowsM2_HOME
environment variable as fallback to find path to maven executable in Windows
Could you try to find the actual release notes for when this The links here just refer to it as "being gone", or something like that. |
@slarse Yes, I can find that. I once looked up release notes of Windows environment which just hit me that it was the wrong place to look at. I will try finding it on the Apache maven website. |
@slarse , found it! Look at the updated issue description. |
@algomaster99 Good find. I don't think it's a good idea to remove the There are however a couple of action points. At the very least, we shouldn't mention We could go a step further and log a warning if we have to use the |
Summarising the above comment,
|
If we want to be super nice about it, we should only log a warning message if using |
We no longer need to get the path to maven executable via
M2_HOME
because its usage has been deprecated with newer Windows releases.EDIT:
Support for
M2_HOME
was deprecated in Maven 3.5.0. See 5th point in the overview about the changes.The text was updated successfully, but these errors were encountered: