commit | a21be1d2319672e90c921c8bfc5067cabf2a0528 | [log] [tgz] |
---|---|---|
author | Michael Osipov <michaelo@apache.org> | Sun Jul 25 15:39:33 2021 +0200 |
committer | Michael Osipov <michaelo@apache.org> | Sun Jul 25 22:33:33 2021 +0200 |
tree | 856fa2a9a9ea827a6ffab118173f4b8045d82c4e | |
parent | 6c67c9d0a6b7a717a2e5718a770638b9fcc0fbe3 [diff] |
[MNG-7195] Rework JAVA_HOME handling Dramatically simplify/rework handling by leaving setting JAVA_HOME to the user and try to load java(1) command from it. Technically Maven itself does not require JAVA_HOME to be set. If not set, use java(1) command from PATH on both Windows and POSIX-like systems. This closes #514
Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information.
If you think you have found a bug, please file an issue in the Maven Issue Tracker.
More information can be found on Apache Maven Homepage. Questions related to the usage of Maven should be posted on the Maven User List.
You can download the release source from our download page.
If you are interested in the development of Maven, please consult the documentation first and afterward you are welcome to join the developers mailing list to ask questions or discuss new ideas/features/bugs etc.
Take a look into the contribution guidelines.
This code is under the Apache License, Version 2.0, January 2004.
See the NOTICE
file for required notices and attributions.
Do you like Apache Maven? Then donate back to the ASF to support the development.
If you want to bootstrap Maven, you'll need:
mvn -DdistributionTargetDir="$HOME/app/maven/apache-maven-4.0.x-SNAPSHOT" clean package