OpenSearch/distribution/licenses
Alexander Reelsen 69d7f1a78a Startup: Remove getopt parsing in shell script, use java CLITool
In order to ensure, we have the same experience across operating systems
and shells, this commit uses the java CLI parser instead of the shell
getopt parsing to parse arguments.

This also allows for support for paths, which contain spaces.

Also commons-cli depdency was upgraded to 1.3.1 and tests have been added.

Changes

* new exit code, OK_AND_EXIT, allowing to tell the caller to exit, as everything
  went as expected (e.g. when running a version output)

BWC breaking:

* execute() returns an ExitStatus instead of an integer, otherwise there is no
  possibility to signal by a command, if the JVM should be exited after a run.
  This affects plugins, that have command line tools
* -v used to be version, but is a verbose flag by default in the current CLI infra,
  must be -V or --version now
* -X has been removed - the current implementation was useless anyway, as
  it prefixed those properties with "es.". You should use
  ES_JAVA_OPTS/JAVA_OPTS for JVM configuration
2015-07-30 13:20:29 +02:00
..
HdrHistogram-2.1.6.jar.sha1 Build: Set the correct sha1 for HDRHistogram. 2015-07-30 10:24:55 +02:00
HdrHistogram-LICENSE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
HdrHistogram-NOTICE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
antlr-runtime-3.5.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
antlr-runtime-LICENSE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
antlr-runtime-NOTICE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
apache-log4j-extras-1.2.17.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
apache-log4j-extras-DEPENDENCIES Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
apache-log4j-extras-LICENSE Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
apache-log4j-extras-NOTICE Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
asm-4.1.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
asm-LICENSE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
asm-NOTICE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
asm-commons-4.1.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
asm-commons-LICENSE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
asm-commons-NOTICE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
commons-cli-1.3.1.jar.sha1 Startup: Remove getopt parsing in shell script, use java CLITool 2015-07-30 13:20:29 +02:00
commons-cli-LICENSE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
commons-cli-NOTICE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
commons-lang3-3.3.2.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
commons-lang3-LICENSE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
commons-lang3-NOTICE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
compiler-0.8.13.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
compiler-LICENSE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
compiler-NOTICE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
compress-lzf-1.0.2.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
compress-lzf-LICENSE Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
compress-lzf-NOTICE Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
groovy-all-2.4.4-indy.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
groovy-all-LICENSE-ANTLR.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
groovy-all-LICENSE-ASM.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
groovy-all-LICENSE-CLI.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
groovy-all-LICENSE-JSR223.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
groovy-all-LICENSE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
groovy-all-NOTICE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
guava-18.0.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
guava-LICENSE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
guava-NOTICE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
hppc-0.7.1.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
hppc-LICENSE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
hppc-NOTICE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
jackson-LICENSE Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
jackson-NOTICE Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
jackson-core-2.5.3.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
jackson-dataformat-cbor-2.5.3.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
jackson-dataformat-smile-2.5.3.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
jackson-dataformat-yaml-2.5.3.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
jna-4.1.0.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
jna-LICENSE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
jna-NOTICE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
joda-convert-1.2.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
joda-convert-LICENSE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
joda-convert-NOTICE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
joda-time-2.8.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
joda-time-LICENSE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
joda-time-NOTICE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
jsr166e-1.1.0.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
jsr166e-LICENSE Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
jsr166e-NOTICE Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
jts-1.13.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
jts-LICENSE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
jts-NOTICE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
log4j-1.2.17.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
log4j-LICENSE Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
log4j-NOTICE Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
lucene-LICENSE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
lucene-NOTICE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
lucene-analyzers-common-5.2.1.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
lucene-backward-codecs-5.2.1.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
lucene-core-5.2.1.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
lucene-expressions-5.2.1.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
lucene-grouping-5.2.1.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
lucene-highlighter-5.2.1.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
lucene-join-5.2.1.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
lucene-memory-5.2.1.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
lucene-misc-5.2.1.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
lucene-queries-5.2.1.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
lucene-queryparser-5.2.1.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
lucene-sandbox-5.2.1.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
lucene-spatial-5.2.1.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
lucene-suggest-5.2.1.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
netty-3.10.3.Final.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
netty-LICENSE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
netty-NOTICE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
snakeyaml-1.12.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
snakeyaml-LICENSE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
snakeyaml-NOTICE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
spatial4j-0.4.1.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
spatial4j-LICENSE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
spatial4j-NOTICE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
t-digest-3.0.jar.sha1 Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
t-digest-LICENSE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00
t-digest-NOTICE.txt Build: Split packages into submodules 2015-07-27 17:50:54 +02:00