Jonathan Dowland fb5f3f5b0f [MNG-7270] Switch to shell alternative to "which"
In some circumstances the init script calls `which`, which may or may not be
available on the host system. Instead, use `command -v`, which is nearly
equivalent. One area it differs is if the command being queried is defined as
a shell alias. To avoid that, call `unset -f command` to avoid the situation
where "command" has been re-defined as a shell function.

See here for more information on this approach:
<https://pubs.opengroup.org/onlinepubs/009695399/utilities/command.html>

Tested with bash, sh (bash invoked as sh), posh, dash, zsh and mksh.

This closes #556
2021-10-11 22:51:09 +02:00
2021-07-03 11:12:47 +02:00
2021-08-14 10:27:09 +02:00
2019-11-16 23:18:37 +01:00

Apache Maven

Apache License, Version 2.0, January 2004 Maven Central Jenkins Status Jenkins tests

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.

Documentation

More information can be found on Apache Maven Homepage. Questions related to the usage of Maven should be posted on the Maven User List.

Where can I get the latest release?

You can download release source from our download page.

Contributing

If you are interested in the development of Maven, please consult the documentation first and afterwards you are welcome to join the developers mailing list to ask question or discuss new ideas / features / bugs etc.

Take a look into the contribution guidelines.

License

This code is under the Apache Licence v2

See the NOTICE file for required notices and attributions.

Donations

You like Apache Maven? Then donate back to the ASF to support the development.

License

Apache License, Version 2.0, January 2004

Quick Build

If you want to bootstrap Maven, you'll need:

  • Java 1.7+
  • Maven 3.0.5 or later
  • Run Maven, specifying a location into which the completed Maven distro should be installed:
mvn -DdistributionTargetDir="$HOME/app/maven/apache-maven-3.6.x-SNAPSHOT" clean package
Languages
Java 99.6%
Shell 0.2%
Batchfile 0.1%