summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorAlexander Reelsen <alexander@reelsen.net>2015-06-03 10:39:31 +0200
committerAlexander Reelsen <alexander@reelsen.net>2015-07-27 17:50:54 +0200
commit9628d2632fa39fb8aa03f5eb008a65fc4948bb1a (patch)
treef1ae8177b1ebe5623b5507f34d32717f8a2cc1d5 /core
parent01ae7300232ed66ea31ec51b0126158738dd6ade (diff)
Build: Split packages into submodules
This change creates a proper `distribution` modules in which we have today packaging for all of our four current packages: * zip * tar.gz * rpm * deb Licenes have moved into the distribution project as well. So have the config/ and the bin/ directory from the core/ project. The RPM package is now built, if rpmbuild exists. The bats tests have been moved as well. Also the zip distribution now executes the REST integration tests.
Diffstat (limited to 'core')
-rwxr-xr-xcore/bin/elasticsearch251
-rw-r--r--core/bin/elasticsearch-service-mgr.exebin104448 -> 0 bytes
-rw-r--r--core/bin/elasticsearch-service-x64.exebin103936 -> 0 bytes
-rw-r--r--core/bin/elasticsearch-service-x86.exebin80896 -> 0 bytes
-rw-r--r--core/bin/elasticsearch.bat48
-rw-r--r--core/bin/elasticsearch.in.bat98
-rw-r--r--core/bin/elasticsearch.in.sh79
-rwxr-xr-xcore/bin/plugin108
-rw-r--r--core/bin/plugin.bat25
-rw-r--r--core/bin/service.bat202
-rw-r--r--core/config/elasticsearch.yml99
-rw-r--r--core/config/logging.yml81
-rw-r--r--core/licenses/HdrHistogram-2.1.5.jar.sha11
-rw-r--r--core/licenses/HdrHistogram-LICENSE.txt41
-rw-r--r--core/licenses/HdrHistogram-NOTICE.txt0
-rw-r--r--core/licenses/antlr-runtime-3.5.jar.sha11
-rw-r--r--core/licenses/antlr-runtime-LICENSE.txt7
-rw-r--r--core/licenses/antlr-runtime-NOTICE.txt1
-rw-r--r--core/licenses/apache-log4j-extras-1.2.17.jar.sha11
-rw-r--r--core/licenses/apache-log4j-extras-DEPENDENCIES19
-rw-r--r--core/licenses/apache-log4j-extras-LICENSE202
-rw-r--r--core/licenses/apache-log4j-extras-NOTICE5
-rw-r--r--core/licenses/asm-4.1.jar.sha11
-rw-r--r--core/licenses/asm-LICENSE.txt26
-rw-r--r--core/licenses/asm-NOTICE.txt1
-rw-r--r--core/licenses/asm-commons-4.1.jar.sha11
-rw-r--r--core/licenses/asm-commons-LICENSE.txt26
-rw-r--r--core/licenses/asm-commons-NOTICE.txt1
-rw-r--r--core/licenses/commons-cli-1.2.jar.sha11
-rw-r--r--core/licenses/commons-cli-LICENSE.txt202
-rw-r--r--core/licenses/commons-cli-NOTICE.txt5
-rw-r--r--core/licenses/commons-lang3-3.3.2.jar.sha11
-rw-r--r--core/licenses/commons-lang3-LICENSE.txt202
-rw-r--r--core/licenses/commons-lang3-NOTICE.txt8
-rw-r--r--core/licenses/compiler-0.8.13.jar.sha11
-rw-r--r--core/licenses/compiler-LICENSE.txt14
-rw-r--r--core/licenses/compiler-NOTICE.txt1
-rw-r--r--core/licenses/compress-lzf-1.0.2.jar.sha11
-rw-r--r--core/licenses/compress-lzf-LICENSE8
-rw-r--r--core/licenses/compress-lzf-NOTICE24
-rw-r--r--core/licenses/groovy-all-2.4.4-indy.jar.sha11
-rw-r--r--core/licenses/groovy-all-LICENSE-ANTLR.txt31
-rw-r--r--core/licenses/groovy-all-LICENSE-ASM.txt31
-rw-r--r--core/licenses/groovy-all-LICENSE-CLI.txt202
-rw-r--r--core/licenses/groovy-all-LICENSE-JSR223.txt30
-rw-r--r--core/licenses/groovy-all-LICENSE.txt15
-rw-r--r--core/licenses/groovy-all-NOTICE.txt5
-rw-r--r--core/licenses/guava-18.0.jar.sha11
-rw-r--r--core/licenses/guava-LICENSE.txt202
-rw-r--r--core/licenses/guava-NOTICE.txt1
-rw-r--r--core/licenses/hppc-0.7.1.jar.sha11
-rw-r--r--core/licenses/hppc-LICENSE.txt203
-rw-r--r--core/licenses/hppc-NOTICE.txt11
-rw-r--r--core/licenses/jackson-LICENSE8
-rw-r--r--core/licenses/jackson-NOTICE20
-rw-r--r--core/licenses/jackson-core-2.5.3.jar.sha11
-rw-r--r--core/licenses/jackson-dataformat-cbor-2.5.3.jar.sha11
-rw-r--r--core/licenses/jackson-dataformat-smile-2.5.3.jar.sha11
-rw-r--r--core/licenses/jackson-dataformat-yaml-2.5.3.jar.sha11
-rw-r--r--core/licenses/jna-4.1.0.jar.sha11
-rw-r--r--core/licenses/jna-LICENSE.txt177
-rw-r--r--core/licenses/jna-NOTICE.txt1
-rw-r--r--core/licenses/joda-convert-1.2.jar.sha11
-rw-r--r--core/licenses/joda-convert-LICENSE.txt202
-rw-r--r--core/licenses/joda-convert-NOTICE.txt5
-rw-r--r--core/licenses/joda-time-2.8.jar.sha11
-rw-r--r--core/licenses/joda-time-LICENSE.txt202
-rw-r--r--core/licenses/joda-time-NOTICE.txt5
-rw-r--r--core/licenses/jsr166e-1.1.0.jar.sha11
-rw-r--r--core/licenses/jsr166e-LICENSE1050
-rw-r--r--core/licenses/jsr166e-NOTICE1
-rw-r--r--core/licenses/jts-1.13.jar.sha11
-rw-r--r--core/licenses/jts-LICENSE.txt165
-rw-r--r--core/licenses/jts-NOTICE.txt1
-rw-r--r--core/licenses/log4j-1.2.17.jar.sha11
-rw-r--r--core/licenses/log4j-LICENSE202
-rw-r--r--core/licenses/log4j-NOTICE5
-rw-r--r--core/licenses/lucene-LICENSE.txt475
-rw-r--r--core/licenses/lucene-NOTICE.txt191
-rw-r--r--core/licenses/lucene-analyzers-common-5.2.1.jar.sha11
-rw-r--r--core/licenses/lucene-backward-codecs-5.2.1.jar.sha11
-rw-r--r--core/licenses/lucene-core-5.2.1.jar.sha11
-rw-r--r--core/licenses/lucene-expressions-5.2.1.jar.sha11
-rw-r--r--core/licenses/lucene-grouping-5.2.1.jar.sha11
-rw-r--r--core/licenses/lucene-highlighter-5.2.1.jar.sha11
-rw-r--r--core/licenses/lucene-join-5.2.1.jar.sha11
-rw-r--r--core/licenses/lucene-memory-5.2.1.jar.sha11
-rw-r--r--core/licenses/lucene-misc-5.2.1.jar.sha11
-rw-r--r--core/licenses/lucene-queries-5.2.1.jar.sha11
-rw-r--r--core/licenses/lucene-queryparser-5.2.1.jar.sha11
-rw-r--r--core/licenses/lucene-sandbox-5.2.1.jar.sha11
-rw-r--r--core/licenses/lucene-spatial-5.2.1.jar.sha11
-rw-r--r--core/licenses/lucene-suggest-5.2.1.jar.sha11
-rw-r--r--core/licenses/netty-3.10.3.Final.jar.sha11
-rw-r--r--core/licenses/netty-LICENSE.txt202
-rw-r--r--core/licenses/netty-NOTICE.txt117
-rw-r--r--core/licenses/snakeyaml-1.12.jar.sha11
-rw-r--r--core/licenses/snakeyaml-LICENSE.txt176
-rw-r--r--core/licenses/snakeyaml-NOTICE.txt1
-rw-r--r--core/licenses/spatial4j-0.4.1.jar.sha11
-rw-r--r--core/licenses/spatial4j-LICENSE.txt202
-rw-r--r--core/licenses/spatial4j-NOTICE.txt1
-rw-r--r--core/licenses/t-digest-3.0.jar.sha11
-rw-r--r--core/licenses/t-digest-LICENSE.txt202
-rw-r--r--core/licenses/t-digest-NOTICE.txt4
-rw-r--r--core/pom.xml624
-rw-r--r--core/src/main/assemblies/targz-bin.xml13
-rw-r--r--core/src/main/assemblies/zip-bin.xml13
-rw-r--r--core/src/packaging/common/env/elasticsearch75
-rw-r--r--core/src/packaging/common/packaging.properties28
-rw-r--r--core/src/packaging/common/scripts/postinst101
-rw-r--r--core/src/packaging/common/scripts/preinst83
-rw-r--r--core/src/packaging/common/scripts/prerm69
-rw-r--r--core/src/packaging/common/systemd/elasticsearch.conf1
-rw-r--r--core/src/packaging/common/systemd/elasticsearch.service50
-rw-r--r--core/src/packaging/common/systemd/sysctl/elasticsearch.conf1
-rw-r--r--core/src/packaging/deb/copyright17
-rwxr-xr-xcore/src/packaging/deb/init.d/elasticsearch232
-rw-r--r--core/src/packaging/deb/lintian/elasticsearch8
-rw-r--r--core/src/packaging/deb/packaging.properties16
-rw-r--r--core/src/packaging/deb/scripts/conffiles5
-rw-r--r--core/src/packaging/deb/scripts/control38
-rw-r--r--core/src/packaging/rpm/init.d/elasticsearch182
-rw-r--r--core/src/packaging/rpm/packaging.properties16
-rw-r--r--core/src/test/java/org/elasticsearch/test/rest/RestIT.java38
-rw-r--r--core/src/test/resources/packaging/scripts/20_tar_package.bats95
-rw-r--r--core/src/test/resources/packaging/scripts/25_tar_plugins.bats259
-rw-r--r--core/src/test/resources/packaging/scripts/30_deb_package.bats177
-rw-r--r--core/src/test/resources/packaging/scripts/40_rpm_package.bats142
-rw-r--r--core/src/test/resources/packaging/scripts/50_plugins.bats291
-rw-r--r--core/src/test/resources/packaging/scripts/60_systemd.bats170
-rw-r--r--core/src/test/resources/packaging/scripts/70_sysv_initd.bats123
-rw-r--r--core/src/test/resources/packaging/scripts/packaging_test_utils.bash464
133 files changed, 1 insertions, 9500 deletions
diff --git a/core/bin/elasticsearch b/core/bin/elasticsearch
deleted file mode 100755
index bd324a7b5c..0000000000
--- a/core/bin/elasticsearch
+++ /dev/null
@@ -1,251 +0,0 @@
-#!/bin/sh
-
-# OPTIONS:
-# -d daemonize (run in background)
-# -p pidfile write PID to <pidfile>
-# -h
-# --help print command line options
-# -v print elasticsearch version, then exit
-# -D prop set JAVA system property
-# -X prop set non-standard JAVA system property
-# --prop=val
-# --prop val set elasticsearch property (i.e. -Des.<prop>=<val>)
-
-# CONTROLLING STARTUP:
-#
-# This script relies on few environment variables to determine startup
-# behavior, those variables are:
-#
-# ES_CLASSPATH -- A Java classpath containing everything necessary to run.
-# JAVA_OPTS -- Additional arguments to the JVM for heap size, etc
-# ES_JAVA_OPTS -- External Java Opts on top of the defaults set
-#
-#
-# Optionally, exact memory values can be set using the following values, note,
-# they can still be set using the `ES_JAVA_OPTS`. Sample format include "512m", and "10g".
-#
-# ES_HEAP_SIZE -- Sets both the minimum and maximum memory to allocate (recommended)
-#
-# As a convenience, a fragment of shell is sourced in order to set one or
-# more of these variables. This so-called `include' can be placed in a
-# number of locations and will be searched for in order. The lowest
-# priority search path is the same directory as the startup script, and
-# since this is the location of the sample in the project tree, it should
-# almost work Out Of The Box.
-#
-# Any serious use-case though will likely require customization of the
-# include. For production installations, it is recommended that you copy
-# the sample to one of /usr/share/elasticsearch/elasticsearch.in.sh,
-# /usr/local/share/elasticsearch/elasticsearch.in.sh, or
-# /opt/elasticsearch/elasticsearch.in.sh and make your modifications there.
-#
-# Another option is to specify the full path to the include file in the
-# environment. For example:
-#
-# $ ES_INCLUDE=/path/to/in.sh elasticsearch -p /var/run/es.pid
-#
-# Note: This is particularly handy for running multiple instances on a
-# single installation, or for quick tests.
-#
-# If you would rather configure startup entirely from the environment, you
-# can disable the include by exporting an empty ES_INCLUDE, or by
-# ensuring that no include files exist in the aforementioned search list.
-# Be aware that you will be entirely responsible for populating the needed
-# environment variables.
-
-
-# Maven will replace the project.name with elasticsearch below. If that
-# hasn't been done, we assume that this is not a packaged version and the
-# user has forgotten to run Maven to create a package.
-IS_PACKAGED_VERSION='${project.artifactId}'
-if [ "$IS_PACKAGED_VERSION" != "elasticsearch" ]; then
- cat >&2 << EOF
-Error: You must build the project with Maven or download a pre-built package
-before you can run Elasticsearch. See 'Building from Source' in README.textile
-or visit http://www.elasticsearch.org/download to get a pre-built package.
-EOF
- exit 1
-fi
-
-CDPATH=""
-SCRIPT="$0"
-
-# SCRIPT may be an arbitrarily deep series of symlinks. Loop until we have the concrete path.
-while [ -h "$SCRIPT" ] ; do
- ls=`ls -ld "$SCRIPT"`
- # Drop everything prior to ->
- link=`expr "$ls" : '.*-> \(.*\)$'`
- if expr "$link" : '/.*' > /dev/null; then
- SCRIPT="$link"
- else
- SCRIPT=`dirname "$SCRIPT"`/"$link"
- fi
-done
-
-# determine elasticsearch home
-ES_HOME=`dirname "$SCRIPT"`/..
-
-# make ELASTICSEARCH_HOME absolute
-ES_HOME=`cd "$ES_HOME"; pwd`
-
-
-# If an include wasn't specified in the environment, then search for one...
-if [ "x$ES_INCLUDE" = "x" ]; then
- # Locations (in order) to use when searching for an include file.
- for include in /usr/share/elasticsearch/elasticsearch.in.sh \
- /usr/local/share/elasticsearch/elasticsearch.in.sh \
- /opt/elasticsearch/elasticsearch.in.sh \
- ~/.elasticsearch.in.sh \
- "$ES_HOME/bin/elasticsearch.in.sh" \
- "`dirname "$0"`"/elasticsearch.in.sh; do
- if [ -r "$include" ]; then
- . "$include"
- break
- fi
- done
-# ...otherwise, source the specified include.
-elif [ -r "$ES_INCLUDE" ]; then
- . "$ES_INCLUDE"
-fi
-
-if [ -x "$JAVA_HOME/bin/java" ]; then
- JAVA="$JAVA_HOME/bin/java"
-else
- JAVA=`which java`
-fi
-
-if [ ! -x "$JAVA" ]; then
- echo "Could not find any executable java binary. Please install java in your PATH or set JAVA_HOME"
- exit 1
-fi
-
-if [ -z "$ES_CLASSPATH" ]; then
- echo "You must set the ES_CLASSPATH var" >&2
- exit 1
-fi
-
-# Special-case path variables.
-case `uname` in
- CYGWIN*)
- ES_CLASSPATH=`cygpath -p -w "$ES_CLASSPATH"`
- ES_HOME=`cygpath -p -w "$ES_HOME"`
- ;;
-esac
-
-launch_service()
-{
- pidpath=$1
- daemonized=$2
- props=$3
- es_parms="-Delasticsearch"
-
- if [ "x$pidpath" != "x" ]; then
- es_parms="$es_parms -Des.pidfile=$pidpath"
- fi
-
- # Make sure we dont use any predefined locale, as we check some exception message strings and rely on english language
- # As those strings are created by the OS, they are dependant on the configured locale
- LANG=en_US.UTF-8
- LC_ALL=en_US.UTF-8
-
- export HOSTNAME=`hostname -s`
-
- # The es-foreground option will tell Elasticsearch not to close stdout/stderr, but it's up to us not to daemonize.
- if [ "x$daemonized" = "x" ]; then
- es_parms="$es_parms -Des.foreground=yes"
- eval exec "$JAVA" $JAVA_OPTS $ES_JAVA_OPTS $es_parms "\"-Des.path.home=$ES_HOME\"" -cp "\"$ES_CLASSPATH\"" $props \
- org.elasticsearch.bootstrap.Elasticsearch
- # exec without running it in the background, makes it replace this shell, we'll never get here...
- # no need to return something
- else
- # Startup Elasticsearch, background it, and write the pid.
- eval exec "$JAVA" $JAVA_OPTS $ES_JAVA_OPTS $es_parms "\"-Des.path.home=$ES_HOME\"" -cp "\"$ES_CLASSPATH\"" $props \
- org.elasticsearch.bootstrap.Elasticsearch <&- &
- return $?
- fi
-}
-
-# Print command line usage / help
-usage() {
- echo "Usage: $0 [-vdh] [-p pidfile] [-D prop] [-X prop]"
- echo "Start elasticsearch."
- echo " -d daemonize (run in background)"
- echo " -p pidfile write PID to <pidfile>"
- echo " -h"
- echo " --help print command line options"
- echo " -v print elasticsearch version, then exit"
- echo " -D prop set JAVA system property"
- echo " -X prop set non-standard JAVA system property"
- echo " --prop=val"
- echo " --prop val set elasticsearch property (i.e. -Des.<prop>=<val>)"
-}
-
-# Parse any long getopt options and put them into properties before calling getopt below
-# Be dash compatible to make sure running under ubuntu works
-ARGV=""
-while [ $# -gt 0 ]
-do
- case $1 in
- --help) ARGV="$ARGV -h"; shift;;
- --*=*) properties="$properties -Des.${1#--}"
- shift 1
- ;;
- --*) [ $# -le 1 ] && {
- echo "Option requires an argument: '$1'."
- shift
- continue
- }
- properties="$properties -Des.${1#--}=$2"
- shift 2
- ;;
- *) ARGV="$ARGV $1" ; shift
- esac
-done
-
-# Parse any command line options.
-args=`getopt vdhp:D:X: $ARGV`
-eval set -- "$args"
-
-while true; do
- case $1 in
- -v)
- eval "$JAVA" $JAVA_OPTS $ES_JAVA_OPTS $es_parms "\"-Des.path.home=$ES_HOME\"" -cp "\"$ES_CLASSPATH\"" $props \
- org.elasticsearch.Version
- exit 0
- ;;
- -p)
- pidfile="$2"
- shift 2
- ;;
- -d)
- daemonized="yes"
- shift
- ;;
- -h)
- usage
- exit 0
- ;;
- -D)
- properties="$properties -D$2"
- shift 2
- ;;
- -X)
- properties="$properties -X$2"
- shift 2
- ;;
- --)
- shift
- break
- ;;
- *)
- echo "Error parsing argument $1!" >&2
- usage
- exit 1
- ;;
- esac
-done
-
-# Start up the service
-launch_service "$pidfile" "$daemonized" "$properties"
-
-exit $?
diff --git a/core/bin/elasticsearch-service-mgr.exe b/core/bin/elasticsearch-service-mgr.exe
deleted file mode 100644
index 730240403a..0000000000
--- a/core/bin/elasticsearch-service-mgr.exe
+++ /dev/null
Binary files differ
diff --git a/core/bin/elasticsearch-service-x64.exe b/core/bin/elasticsearch-service-x64.exe
deleted file mode 100644
index dab7def755..0000000000
--- a/core/bin/elasticsearch-service-x64.exe
+++ /dev/null
Binary files differ
diff --git a/core/bin/elasticsearch-service-x86.exe b/core/bin/elasticsearch-service-x86.exe
deleted file mode 100644
index 4240720018..0000000000
--- a/core/bin/elasticsearch-service-x86.exe
+++ /dev/null
Binary files differ
diff --git a/core/bin/elasticsearch.bat b/core/bin/elasticsearch.bat
deleted file mode 100644
index fb39780d01..0000000000
--- a/core/bin/elasticsearch.bat
+++ /dev/null
@@ -1,48 +0,0 @@
-@echo off
-
-SETLOCAL enabledelayedexpansion
-TITLE Elasticsearch ${project.version}
-
-SET params='%*'
-
-:loop
-FOR /F "usebackq tokens=1* delims= " %%A IN (!params!) DO (
- SET current=%%A
- SET params='%%B'
- SET silent=N
-
- IF "!current!" == "-s" (
- SET silent=Y
- )
- IF "!current!" == "--silent" (
- SET silent=Y
- )
-
- IF "!silent!" == "Y" (
- SET nopauseonerror=Y
- ) ELSE (
- IF "x!newparams!" NEQ "x" (
- SET newparams=!newparams! !current!
- ) ELSE (
- SET newparams=!current!
- )
- )
-
- IF "x!params!" NEQ "x" (
- GOTO loop
- )
-)
-
-SET HOSTNAME=%COMPUTERNAME%
-
-CALL "%~dp0elasticsearch.in.bat"
-IF ERRORLEVEL 1 (
- IF NOT DEFINED nopauseonerror (
- PAUSE
- )
- EXIT /B %ERRORLEVEL%
-)
-
-"%JAVA_HOME%\bin\java" %JAVA_OPTS% %ES_JAVA_OPTS% %ES_PARAMS% !newparams! -cp "%ES_CLASSPATH%" "org.elasticsearch.bootstrap.Elasticsearch"
-
-ENDLOCAL
diff --git a/core/bin/elasticsearch.in.bat b/core/bin/elasticsearch.in.bat
deleted file mode 100644
index b25a679fc9..0000000000
--- a/core/bin/elasticsearch.in.bat
+++ /dev/null
@@ -1,98 +0,0 @@
-@echo off
-
-if DEFINED JAVA_HOME goto cont
-
-:err
-ECHO JAVA_HOME environment variable must be set! 1>&2
-EXIT /B 1
-
-:cont
-set SCRIPT_DIR=%~dp0
-for %%I in ("%SCRIPT_DIR%..") do set ES_HOME=%%~dpfI
-
-
-REM ***** JAVA options *****
-
-if "%ES_MIN_MEM%" == "" (
-set ES_MIN_MEM=${packaging.elasticsearch.heap.min}
-)
-
-if "%ES_MAX_MEM%" == "" (
-set ES_MAX_MEM=${packaging.elasticsearch.heap.max}
-)
-
-if NOT "%ES_HEAP_SIZE%" == "" (
-set ES_MIN_MEM=%ES_HEAP_SIZE%
-set ES_MAX_MEM=%ES_HEAP_SIZE%
-)
-
-REM min and max heap sizes should be set to the same value to avoid
-REM stop-the-world GC pauses during resize, and so that we can lock the
-REM heap in memory on startup to prevent any of it from being swapped
-REM out.
-set JAVA_OPTS=%JAVA_OPTS% -Xms%ES_MIN_MEM% -Xmx%ES_MAX_MEM%
-
-REM new generation
-if NOT "%ES_HEAP_NEWSIZE%" == "" (
-set JAVA_OPTS=%JAVA_OPTS% -Xmn%ES_HEAP_NEWSIZE%
-)
-
-REM max direct memory
-if NOT "%ES_DIRECT_SIZE%" == "" (
-set JAVA_OPTS=%JAVA_OPTS% -XX:MaxDirectMemorySize=%ES_DIRECT_SIZE%
-)
-
-REM set to headless, just in case
-set JAVA_OPTS=%JAVA_OPTS% -Djava.awt.headless=true
-
-REM Force the JVM to use IPv4 stack
-if NOT "%ES_USE_IPV4%" == "" (
-set JAVA_OPTS=%JAVA_OPTS% -Djava.net.preferIPv4Stack=true
-)
-
-set JAVA_OPTS=%JAVA_OPTS% -XX:+UseParNewGC
-set JAVA_OPTS=%JAVA_OPTS% -XX:+UseConcMarkSweepGC
-
-set JAVA_OPTS=%JAVA_OPTS% -XX:CMSInitiatingOccupancyFraction=75
-set JAVA_OPTS=%JAVA_OPTS% -XX:+UseCMSInitiatingOccupancyOnly
-
-REM When running under Java 7
-REM JAVA_OPTS=%JAVA_OPTS% -XX:+UseCondCardMark
-
-if "%ES_GC_LOG_FILE%" == "" goto nogclog
-
-:gclog
-set JAVA_OPTS=%JAVA_OPTS% -XX:+PrintGCDetails
-set JAVA_OPTS=%JAVA_OPTS% -XX:+PrintGCTimeStamps
-set JAVA_OPTS=%JAVA_OPTS% -XX:+PrintClassHistogram
-set JAVA_OPTS=%JAVA_OPTS% -XX:+PrintTenuringDistribution
-set JAVA_OPTS=%JAVA_OPTS% -XX:+PrintGCApplicationStoppedTime
-set JAVA_OPTS=%JAVA_OPTS% -Xloggc:%ES_GC_LOG_FILE%
-for %%F in ("%ES_GC_LOG_FILE%") do set ES_GC_LOG_FILE_DIRECTORY=%%~dpF
-if NOT EXIST "%ES_GC_LOG_FILE_DIRECTORY%\." mkdir "%ES_GC_LOG_FILE_DIRECTORY%"
-
-:nogclog
-
-REM Causes the JVM to dump its heap on OutOfMemory.
-set JAVA_OPTS=%JAVA_OPTS% -XX:+HeapDumpOnOutOfMemoryError
-REM The path to the heap dump location, note directory must exists and have enough
-REM space for a full heap dump.
-REM JAVA_OPTS=%JAVA_OPTS% -XX:HeapDumpPath=$ES_HOME/logs/heapdump.hprof
-
-REM Disables explicit GC
-set JAVA_OPTS=%JAVA_OPTS% -XX:+DisableExplicitGC
-
-REM Ensure UTF-8 encoding by default (e.g. filenames)
-set JAVA_OPTS=%JAVA_OPTS% -Dfile.encoding=UTF-8
-
-REM Use our provided JNA always versus the system one
-set JAVA_OPTS=%JAVA_OPTS% -Djna.nosys=true
-
-set CORE_CLASSPATH=%ES_HOME%/lib/${project.build.finalName}.jar;%ES_HOME%/lib/*
-if "%ES_CLASSPATH%" == "" (
-set ES_CLASSPATH=%CORE_CLASSPATH%
-) else (
-set ES_CLASSPATH=%ES_CLASSPATH%;%CORE_CLASSPATH%
-)
-
-set ES_PARAMS=-Delasticsearch -Des-foreground=yes -Des.path.home="%ES_HOME%"
diff --git a/core/bin/elasticsearch.in.sh b/core/bin/elasticsearch.in.sh
deleted file mode 100644
index 92eab40307..0000000000
--- a/core/bin/elasticsearch.in.sh
+++ /dev/null
@@ -1,79 +0,0 @@
-#!/bin/sh
-
-CORE_CLASSPATH="$ES_HOME/lib/${project.build.finalName}.jar:$ES_HOME/lib/*"
-
-if [ "x$ES_CLASSPATH" = "x" ]; then
- ES_CLASSPATH="$CORE_CLASSPATH"
-else
- ES_CLASSPATH="$ES_CLASSPATH:$CORE_CLASSPATH"
-fi
-
-if [ "x$ES_MIN_MEM" = "x" ]; then
- ES_MIN_MEM=${packaging.elasticsearch.heap.min}
-fi
-if [ "x$ES_MAX_MEM" = "x" ]; then
- ES_MAX_MEM=${packaging.elasticsearch.heap.max}
-fi
-if [ "x$ES_HEAP_SIZE" != "x" ]; then
- ES_MIN_MEM=$ES_HEAP_SIZE
- ES_MAX_MEM=$ES_HEAP_SIZE
-fi
-
-# min and max heap sizes should be set to the same value to avoid
-# stop-the-world GC pauses during resize, and so that we can lock the
-# heap in memory on startup to prevent any of it from being swapped
-# out.
-JAVA_OPTS="$JAVA_OPTS -Xms${ES_MIN_MEM}"
-JAVA_OPTS="$JAVA_OPTS -Xmx${ES_MAX_MEM}"
-
-# new generation
-if [ "x$ES_HEAP_NEWSIZE" != "x" ]; then
- JAVA_OPTS="$JAVA_OPTS -Xmn${ES_HEAP_NEWSIZE}"
-fi
-
-# max direct memory
-if [ "x$ES_DIRECT_SIZE" != "x" ]; then
- JAVA_OPTS="$JAVA_OPTS -XX:MaxDirectMemorySize=${ES_DIRECT_SIZE}"
-fi
-
-# set to headless, just in case
-JAVA_OPTS="$JAVA_OPTS -Djava.awt.headless=true"
-
-# Force the JVM to use IPv4 stack
-if [ "x$ES_USE_IPV4" != "x" ]; then
- JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true"
-fi
-
-JAVA_OPTS="$JAVA_OPTS -XX:+UseParNewGC"
-JAVA_OPTS="$JAVA_OPTS -XX:+UseConcMarkSweepGC"
-
-JAVA_OPTS="$JAVA_OPTS -XX:CMSInitiatingOccupancyFraction=75"
-JAVA_OPTS="$JAVA_OPTS -XX:+UseCMSInitiatingOccupancyOnly"
-
-# GC logging options
-if [ -n "$ES_GC_LOG_FILE" ]; then
- JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCDetails"
- JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCTimeStamps"
- JAVA_OPTS="$JAVA_OPTS -XX:+PrintClassHistogram"
- JAVA_OPTS="$JAVA_OPTS -XX:+PrintTenuringDistribution"
- JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCApplicationStoppedTime"
- JAVA_OPTS="$JAVA_OPTS \"-Xloggc:$ES_GC_LOG_FILE\""
-
- # Ensure that the directory for the log file exists: the JVM will not create it.
- mkdir -p "`dirname \"$ES_GC_LOG_FILE\"`"
-fi
-
-# Causes the JVM to dump its heap on OutOfMemory.
-JAVA_OPTS="$JAVA_OPTS -XX:+HeapDumpOnOutOfMemoryError"
-# The path to the heap dump location, note directory must exists and have enough
-# space for a full heap dump.
-#JAVA_OPTS="$JAVA_OPTS -XX:HeapDumpPath=$ES_HOME/logs/heapdump.hprof"
-
-# Disables explicit GC
-JAVA_OPTS="$JAVA_OPTS -XX:+DisableExplicitGC"
-
-# Ensure UTF-8 encoding by default (e.g. filenames)
-JAVA_OPTS="$JAVA_OPTS -Dfile.encoding=UTF-8"
-
-# Use our provided JNA always versus the system one
-JAVA_OPTS="$JAVA_OPTS -Djna.nosys=true"
diff --git a/core/bin/plugin b/core/bin/plugin
deleted file mode 100755
index 15bf59ca7b..0000000000
--- a/core/bin/plugin
+++ /dev/null
@@ -1,108 +0,0 @@
-#!/bin/sh
-
-CDPATH=""
-SCRIPT="$0"
-
-# SCRIPT may be an arbitrarily deep series of symlinks. Loop until we have the concrete path.
-while [ -h "$SCRIPT" ] ; do
- ls=`ls -ld "$SCRIPT"`
- # Drop everything prior to ->
- link=`expr "$ls" : '.*-> \(.*\)$'`
- if expr "$link" : '/.*' > /dev/null; then
- SCRIPT="$link"
- else
- SCRIPT=`dirname "$SCRIPT"`/"$link"
- fi
-done
-
-# determine elasticsearch home
-ES_HOME=`dirname "$SCRIPT"`/..
-
-# make ELASTICSEARCH_HOME absolute
-ES_HOME=`cd "$ES_HOME"; pwd`
-
-# Sets the default values for elasticsearch variables used in this script
-if [ -z "$CONF_DIR" ]; then
- CONF_DIR="${packaging.plugin.default.config.dir}"
-
- if [ -z "$CONF_FILE" ]; then
- CONF_FILE="$CONF_DIR/elasticsearch.yml"
- fi
-fi
-
-if [ -z "$CONF_FILE" ]; then
- CONF_FILE="${packaging.plugin.default.config.file}"
-fi
-
-# The default env file is defined at building/packaging time.
-# For a ${packaging.type} package, the value is "${packaging.env.file}".
-ES_ENV_FILE="${packaging.env.file}"
-
-# If an include is specified with the ES_INCLUDE environment variable, use it
-if [ -n "$ES_INCLUDE" ]; then
- ES_ENV_FILE="$ES_INCLUDE"
-fi
-
-# Source the environment file
-if [ -n "$ES_ENV_FILE" ]; then
-
- # If the ES_ENV_FILE is not found, try to resolve the path
- # against the ES_HOME directory
- if [ ! -f "$ES_ENV_FILE" ]; then
- ES_ENV_FILE="$ELASTIC_HOME/$ES_ENV_FILE"
- fi
-
- . "$ES_ENV_FILE"
- if [ $? -ne 0 ]; then
- echo "Unable to source environment file: $ES_ENV_FILE" >&2
- exit 1
- fi
-fi
-
-if [ -x "$JAVA_HOME/bin/java" ]; then
- JAVA=$JAVA_HOME/bin/java
-else
- JAVA=`which java`
-fi
-
-# real getopt cannot be used because we need to hand options over to the PluginManager
-while [ $# -gt 0 ]; do
- case $1 in
- -D*=*)
- properties="$properties $1"
- ;;
- -D*)
- var=$1
- shift
- properties="$properties $var=$1"
- ;;
- *)
- args="$args $1"
- esac
- shift
-done
-
-# check if properties already has a config file or config dir
-if [ -e "$CONF_DIR" ]; then
- case "$properties" in
- *-Des.default.path.conf=*|*-Des.path.conf=*)
- ;;
- *)
- properties="$properties -Des.default.path.conf=$CONF_DIR"
- ;;
- esac
-fi
-
-if [ -e "$CONF_FILE" ]; then
- case "$properties" in
- *-Des.default.config=*|*-Des.config=*)
- ;;
- *)
- properties="$properties -Des.default.config=$CONF_FILE"
- ;;
- esac
-fi
-
-export HOSTNAME=`hostname -s`
-
-exec "$JAVA" $JAVA_OPTS $ES_JAVA_OPTS -Xmx64m -Xms16m -Delasticsearch -Des.path.home="$ES_HOME" $properties -cp "$ES_HOME/lib/*" org.elasticsearch.plugins.PluginManagerCliParser $args
diff --git a/core/bin/plugin.bat b/core/bin/plugin.bat
deleted file mode 100644
index a5e593ceee..0000000000
--- a/core/bin/plugin.bat
+++ /dev/null
@@ -1,25 +0,0 @@
-@echo off
-
-SETLOCAL
-
-if NOT DEFINED JAVA_HOME goto err
-
-set SCRIPT_DIR=%~dp0
-for %%I in ("%SCRIPT_DIR%..") do set ES_HOME=%%~dpfI
-
-TITLE Elasticsearch Plugin Manager ${project.version}
-
-SET HOSTNAME=%COMPUTERNAME%
-
-"%JAVA_HOME%\bin\java" %JAVA_OPTS% %ES_JAVA_OPTS% -Xmx64m -Xms16m -Des.path.home="%ES_HOME%" -cp "%ES_HOME%/lib/*;" "org.elasticsearch.plugins.PluginManagerCliParser" %*
-goto finally
-
-
-:err
-echo JAVA_HOME environment variable must be set!
-pause
-
-
-:finally
-
-ENDLOCAL
diff --git a/core/bin/service.bat b/core/bin/service.bat
deleted file mode 100644
index a20d6e252a..0000000000
--- a/core/bin/service.bat
+++ /dev/null
@@ -1,202 +0,0 @@
-@echo off
-SETLOCAL
-
-TITLE Elasticsearch Service ${project.version}
-
-if NOT DEFINED JAVA_HOME goto err
-
-set SCRIPT_DIR=%~dp0
-for %%I in ("%SCRIPT_DIR%..") do set ES_HOME=%%~dpfI
-
-rem Detect JVM version to figure out appropriate executable to use
-if not exist "%JAVA_HOME%\bin\java.exe" (
-echo JAVA_HOME points to an invalid Java installation (no java.exe found in "%JAVA_HOME%"^). Exiting...
-goto:eof
-)
-"%JAVA_HOME%\bin\java" -version 2>&1 | "%windir%\System32\find" "64-Bit" >nul:
-
-if errorlevel 1 goto x86
-set EXECUTABLE=%ES_HOME%\bin\elasticsearch-service-x64.exe
-set SERVICE_ID=elasticsearch-service-x64
-set ARCH=64-bit
-goto checkExe
-
-:x86
-set EXECUTABLE=%ES_HOME%\bin\elasticsearch-service-x86.exe
-set SERVICE_ID=elasticsearch-service-x86
-set ARCH=32-bit
-
-:checkExe
-if EXIST "%EXECUTABLE%" goto okExe
-echo elasticsearch-service-(x86|x64).exe was not found...
-
-:okExe
-set ES_VERSION=${project.version}
-
-if "%LOG_DIR%" == "" set LOG_DIR=%ES_HOME%\logs
-
-if "x%1x" == "xx" goto displayUsage
-set SERVICE_CMD=%1
-shift
-if "x%1x" == "xx" goto checkServiceCmd
-set SERVICE_ID=%1
-
-:checkServiceCmd
-
-if "%LOG_OPTS%" == "" set LOG_OPTS=--LogPath "%LOG_DIR%" --LogPrefix "%SERVICE_ID%" --StdError auto --StdOutput auto
-
-if /i %SERVICE_CMD% == install goto doInstall
-if /i %SERVICE_CMD% == remove goto doRemove
-if /i %SERVICE_CMD% == start goto doStart
-if /i %SERVICE_CMD% == stop goto doStop
-if /i %SERVICE_CMD% == manager goto doManagment
-echo Unknown option "%SERVICE_CMD%"
-
-:displayUsage
-echo.
-echo Usage: service.bat install^|remove^|start^|stop^|manager [SERVICE_ID]
-goto:eof
-
-:doStart
-"%EXECUTABLE%" //ES//%SERVICE_ID% %LOG_OPTS%
-if not errorlevel 1 goto started
-echo Failed starting '%SERVICE_ID%' service
-goto:eof
-:started
-echo The service '%SERVICE_ID%' has been started
-goto:eof
-
-:doStop
-"%EXECUTABLE%" //SS//%SERVICE_ID% %LOG_OPTS%
-if not errorlevel 1 goto stopped
-echo Failed stopping '%SERVICE_ID%' service
-goto:eof
-:stopped
-echo The service '%SERVICE_ID%' has been stopped
-goto:eof
-
-:doManagment
-set EXECUTABLE_MGR=%ES_HOME%\bin\elasticsearch-service-mgr.exe
-"%EXECUTABLE_MGR%" //ES//%SERVICE_ID%
-if not errorlevel 1 goto managed
-echo Failed starting service manager for '%SERVICE_ID%'
-goto:eof
-:managed
-echo Successfully started service manager for '%SERVICE_ID%'.
-goto:eof
-
-:doRemove
-rem Remove the service
-"%EXECUTABLE%" //DS//%SERVICE_ID% %LOG_OPTS%
-if not errorlevel 1 goto removed
-echo Failed removing '%SERVICE_ID%' service
-goto:eof
-:removed
-echo The service '%SERVICE_ID%' has been removed
-goto:eof
-
-:doInstall
-echo Installing service : "%SERVICE_ID%"
-echo Using JAVA_HOME (%ARCH%): "%JAVA_HOME%"
-
-rem Check JVM server dll first
-set JVM_DLL=%JAVA_HOME%\jre\bin\server\jvm.dll
-if exist "%JVM_DLL%" goto foundJVM
-
-rem Check 'server' JRE (JRE installed on Windows Server)
-set JVM_DLL=%JAVA_HOME%\bin\server\jvm.dll
-if exist "%JVM_DLL%" goto foundJVM
-
-rem Fallback to 'client' JRE
-set JVM_DLL=%JAVA_HOME%\bin\client\jvm.dll
-
-if exist "%JVM_DLL%" (
-echo Warning: JAVA_HOME points to a JRE and not JDK installation; a client (not a server^) JVM will be used...
-) else (
-echo JAVA_HOME points to an invalid Java installation (no jvm.dll found in "%JAVA_HOME%"^). Existing...
-goto:eof
-)
-
-:foundJVM
-if "%ES_MIN_MEM%" == "" set ES_MIN_MEM=${packaging.elasticsearch.heap.min}
-if "%ES_MAX_MEM%" == "" set ES_MAX_MEM=${packaging.elasticsearch.heap.max}
-
-if NOT "%ES_HEAP_SIZE%" == "" set ES_MIN_MEM=%ES_HEAP_SIZE%
-if NOT "%ES_HEAP_SIZE%" == "" set ES_MAX_MEM=%ES_HEAP_SIZE%
-
-call:convertxm %ES_MIN_MEM% JVM_XMS
-call:convertxm %ES_MAX_MEM% JVM_XMX
-
-REM java_opts might be empty - init to avoid tripping commons daemon (if the command starts with ;)
-if "%JAVA_OPTS%" == "" set JAVA_OPTS=-XX:+UseParNewGC
-
-CALL "%ES_HOME%\bin\elasticsearch.in.bat"
-
-rem thread stack size
-set JVM_SS=256
-
-if "%DATA_DIR%" == "" set DATA_DIR=%ES_HOME%\data
-
-if "%CONF_DIR%" == "" set CONF_DIR=%ES_HOME%\config
-
-if "%CONF_FILE%" == "" set CONF_FILE=%ES_HOME%\config\elasticsearch.yml
-
-set ES_PARAMS=-Delasticsearch;-Des.path.home="%ES_HOME%";-Des.default.config="%CONF_FILE%";-Des.default.path.home="%ES_HOME%";-Des.default.path.logs="%LOG_DIR%";-Des.default.path.data="%DATA_DIR%";-Des.default.path.conf="%CONF_DIR%"
-
-set JVM_OPTS=%JAVA_OPTS: =;%
-
-if not "%ES_JAVA_OPTS%" == "" set JVM_ES_JAVA_OPTS=%ES_JAVA_OPTS: =#%
-if not "%ES_JAVA_OPTS%" == "" set JVM_OPTS=%JVM_OPTS%;%JVM_ES_JAVA_OPTS%
-
-if "%ES_START_TYPE%" == "" set ES_START_TYPE=manual
-if "%ES_STOP_TIMEOUT%" == "" set ES_STOP_TIMEOUT=0
-
-"%EXECUTABLE%" //IS//%SERVICE_ID% --Startup %ES_START_TYPE% --StopTimeout %ES_STOP_TIMEOUT% --StartClass org.elasticsearch.bootstrap.Elasticsearch --StopClass org.elasticsearch.bootstrap.Elasticsearch --StartMethod main --StopMethod close --Classpath "%ES_CLASSPATH%" --JvmSs %JVM_SS% --JvmMs %JVM_XMS% --JvmMx %JVM_XMX% --JvmOptions %JVM_OPTS% ++JvmOptions %ES_PARAMS% %LOG_OPTS% --PidFile "%SERVICE_ID%.pid" --DisplayName "Elasticsearch %ES_VERSION% (%SERVICE_ID%)" --Description "Elasticsearch %ES_VERSION% Windows Service - http://elasticsearch.org" --Jvm "%JVM_DLL%" --StartMode jvm --StopMode jvm --StartPath "%ES_HOME%"
-
-
-if not errorlevel 1 goto installed
-echo Failed installing '%SERVICE_ID%' service
-goto:eof
-
-:installed
-echo The service '%SERVICE_ID%' has been installed.
-goto:eof
-
-:err
-echo JAVA_HOME environment variable must be set!
-pause
-goto:eof
-
-rem ---
-rem Function for converting Xm[s|x] values into MB which Commons Daemon accepts
-rem ---
-:convertxm
-set value=%~1
-rem extract last char (unit)
-set unit=%value:~-1%
-rem assume the unit is specified
-set conv=%value:~0,-1%
-
-if "%unit%" == "k" goto kilo
-if "%unit%" == "K" goto kilo
-if "%unit%" == "m" goto mega
-if "%unit%" == "M" goto mega
-if "%unit%" == "g" goto giga
-if "%unit%" == "G" goto giga
-
-rem no unit found, must be bytes; consider the whole value
-set conv=%value%
-rem convert to KB
-set /a conv=%conv% / 1024
-:kilo
-rem convert to MB
-set /a conv=%conv% / 1024
-goto mega
-:giga
-rem convert to MB
-set /a conv=%conv% * 1024
-:mega
-set "%~2=%conv%"
-goto:eof
-
-ENDLOCAL
diff --git a/core/config/elasticsearch.yml b/core/config/elasticsearch.yml
deleted file mode 100644
index b3baf765b3..0000000000
--- a/core/config/elasticsearch.yml
+++ /dev/null
@@ -1,99 +0,0 @@
-# ======================== Elasticsearch Configuration =========================
-#
-# NOTE: Elasticsearch comes with reasonable defaults for most settings.
-# Before you set out to tweak and tune the configuration, make sure you
-# understand what are you trying to accomplish and the consequences.
-#
-# The primary way of configuring a node is via this file. This template lists
-# the most important settings you may want to configure for a production cluster.
-#
-# Please see the documentation for further information on configuration options:
-# <http://www.elastic.co/guide/en/elasticsearch/reference/current/setup-configuration.html>
-#
-# ---------------------------------- Cluster -----------------------------------
-#
-# Use a descriptive name for your cluster:
-#
-# cluster.name: my-application
-#
-# ------------------------------------ Node ------------------------------------
-#
-# Use a descriptive name for the node:
-#
-# node.name: node-1
-#
-# Add custom attributes to the node:
-#
-# node.rack: r1
-#
-# ----------------------------------- Paths ------------------------------------
-#
-# Path to directory where to store the data (separate multiple locations by comma):
-#
-# path.data: /path/to/data
-#
-# Path to log files:
-#
-# path.logs: /path/to/logs
-#
-# ----------------------------------- Memory -----------------------------------
-#
-# Lock the memory on startup:
-#
-# bootstrap.mlockall: true
-#
-# Make sure that the `ES_HEAP_SIZE` environment variable is set to about half the memory
-# available on the system and that the owner of the process is allowed to use this limit.
-#
-# Elasticsearch performs poorly when the system is swapping the memory.
-#
-# ---------------------------------- Network -----------------------------------
-#
-# Set the bind adress to a specific IP (IPv4 or IPv6):
-#
-# network.host: 192.168.0.1
-#
-# Set a custom port for HTTP:
-#
-# http.port: 9200
-#
-# For more information, see the documentation at:
-# <http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-network.html>
-#
-# ---------------------------------- Gateway -----------------------------------
-#
-# Block initial recovery after a full cluster restart until N nodes are started:
-#
-# gateway.recover_after_nodes: 3
-#
-# For more information, see the documentation at:
-# <http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-gateway.html>
-#
-# --------------------------------- Discovery ----------------------------------
-#
-# Elasticsearch nodes will find each other via multicast, by default.
-#
-# To use the unicast discovery, disable the multicast discovery:
-#
-# discovery.zen.ping.multicast.enabled: false
-#
-# Pass an initial list of hosts to perform discovery when new node is started:
-#
-# discovery.zen.ping.unicast.hosts: ["host1", "host2"]
-#
-# Prevent the "split brain" by configuring the majority of nodes (total number of nodes / 2 + 1):
-#
-# discovery.zen.minimum_master_nodes: 3
-#
-# For more information, see the documentation at:
-# <http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery.html>
-#
-# ---------------------------------- Various -----------------------------------
-#
-# Disable starting multiple nodes on a single system:
-#
-# node.max_local_storage_nodes: 1
-#
-# Require explicit names when deleting indices:
-#
-# action.destructive_requires_name: true
diff --git a/core/config/logging.yml b/core/config/logging.yml
deleted file mode 100644
index 035106eeec..0000000000
--- a/core/config/logging.yml
+++ /dev/null
@@ -1,81 +0,0 @@
-# you can override this using by setting a system property, for example -Des.logger.level=DEBUG
-es.logger.level: INFO
-rootLogger: ${es.logger.level}, console, file
-logger:
- # log action execution errors for easier debugging
- action: DEBUG
-
- # deprecation logging, turn to DEBUG to see them
- deprecation: INFO, deprecation_log_file
-
- # reduce the logging for aws, too much is logged under the default INFO
- com.amazonaws: WARN
- org.apache.http: INFO
-
- # gateway
- #gateway: DEBUG
- #index.gateway: DEBUG
-
- # peer shard recovery
- #indices.recovery: DEBUG
-
- # discovery
- #discovery: TRACE
-
- index.search.slowlog: TRACE, index_search_slow_log_file
- index.indexing.slowlog: TRACE, index_indexing_slow_log_file
-
-additivity:
- index.search.slowlog: false
- index.indexing.slowlog: false
- deprecation: false
-
-appender:
- console:
- type: console
- layout:
- type: consolePattern
- conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"
-
- file:
- type: dailyRollingFile
- file: ${path.logs}/${cluster.name}.log
- datePattern: "'.'yyyy-MM-dd"
- layout:
- type: pattern
- conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %.10000m%n"
-
- # Use the following log4j-extras RollingFileAppender to enable gzip compression of log files.
- # For more information see https://logging.apache.org/log4j/extras/apidocs/org/apache/log4j/rolling/RollingFileAppender.html
- #file:
- #type: extrasRollingFile
- #file: ${path.logs}/${cluster.name}.log
- #rollingPolicy: timeBased
- #rollingPolicy.FileNamePattern: ${path.logs}/${cluster.name}.log.%d{yyyy-MM-dd}.gz
- #layout:
- #type: pattern
- #conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"
-
- deprecation_log_file:
- type: dailyRollingFile
- file: ${path.logs}/${cluster.name}_deprecation.log
- datePattern: "'.'yyyy-MM-dd"
- layout:
- type: pattern
- conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"
-
- index_search_slow_log_file:
- type: dailyRollingFile
- file: ${path.logs}/${cluster.name}_index_search_slowlog.log
- datePattern: "'.'yyyy-MM-dd"
- layout:
- type: pattern
- conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"
-
- index_indexing_slow_log_file:
- type: dailyRollingFile
- file: ${path.logs}/${cluster.name}_index_indexing_slowlog.log
- datePattern: "'.'yyyy-MM-dd"
- layout:
- type: pattern
- conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"
diff --git a/core/licenses/HdrHistogram-2.1.5.jar.sha1 b/core/licenses/HdrHistogram-2.1.5.jar.sha1
deleted file mode 100644
index 8a74670eab..0000000000
--- a/core/licenses/HdrHistogram-2.1.5.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-d1831874fb3c769fd126c4826e69e6b40c703ee0
diff --git a/core/licenses/HdrHistogram-LICENSE.txt b/core/licenses/HdrHistogram-LICENSE.txt
deleted file mode 100644
index c9473ed5fa..0000000000
--- a/core/licenses/HdrHistogram-LICENSE.txt
+++ /dev/null
@@ -1,41 +0,0 @@
-The code in this repository code was Written by Gil Tene, Michael Barker,
-and Matt Warren, and released to the public domain, as explained at
-http://creativecommons.org/publicdomain/zero/1.0/
-
-For users of this code who wish to consume it under the "BSD" license
-rather than under the public domain or CC0 contribution text mentioned
-above, the code found under this directory is *also* provided under the
-following license (commonly referred to as the BSD 2-Clause License). This
-license does not detract from the above stated release of the code into
-the public domain, and simply represents an additional license granted by
-the Author.
-
------------------------------------------------------------------------------
-** Beginning of "BSD 2-Clause License" text. **
-
- Copyright (c) 2012, 2013, 2014 Gil Tene
- Copyright (c) 2014 Michael Barker
- Copyright (c) 2014 Matt Warren
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- 1. Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
- 2. Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file
diff --git a/core/licenses/HdrHistogram-NOTICE.txt b/core/licenses/HdrHistogram-NOTICE.txt
deleted file mode 100644
index e69de29bb2..0000000000
--- a/core/licenses/HdrHistogram-NOTICE.txt
+++ /dev/null
diff --git a/core/licenses/antlr-runtime-3.5.jar.sha1 b/core/licenses/antlr-runtime-3.5.jar.sha1
deleted file mode 100644
index d90b777a4a..0000000000
--- a/core/licenses/antlr-runtime-3.5.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-0baa82bff19059401e90e1b90020beb9c96305d7
diff --git a/core/licenses/antlr-runtime-LICENSE.txt b/core/licenses/antlr-runtime-LICENSE.txt
deleted file mode 100644
index a6e3ad0850..0000000000
--- a/core/licenses/antlr-runtime-LICENSE.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-Copyright (c) 2012 Terence Parr and Sam Harwell
-All rights reserved.
-Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
-Neither the name of the author nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/core/licenses/antlr-runtime-NOTICE.txt b/core/licenses/antlr-runtime-NOTICE.txt
deleted file mode 100644
index 8d1c8b69c3..0000000000
--- a/core/licenses/antlr-runtime-NOTICE.txt
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/core/licenses/apache-log4j-extras-1.2.17.jar.sha1 b/core/licenses/apache-log4j-extras-1.2.17.jar.sha1
deleted file mode 100644
index 147721b891..0000000000
--- a/core/licenses/apache-log4j-extras-1.2.17.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-85863614d82185d7e51fe21c00aa9117a523a8b6
diff --git a/core/licenses/apache-log4j-extras-DEPENDENCIES b/core/licenses/apache-log4j-extras-DEPENDENCIES
deleted file mode 100644
index 499b71ef33..0000000000
--- a/core/licenses/apache-log4j-extras-DEPENDENCIES
+++ /dev/null
@@ -1,19 +0,0 @@
-// ------------------------------------------------------------------
-// Transitive dependencies of this project determined from the
-// maven pom organized by organization.
-// ------------------------------------------------------------------
-
-Apache Extras™ for Apache log4j™.
-
-
-From: 'an unknown organization'
- - geronimo-jms_1.1_spec org.apache.geronimo.specs:geronimo-jms_1.1_spec:jar:1.0
-
-
-From: 'Apache Software Foundation' (http://www.apache.org)
- - Apache Log4j (http://logging.apache.org/log4j/1.2/) log4j:log4j:bundle:1.2.17
- License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
-
-
-
-
diff --git a/core/licenses/apache-log4j-extras-LICENSE b/core/licenses/apache-log4j-extras-LICENSE
deleted file mode 100644
index 6279e5206d..0000000000
--- a/core/licenses/apache-log4j-extras-LICENSE
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright 1999-2005 The Apache Software Foundation
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
diff --git a/core/licenses/apache-log4j-extras-NOTICE b/core/licenses/apache-log4j-extras-NOTICE
deleted file mode 100644
index e02b7500ec..0000000000
--- a/core/licenses/apache-log4j-extras-NOTICE
+++ /dev/null
@@ -1,5 +0,0 @@
-Apache Extras Companion for log4j 1.2.
-Copyright 2007 The Apache Software Foundation
-
-This product includes software developed at
-The Apache Software Foundation (http://www.apache.org/). \ No newline at end of file
diff --git a/core/licenses/asm-4.1.jar.sha1 b/core/licenses/asm-4.1.jar.sha1
deleted file mode 100644
index fca9878081..0000000000
--- a/core/licenses/asm-4.1.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-ad568238ee36a820bd6c6806807e8a14ea34684d
diff --git a/core/licenses/asm-LICENSE.txt b/core/licenses/asm-LICENSE.txt
deleted file mode 100644
index afb064f2f2..0000000000
--- a/core/licenses/asm-LICENSE.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-Copyright (c) 2012 France Télécom
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions
-are met:
-1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-3. Neither the name of the copyright holders nor the names of its
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
-THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/core/licenses/asm-NOTICE.txt b/core/licenses/asm-NOTICE.txt
deleted file mode 100644
index 8d1c8b69c3..0000000000
--- a/core/licenses/asm-NOTICE.txt
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/core/licenses/asm-commons-4.1.jar.sha1 b/core/licenses/asm-commons-4.1.jar.sha1
deleted file mode 100644
index 2b534751bf..0000000000
--- a/core/licenses/asm-commons-4.1.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-f8b86f4ee6e02082f63a658e00eb5506821253c6
diff --git a/core/licenses/asm-commons-LICENSE.txt b/core/licenses/asm-commons-LICENSE.txt
deleted file mode 100644
index afb064f2f2..0000000000
--- a/core/licenses/asm-commons-LICENSE.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-Copyright (c) 2012 France Télécom
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions
-are met:
-1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-3. Neither the name of the copyright holders nor the names of its
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
-THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/core/licenses/asm-commons-NOTICE.txt b/core/licenses/asm-commons-NOTICE.txt
deleted file mode 100644
index 8d1c8b69c3..0000000000
--- a/core/licenses/asm-commons-NOTICE.txt
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/core/licenses/commons-cli-1.2.jar.sha1 b/core/licenses/commons-cli-1.2.jar.sha1
deleted file mode 100644
index 6dacb321cd..0000000000
--- a/core/licenses/commons-cli-1.2.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-2bf96b7aa8b611c177d329452af1dc933e14501c
diff --git a/core/licenses/commons-cli-LICENSE.txt b/core/licenses/commons-cli-LICENSE.txt
deleted file mode 100644
index 57bc88a15a..0000000000
--- a/core/licenses/commons-cli-LICENSE.txt
+++ /dev/null
@@ -1,202 +0,0 @@
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
diff --git a/core/licenses/commons-cli-NOTICE.txt b/core/licenses/commons-cli-NOTICE.txt
deleted file mode 100644
index 72eb32a902..0000000000
--- a/core/licenses/commons-cli-NOTICE.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Apache Commons CLI
-Copyright 2001-2009 The Apache Software Foundation
-
-This product includes software developed by
-The Apache Software Foundation (http://www.apache.org/).
diff --git a/core/licenses/commons-lang3-3.3.2.jar.sha1 b/core/licenses/commons-lang3-3.3.2.jar.sha1
deleted file mode 100644
index bdd913cf23..0000000000
--- a/core/licenses/commons-lang3-3.3.2.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-90a3822c38ec8c996e84c16a3477ef632cbc87a3
diff --git a/core/licenses/commons-lang3-LICENSE.txt b/core/licenses/commons-lang3-LICENSE.txt
deleted file mode 100644
index d645695673..0000000000
--- a/core/licenses/commons-lang3-LICENSE.txt
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
diff --git a/core/licenses/commons-lang3-NOTICE.txt b/core/licenses/commons-lang3-NOTICE.txt
deleted file mode 100644
index 078282451b..0000000000
--- a/core/licenses/commons-lang3-NOTICE.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-Apache Commons Lang
-Copyright 2001-2014 The Apache Software Foundation
-
-This product includes software developed at
-The Apache Software Foundation (http://www.apache.org/).
-
-This product includes software from the Spring Framework,
-under the Apache License 2.0 (see: StringUtils.containsWhitespace())
diff --git a/core/licenses/compiler-0.8.13.jar.sha1 b/core/licenses/compiler-0.8.13.jar.sha1
deleted file mode 100644
index dc15a10b03..0000000000
--- a/core/licenses/compiler-0.8.13.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-f92c71c9bf324fcb66fa07a0fc9c2729d67b8919
diff --git a/core/licenses/compiler-LICENSE.txt b/core/licenses/compiler-LICENSE.txt
deleted file mode 100644
index ac68303cc1..0000000000
--- a/core/licenses/compiler-LICENSE.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-Copyright 2010 RightTime, Inc.
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
diff --git a/core/licenses/compiler-NOTICE.txt b/core/licenses/compiler-NOTICE.txt
deleted file mode 100644
index 8d1c8b69c3..0000000000
--- a/core/licenses/compiler-NOTICE.txt
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/core/licenses/compress-lzf-1.0.2.jar.sha1 b/core/licenses/compress-lzf-1.0.2.jar.sha1
deleted file mode 100644
index 14e4a7f147..0000000000
--- a/core/licenses/compress-lzf-1.0.2.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-62896e6fca184c79cc01a14d143f3ae2b4f4b4ae
diff --git a/core/licenses/compress-lzf-LICENSE b/core/licenses/compress-lzf-LICENSE
deleted file mode 100644
index 8d6813f770..0000000000
--- a/core/licenses/compress-lzf-LICENSE
+++ /dev/null
@@ -1,8 +0,0 @@
-This copy of Compress-LZF library is licensed under the
-Apache (Software) License, version 2.0 ("the License").
-See the License for details about distribution rights, and the
-specific rights regarding derivate works.
-
-You may obtain a copy of the License at:
-
-http://www.apache.org/licenses/LICENSE-2.0
diff --git a/core/licenses/compress-lzf-NOTICE b/core/licenses/compress-lzf-NOTICE
deleted file mode 100644
index 382a800c80..0000000000
--- a/core/licenses/compress-lzf-NOTICE
+++ /dev/null
@@ -1,24 +0,0 @@
-# Compress LZF
-
-This library contains efficient implementation of LZF compression format,
-as well as additional helper classes that build on JDK-provided gzip (deflat)
-codec.
-
-## Licensing
-
-Library is licensed under Apache License 2.0, as per accompanying LICENSE file.
-
-## Credit
-
-Library has been written by Tatu Saloranta (tatu.saloranta@iki.fi).
-It was started at Ning, inc., as an official Open Source process used by
-platform backend, but after initial versions has been developed outside of
-Ning by supporting community.
-
-Other contributors include:
-
-* Jon Hartlaub (first versions of streaming reader/writer; unit tests)
-* Cedrik Lime: parallel LZF implementation
-
-Various community members have contributed bug reports, and suggested minor
-fixes; these can be found from file "VERSION.txt" in SCM.
diff --git a/core/licenses/groovy-all-2.4.4-indy.jar.sha1 b/core/licenses/groovy-all-2.4.4-indy.jar.sha1
deleted file mode 100644
index 458716cefd..0000000000
--- a/core/licenses/groovy-all-2.4.4-indy.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-574a15e35eba5f986a0564ae197c78e843ece954
diff --git a/core/licenses/groovy-all-LICENSE-ANTLR.txt b/core/licenses/groovy-all-LICENSE-ANTLR.txt
deleted file mode 100644
index d62cc1ab2d..0000000000
--- a/core/licenses/groovy-all-LICENSE-ANTLR.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-
-SOFTWARE RIGHTS
-
-ANTLR 1989-2006 Developed by Terence Parr
-Partially supported by University of San Francisco & jGuru.com
-
-We reserve no legal rights to the ANTLR--it is fully in the
-public domain. An individual or company may do whatever
-they wish with source code distributed with ANTLR or the
-code generated by ANTLR, including the incorporation of
-ANTLR, or its output, into commerical software.
-
-We encourage users to develop software with ANTLR. However,
-we do ask that credit is given to us for developing
-ANTLR. By "credit", we mean that if you use ANTLR or
-incorporate any source code into one of your programs
-(commercial product, research project, or otherwise) that
-you acknowledge this fact somewhere in the documentation,
-research report, etc... If you like ANTLR and have
-developed a nice tool with the output, please mention that
-you developed it using ANTLR. In addition, we ask that the
-headers remain intact in our source code. As long as these
-guidelines are kept, we expect to continue enhancing this
-system and expect to make other tools available as they are
-completed.
-
-The primary ANTLR guy:
-
-Terence Parr
-parrt@cs.usfca.edu
-parrt@antlr.org
diff --git a/core/licenses/groovy-all-LICENSE-ASM.txt b/core/licenses/groovy-all-LICENSE-ASM.txt
deleted file mode 100644
index ae898f7554..0000000000
--- a/core/licenses/groovy-all-LICENSE-ASM.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-/***
- * http://asm.objectweb.org/
- *
- * ASM: a very small and fast Java bytecode manipulation framework
- * Copyright (c) 2000-2005 INRIA, France Telecom
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. Neither the name of the copyright holders nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
diff --git a/core/licenses/groovy-all-LICENSE-CLI.txt b/core/licenses/groovy-all-LICENSE-CLI.txt
deleted file mode 100644
index 57bc88a15a..0000000000
--- a/core/licenses/groovy-all-LICENSE-CLI.txt
+++ /dev/null
@@ -1,202 +0,0 @@
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
diff --git a/core/licenses/groovy-all-LICENSE-JSR223.txt b/core/licenses/groovy-all-LICENSE-JSR223.txt
deleted file mode 100644
index b750c0f5f7..0000000000
--- a/core/licenses/groovy-all-LICENSE-JSR223.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-The following notice applies to the files:
-
-src/main/org/codehaus/groovy/jsr223/GroovyCompiledScript.java
-src/main/org/codehaus/groovy/jsr223/GroovyScriptEngineFactory.java
-src/main/org/codehaus/groovy/jsr223/GroovyScriptEngineImpl.java
-
-
-/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- *
- * Redistribution and use in source and binary forms, with or without modification, are
- * permitted provided that the following conditions are met: Redistributions of source code
- * must retain the above copyright notice, this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice, this list of
- * conditions and the following disclaimer in the documentation and/or other materials
- * provided with the distribution. Neither the name of the Sun Microsystems nor the names of
- * is contributors may be used to endorse or promote products derived from this software
- * without specific prior written permission.
-
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS
- * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
- * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
- * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
diff --git a/core/licenses/groovy-all-LICENSE.txt b/core/licenses/groovy-all-LICENSE.txt
deleted file mode 100644
index e0908d496f..0000000000
--- a/core/licenses/groovy-all-LICENSE.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
- \ No newline at end of file
diff --git a/core/licenses/groovy-all-NOTICE.txt b/core/licenses/groovy-all-NOTICE.txt
deleted file mode 100644
index 72eb32a902..0000000000
--- a/core/licenses/groovy-all-NOTICE.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Apache Commons CLI
-Copyright 2001-2009 The Apache Software Foundation
-
-This product includes software developed by
-The Apache Software Foundation (http://www.apache.org/).
diff --git a/core/licenses/guava-18.0.jar.sha1 b/core/licenses/guava-18.0.jar.sha1
deleted file mode 100644
index 4e97237b0b..0000000000
--- a/core/licenses/guava-18.0.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-cce0823396aa693798f8882e64213b1772032b09
diff --git a/core/licenses/guava-LICENSE.txt b/core/licenses/guava-LICENSE.txt
deleted file mode 100644
index d645695673..0000000000
--- a/core/licenses/guava-LICENSE.txt
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
diff --git a/core/licenses/guava-NOTICE.txt b/core/licenses/guava-NOTICE.txt
deleted file mode 100644
index 8d1c8b69c3..0000000000
--- a/core/licenses/guava-NOTICE.txt
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/core/licenses/hppc-0.7.1.jar.sha1 b/core/licenses/hppc-0.7.1.jar.sha1
deleted file mode 100644
index d3e00e1c47..0000000000
--- a/core/licenses/hppc-0.7.1.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-8b5057f74ea378c0150a1860874a3ebdcb713767
diff --git a/core/licenses/hppc-LICENSE.txt b/core/licenses/hppc-LICENSE.txt
deleted file mode 100644
index 31467575cd..0000000000
--- a/core/licenses/hppc-LICENSE.txt
+++ /dev/null
@@ -1,203 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright 2010-2013, Carrot Search s.c., Boznicza 11/56, Poznan, Poland
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
diff --git a/core/licenses/hppc-NOTICE.txt b/core/licenses/hppc-NOTICE.txt
deleted file mode 100644
index 1d8842c0bc..0000000000
--- a/core/licenses/hppc-NOTICE.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-ACKNOWLEDGEMENT
-===============
-
-HPPC borrowed code, ideas or both from:
-
- * Apache Lucene, http://lucene.apache.org/
- (Apache license)
- * Fastutil, http://fastutil.di.unimi.it/
- (Apache license)
- * Koloboke, https://github.com/OpenHFT/Koloboke
- (Apache license)
diff --git a/core/licenses/jackson-LICENSE b/core/licenses/jackson-LICENSE
deleted file mode 100644
index f5f45d26a4..0000000000
--- a/core/licenses/jackson-LICENSE
+++ /dev/null
@@ -1,8 +0,0 @@
-This copy of Jackson JSON processor streaming parser/generator is licensed under the
-Apache (Software) License, version 2.0 ("the License").
-See the License for details about distribution rights, and the
-specific rights regarding derivate works.
-
-You may obtain a copy of the License at:
-
-http://www.apache.org/licenses/LICENSE-2.0
diff --git a/core/licenses/jackson-NOTICE b/core/licenses/jackson-NOTICE
deleted file mode 100644
index 4c976b7b4c..0000000000
--- a/core/licenses/jackson-NOTICE
+++ /dev/null
@@ -1,20 +0,0 @@
-# Jackson JSON processor
-
-Jackson is a high-performance, Free/Open Source JSON processing library.
-It was originally written by Tatu Saloranta (tatu.saloranta@iki.fi), and has
-been in development since 2007.
-It is currently developed by a community of developers, as well as supported
-commercially by FasterXML.com.
-
-## Licensing
-
-Jackson core and extension components may licensed under different licenses.
-To find the details that apply to this artifact see the accompanying LICENSE file.
-For more information, including possible other licensing options, contact
-FasterXML.com (http://fasterxml.com).
-
-## Credits
-
-A list of contributors may be found from CREDITS file, which is included
-in some artifacts (usually source distributions); but is always available
-from the source code management (SCM) system project uses.
diff --git a/core/licenses/jackson-core-2.5.3.jar.sha1 b/core/licenses/jackson-core-2.5.3.jar.sha1
deleted file mode 100644
index 190d78c0fc..0000000000
--- a/core/licenses/jackson-core-2.5.3.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-a8b8a6dfc8a17890e4c7ff8aed810763d265b68b
diff --git a/core/licenses/jackson-dataformat-cbor-2.5.3.jar.sha1 b/core/licenses/jackson-dataformat-cbor-2.5.3.jar.sha1
deleted file mode 100644
index a93edd273b..0000000000
--- a/core/licenses/jackson-dataformat-cbor-2.5.3.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-0292edada1ec779903b9f45a8232533791588342
diff --git a/core/licenses/jackson-dataformat-smile-2.5.3.jar.sha1 b/core/licenses/jackson-dataformat-smile-2.5.3.jar.sha1
deleted file mode 100644
index 48a810b823..0000000000
--- a/core/licenses/jackson-dataformat-smile-2.5.3.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-8130f27e41d2bbe6ab4e9cde5f1162f8d51ed449
diff --git a/core/licenses/jackson-dataformat-yaml-2.5.3.jar.sha1 b/core/licenses/jackson-dataformat-yaml-2.5.3.jar.sha1
deleted file mode 100644
index 7e988feac9..0000000000
--- a/core/licenses/jackson-dataformat-yaml-2.5.3.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-8fc7e5a9911c3ab4b0dd7e74f12621681835e3fc
diff --git a/core/licenses/jna-4.1.0.jar.sha1 b/core/licenses/jna-4.1.0.jar.sha1
deleted file mode 100644
index 09ad909492..0000000000
--- a/core/licenses/jna-4.1.0.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-1c12d070e602efd8021891cdd7fd18bc129372d4
diff --git a/core/licenses/jna-LICENSE.txt b/core/licenses/jna-LICENSE.txt
deleted file mode 100644
index f433b1a53f..0000000000
--- a/core/licenses/jna-LICENSE.txt
+++ /dev/null
@@ -1,177 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
diff --git a/core/licenses/jna-NOTICE.txt b/core/licenses/jna-NOTICE.txt
deleted file mode 100644
index 8d1c8b69c3..0000000000
--- a/core/licenses/jna-NOTICE.txt
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/core/licenses/joda-convert-1.2.jar.sha1 b/core/licenses/joda-convert-1.2.jar.sha1
deleted file mode 100644
index 37c3e87058..0000000000
--- a/core/licenses/joda-convert-1.2.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-35ec554f0cd00c956cc69051514d9488b1374dec
diff --git a/core/licenses/joda-convert-LICENSE.txt b/core/licenses/joda-convert-LICENSE.txt
deleted file mode 100644
index 75b52484ea..0000000000
--- a/core/licenses/joda-convert-LICENSE.txt
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
diff --git a/core/licenses/joda-convert-NOTICE.txt b/core/licenses/joda-convert-NOTICE.txt
deleted file mode 100644
index ac95834168..0000000000
--- a/core/licenses/joda-convert-NOTICE.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-=============================================================================
-= NOTICE file corresponding to section 4d of the Apache License Version 2.0 =
-=============================================================================
-This product includes software developed by
-Joda.org (http://www.joda.org/).
diff --git a/core/licenses/joda-time-2.8.jar.sha1 b/core/licenses/joda-time-2.8.jar.sha1
deleted file mode 100644
index 4e181bf932..0000000000
--- a/core/licenses/joda-time-2.8.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-9f2785d7184b97d005a44241ccaf980f43b9ccdb
diff --git a/core/licenses/joda-time-LICENSE.txt b/core/licenses/joda-time-LICENSE.txt
deleted file mode 100644
index 75b52484ea..0000000000
--- a/core/licenses/joda-time-LICENSE.txt
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
diff --git a/core/licenses/joda-time-NOTICE.txt b/core/licenses/joda-time-NOTICE.txt
deleted file mode 100644
index ac95834168..0000000000
--- a/core/licenses/joda-time-NOTICE.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-=============================================================================
-= NOTICE file corresponding to section 4d of the Apache License Version 2.0 =
-=============================================================================
-This product includes software developed by
-Joda.org (http://www.joda.org/).
diff --git a/core/licenses/jsr166e-1.1.0.jar.sha1 b/core/licenses/jsr166e-1.1.0.jar.sha1
deleted file mode 100644
index 8457fdff43..0000000000
--- a/core/licenses/jsr166e-1.1.0.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-233098147123ee5ddcd39ffc57ff648be4b7e5b2
diff --git a/core/licenses/jsr166e-LICENSE b/core/licenses/jsr166e-LICENSE
deleted file mode 100644
index 897fe057df..0000000000
--- a/core/licenses/jsr166e-LICENSE
+++ /dev/null
@@ -1,1050 +0,0 @@
-
-
-
-<!DOCTYPE html>
-<html lang="en" class="">
- <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# object: http://ogp.me/ns/object# article: http://ogp.me/ns/article# profile: http://ogp.me/ns/profile#">
- <meta charset='utf-8'>
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta http-equiv="Content-Language" content="en">
-
-
- <title>jsr166e/LICENSE at master · twitter/jsr166e · GitHub</title>
- <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub">
- <link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub">
- <link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-114.png">
- <link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114.png">
- <link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-144.png">
- <link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144.png">
- <meta property="fb:app_id" content="1401488693436528">
-
- <meta content="@github" name="twitter:site" /><meta content="summary" name="twitter:card" /><meta content="twitter/jsr166e" name="twitter:title" /><meta content="jsr166e - JSR166e for Twitter" name="twitter:description" /><meta content="https://avatars3.githubusercontent.com/u/50278?v=3&amp;s=400" name="twitter:image:src" />
- <meta content="GitHub" property="og:site_name" /><meta content="object" property="og:type" /><meta content="https://avatars3.githubusercontent.com/u/50278?v=3&amp;s=400" property="og:image" /><meta content="twitter/jsr166e" property="og:title" /><meta content="https://github.com/twitter/jsr166e" property="og:url" /><meta content="jsr166e - JSR166e for Twitter" property="og:description" />
- <meta name="browser-stats-url" content="https://api.github.com/_private/browser/stats">
- <meta name="browser-errors-url" content="https://api.github.com/_private/browser/errors">
- <link rel="assets" href="https://assets-cdn.github.com/">
-
- <meta name="pjax-timeout" content="1000">
-
-
- <meta name="msapplication-TileImage" content="/windows-tile.png">
- <meta name="msapplication-TileColor" content="#ffffff">
- <meta name="selected-link" value="repo_source" data-pjax-transient>
-
- <meta name="google-analytics" content="UA-3769691-2">
-
- <meta content="collector.githubapp.com" name="octolytics-host" /><meta content="collector-cdn.github.com" name="octolytics-script-host" /><meta content="github" name="octolytics-app-id" /><meta content="5DDC664B:1224:764FEE3:559198CA" name="octolytics-dimension-request_id" />
-
- <meta content="Rails, view, blob#show" name="analytics-event" />
- <meta class="js-ga-set" name="dimension1" content="Logged Out">
- <meta name="is-dotcom" content="true">
- <meta name="hostname" content="github.com">
- <meta name="user-login" content="">
-
- <link rel="icon" sizes="any" mask href="https://assets-cdn.github.com/pinned-octocat.svg">
- <meta name="theme-color" content="#4078c0">
- <link rel="icon" type="image/x-icon" href="https://assets-cdn.github.com/favicon.ico">
-
-
- <meta content="authenticity_token" name="csrf-param" />
-<meta content="YAGONOPXBMfqX/pPWj3YR+j2DkWsjgW8Gni5MpP/FWPn4Zcul6M6i/n493IqzL0GsC7p161d9sSP29QiY6D/tA==" name="csrf-token" />
-
- <link crossorigin="anonymous" href="https://assets-cdn.github.com/assets/github/index-232355eb24f646c56e2cef71efc9093523c9a76ad362429a9da14b5d6f60c0e0.css" media="all" rel="stylesheet" />
- <link crossorigin="anonymous" href="https://assets-cdn.github.com/assets/github2/index-53b81bbd58011083c0ec0ad891de925f2dc177a927a56ebeed25af072f386e72.css" media="all" rel="stylesheet" />
-
-
-
-
- <meta http-equiv="x-pjax-version" content="4bee42fe71c3e1bf7aa2517c717d9e3a">
-
-
- <meta name="description" content="jsr166e - JSR166e for Twitter">
- <meta name="go-import" content="github.com/twitter/jsr166e git https://github.com/twitter/jsr166e.git">
-
- <meta content="50278" name="octolytics-dimension-user_id" /><meta content="twitter" name="octolytics-dimension-user_login" /><meta content="9553526" name="octolytics-dimension-repository_id" /><meta content="twitter/jsr166e" name="octolytics-dimension-repository_nwo" /><meta content="true" name="octolytics-dimension-repository_public" /><meta content="false" name="octolytics-dimension-repository_is_fork" /><meta content="9553526" name="octolytics-dimension-repository_network_root_id" /><meta content="twitter/jsr166e" name="octolytics-dimension-repository_network_root_nwo" />
- <link href="https://github.com/twitter/jsr166e/commits/master.atom" rel="alternate" title="Recent Commits to jsr166e:master" type="application/atom+xml">
-
- </head>
-
-
- <body class="logged_out env-production vis-public page-blob">
- <a href="#start-of-content" tabindex="1" class="accessibility-aid js-skip-to-content">Skip to content</a>
- <div class="wrapper">
-
-
-
-
-
-
-
- <div class="header header-logged-out" role="banner">
- <div class="container clearfix">
-
- <a class="header-logo-wordmark" href="https://github.com/" data-ga-click="(Logged out) Header, go to homepage, icon:logo-wordmark">
- <span class="mega-octicon octicon-logo-github"></span>
- </a>
-
- <div class="header-actions" role="navigation">
- <a class="btn btn-primary" href="/join" data-ga-click="(Logged out) Header, clicked Sign up, text:sign-up">Sign up</a>
- <a class="btn" href="/login?return_to=%2Ftwitter%2Fjsr166e%2Fblob%2Fmaster%2FLICENSE" data-ga-click="(Logged out) Header, clicked Sign in, text:sign-in">Sign in</a>
- </div>
-
- <div class="site-search repo-scope js-site-search" role="search">
- <form accept-charset="UTF-8" action="/twitter/jsr166e/search" class="js-site-search-form" data-global-search-url="/search" data-repo-search-url="/twitter/jsr166e/search" method="get"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="&#x2713;" /></div>
- <label class="js-chromeless-input-container form-control">
- <div class="scope-badge">This repository</div>
- <input type="text"
- class="js-site-search-focus js-site-search-field is-clearable chromeless-input"
- data-hotkey="s"
- name="q"
- placeholder="Search"
- data-global-scope-placeholder="Search GitHub"
- data-repo-scope-placeholder="Search"
- tabindex="1"
- autocapitalize="off">
- </label>
-</form>
- </div>
-
- <ul class="header-nav left" role="navigation">
- <li class="header-nav-item">
- <a class="header-nav-link" href="/explore" data-ga-click="(Logged out) Header, go to explore, text:explore">Explore</a>
- </li>
- <li class="header-nav-item">
- <a class="header-nav-link" href="/features" data-ga-click="(Logged out) Header, go to features, text:features">Features</a>
- </li>
- <li class="header-nav-item">
- <a class="header-nav-link" href="https://enterprise.github.com/" data-ga-click="(Logged out) Header, go to enterprise, text:enterprise">Enterprise</a>
- </li>
- <li class="header-nav-item">
- <a class="header-nav-link" href="/blog" data-ga-click="(Logged out) Header, go to blog, text:blog">Blog</a>
- </li>
- </ul>
-
- </div>
-</div>
-
-
-
- <div id="start-of-content" class="accessibility-aid"></div>
- <div class="site" itemscope itemtype="http://schema.org/WebPage">
- <div id="js-flash-container">
-
- </div>
- <div class="pagehead repohead instapaper_ignore readability-menu">
- <div class="container">
-
-
-<ul class="pagehead-actions">
-
- <li>
- <a href="/login?return_to=%2Ftwitter%2Fjsr166e"
- class="btn btn-sm btn-with-count tooltipped tooltipped-n"
- aria-label="You must be signed in to watch a repository" rel="nofollow">
- <span class="octicon octicon-eye"></span>
- Watch
- </a>
- <a class="social-count" href="/twitter/jsr166e/watchers">
- 192
- </a>
-
- </li>
-
- <li>
- <a href="/login?return_to=%2Ftwitter%2Fjsr166e"
- class="btn btn-sm btn-with-count tooltipped tooltipped-n"
- aria-label="You must be signed in to star a repository" rel="nofollow">
- <span class="octicon octicon-star"></span>
- Star
- </a>
-
- <a class="social-count js-social-count" href="/twitter/jsr166e/stargazers">
- 13
- </a>
-
- </li>
-
- <li>
- <a href="/login?return_to=%2Ftwitter%2Fjsr166e"
- class="btn btn-sm btn-with-count tooltipped tooltipped-n"
- aria-label="You must be signed in to fork a repository" rel="nofollow">
- <span class="octicon octicon-repo-forked"></span>
- Fork
- </a>
- <a href="/twitter/jsr166e/network" class="social-count">
- 2
- </a>
- </li>
-</ul>
-
- <h1 itemscope itemtype="http://data-vocabulary.org/Breadcrumb" class="entry-title public">
- <span class="mega-octicon octicon-repo"></span>
- <span class="author"><a href="/twitter" class="url fn" itemprop="url" rel="author"><span itemprop="title">twitter</span></a></span><!--
- --><span class="path-divider">/</span><!--
- --><strong><a href="/twitter/jsr166e" data-pjax="#js-repo-pjax-container">jsr166e</a></strong>
-
- <span class="page-context-loader">
- <img alt="" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
- </span>
-
- </h1>
- </div><!-- /.container -->
- </div><!-- /.repohead -->
-
- <div class="container">
- <div class="repository-with-sidebar repo-container new-discussion-timeline ">
- <div class="repository-sidebar clearfix">
-
-<nav class="sunken-menu repo-nav js-repo-nav js-sidenav-container-pjax js-octicon-loaders"
- role="navigation"
- data-pjax="#js-repo-pjax-container"
- data-issue-count-url="/twitter/jsr166e/issues/counts">
- <ul class="sunken-menu-group">
- <li class="tooltipped tooltipped-w" aria-label="Code">
- <a href="/twitter/jsr166e" aria-label="Code" class="selected js-selected-navigation-item sunken-menu-item" data-hotkey="g c" data-selected-links="repo_source repo_downloads repo_commits repo_releases repo_tags repo_branches /twitter/jsr166e">
- <span class="octicon octicon-code"></span> <span class="full-word">Code</span>
- <img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
-</a> </li>
-
- <li class="tooltipped tooltipped-w" aria-label="Issues">
- <a href="/twitter/jsr166e/issues" aria-label="Issues" class="js-selected-navigation-item sunken-menu-item" data-hotkey="g i" data-selected-links="repo_issues repo_labels repo_milestones /twitter/jsr166e/issues">
- <span class="octicon octicon-issue-opened"></span> <span class="full-word">Issues</span>
- <span class="js-issue-replace-counter"></span>
- <img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
-</a> </li>
-
- <li class="tooltipped tooltipped-w" aria-label="Pull requests">
- <a href="/twitter/jsr166e/pulls" aria-label="Pull requests" class="js-selected-navigation-item sunken-menu-item" data-hotkey="g p" data-selected-links="repo_pulls /twitter/jsr166e/pulls">
- <span class="octicon octicon-git-pull-request"></span> <span class="full-word">Pull requests</span>
- <span class="js-pull-replace-counter"></span>
- <img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
-</a> </li>
-
- </ul>
- <div class="sunken-menu-separator"></div>
- <ul class="sunken-menu-group">
-
- <li class="tooltipped tooltipped-w" aria-label="Pulse">
- <a href="/twitter/jsr166e/pulse" aria-label="Pulse" class="js-selected-navigation-item sunken-menu-item" data-selected-links="pulse /twitter/jsr166e/pulse">
- <span class="octicon octicon-pulse"></span> <span class="full-word">Pulse</span>
- <img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
-</a> </li>
-
- <li class="tooltipped tooltipped-w" aria-label="Graphs">
- <a href="/twitter/jsr166e/graphs" aria-label="Graphs" class="js-selected-navigation-item sunken-menu-item" data-selected-links="repo_graphs repo_contributors /twitter/jsr166e/graphs">
- <span class="octicon octicon-graph"></span> <span class="full-word">Graphs</span>
- <img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
-</a> </li>
- </ul>
-
-
-</nav>
-
- <div class="only-with-full-nav">
-
-<div class="js-clone-url clone-url open"
- data-protocol-type="http">
- <h3><span class="text-emphasized">HTTPS</span> clone URL</h3>
- <div class="input-group js-zeroclipboard-container">
- <input type="text" class="input-mini input-monospace js-url-field js-zeroclipboard-target"
- value="https://github.com/twitter/jsr166e.git" readonly="readonly">
- <span class="input-group-button">
- <button aria-label="Copy to clipboard" class="js-zeroclipboard btn btn-sm zeroclipboard-button tooltipped tooltipped-s" data-copied-hint="Copied!" type="button"><span class="octicon octicon-clippy"></span></button>
- </span>
- </div>
-</div>
-
-
-<div class="js-clone-url clone-url "
- data-protocol-type="subversion">
- <h3><span class="text-emphasized">Subversion</span> checkout URL</h3>
- <div class="input-group js-zeroclipboard-container">
- <input type="text" class="input-mini input-monospace js-url-field js-zeroclipboard-target"
- value="https://github.com/twitter/jsr166e" readonly="readonly">
- <span class="input-group-button">
- <button aria-label="Copy to clipboard" class="js-zeroclipboard btn btn-sm zeroclipboard-button tooltipped tooltipped-s" data-copied-hint="Copied!" type="button"><span class="octicon octicon-clippy"></span></button>
- </span>
- </div>
-</div>
-
-
-
-<div class="clone-options">You can clone with
- <form accept-charset="UTF-8" action="/users/set_protocol?protocol_selector=http&amp;protocol_type=clone" class="inline-form js-clone-selector-form " data-remote="true" method="post"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="&#x2713;" /><input name="authenticity_token" type="hidden" value="Tbr6tkd91fCQUrALhuHW4nsGAjNk507ZVRFAssFHxA2sK0jgtcgflPXaOSLax2ZTKLwZLnLp2lPP2wiy0eB8QQ==" /></div><button class="btn-link js-clone-selector" data-protocol="http" type="submit">HTTPS</button></form> or <form accept-charset="UTF-8" action="/users/set_protocol?protocol_selector=subversion&amp;protocol_type=clone" class="inline-form js-clone-selector-form " data-remote="true" method="post"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="&#x2713;" /><input name="authenticity_token" type="hidden" value="1wKoKeugq0gWnmRTN7CLh9cSMcLL9fAYxGBAoqWWrbchCwhcAQyh/WdzQ/2+X7eQtmaCOOvM3qR80daheSWEcA==" /></div><button class="btn-link js-clone-selector" data-protocol="subversion" type="submit">Subversion</button></form>.
- <a href="https://help.github.com/articles/which-remote-url-should-i-use" class="help tooltipped tooltipped-n" aria-label="Get help on which URL is right for you.">
- <span class="octicon octicon-question"></span>
- </a>
-</div>
-
-
-
-
- <a href="/twitter/jsr166e/archive/master.zip"
- class="btn btn-sm sidebar-button"
- aria-label="Download the contents of twitter/jsr166e as a zip file"
- title="Download the contents of twitter/jsr166e as a zip file"
- rel="nofollow">
- <span class="octicon octicon-cloud-download"></span>
- Download ZIP
- </a>
- </div>
- </div><!-- /.repository-sidebar -->
-
- <div id="js-repo-pjax-container" class="repository-content context-loader-container" data-pjax-container>
-
-
-
-<a href="/twitter/jsr166e/blob/92d981380361990b46b832edab5d9fed7dc1e7d0/LICENSE" class="hidden js-permalink-shortcut" data-hotkey="y">Permalink</a>
-
-<!-- blob contrib key: blob_contributors:v21:3d0501d0683d62d837f33b073486745e -->
-
-<div class="file-navigation js-zeroclipboard-container">
-
-<div class="select-menu js-menu-container js-select-menu left">
- <span class="btn btn-sm select-menu-button js-menu-target css-truncate" data-hotkey="w"
- data-ref="master"
- title="master"
- role="button" aria-label="Switch branches or tags" tabindex="0" aria-haspopup="true">
- <span class="octicon octicon-git-branch"></span>
- <i>branch:</i>
- <span class="js-select-button css-truncate-target">master</span>
- </span>
-
- <div class="select-menu-modal-holder js-menu-content js-navigation-container" data-pjax aria-hidden="true">
-
- <div class="select-menu-modal">
- <div class="select-menu-header">
- <span class="select-menu-title">Switch branches/tags</span>
- <span class="octicon octicon-x js-menu-close" role="button" aria-label="Close"></span>
- </div>
-
- <div class="select-menu-filters">
- <div class="select-menu-text-filter">
- <input type="text" aria-label="Filter branches/tags" id="context-commitish-filter-field" class="js-filterable-field js-navigation-enable" placeholder="Filter branches/tags">
- </div>
- <div class="select-menu-tabs">
- <ul>
- <li class="select-menu-tab">
- <a href="#" data-tab-filter="branches" data-filter-placeholder="Filter branches/tags" class="js-select-menu-tab">Branches</a>
- </li>
- <li class="select-menu-tab">
- <a href="#" data-tab-filter="tags" data-filter-placeholder="Find a tag…" class="js-select-menu-tab">Tags</a>
- </li>
- </ul>
- </div>
- </div>
-
- <div class="select-menu-list select-menu-tab-bucket js-select-menu-tab-bucket" data-tab-filter="branches">
-
- <div data-filterable-for="context-commitish-filter-field" data-filterable-type="substring">
-
-
- <a class="select-menu-item js-navigation-item js-navigation-open selected"
- href="/twitter/jsr166e/blob/master/LICENSE"
- data-name="master"
- data-skip-pjax="true"
- rel="nofollow">
- <span class="select-menu-item-icon octicon octicon-check"></span>
- <span class="select-menu-item-text css-truncate-target" title="master">
- master
- </span>
- </a>
- </div>
-
- <div class="select-menu-no-results">Nothing to show</div>
- </div>
-
- <div class="select-menu-list select-menu-tab-bucket js-select-menu-tab-bucket" data-tab-filter="tags">
- <div data-filterable-for="context-commitish-filter-field" data-filterable-type="substring">
-
-
- <div class="select-menu-item js-navigation-item ">
- <span class="select-menu-item-icon octicon octicon-check"></span>
- <a href="/twitter/jsr166e/tree/v1.1.0/LICENSE"
- data-name="v1.1.0"
- data-skip-pjax="true"
- rel="nofollow"
- class="js-navigation-open select-menu-item-text css-truncate-target"
- title="v1.1.0">v1.1.0</a>
- </div>
- <div class="select-menu-item js-navigation-item ">
- <span class="select-menu-item-icon octicon octicon-check"></span>
- <a href="/twitter/jsr166e/tree/v1.0.0/LICENSE"
- data-name="v1.0.0"
- data-skip-pjax="true"
- rel="nofollow"
- class="js-navigation-open select-menu-item-text css-truncate-target"
- title="v1.0.0">v1.0.0</a>
- </div>
- </div>
-
- <div class="select-menu-no-results">Nothing to show</div>
- </div>
-
- </div>
- </div>
-</div>
-
- <div class="btn-group right">
- <a href="/twitter/jsr166e/find/master"
- class="js-show-file-finder btn btn-sm empty-icon tooltipped tooltipped-s"
- data-pjax
- data-hotkey="t"
- aria-label="Quickly jump between files">
- <span class="octicon octicon-list-unordered"></span>
- </a>
- <button aria-label="Copy file path to clipboard" class="js-zeroclipboard btn btn-sm zeroclipboard-button tooltipped tooltipped-s" data-copied-hint="Copied!" type="button"><span class="octicon octicon-clippy"></span></button>
- </div>
-
- <div class="breadcrumb js-zeroclipboard-target">
- <span class="repo-root js-repo-root"><span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/twitter/jsr166e" class="" data-branch="master" data-pjax="true" itemscope="url"><span itemprop="title">jsr166e</span></a></span></span><span class="separator">/</span><strong class="final-path">LICENSE</strong>
- </div>
-</div>
-
-
- <div class="commit file-history-tease">
- <div class="file-history-tease-header">
- <img alt="@caniszczyk" class="avatar" height="24" src="https://avatars1.githubusercontent.com/u/63777?v=3&amp;s=48" width="24" />
- <span class="author"><a href="/caniszczyk" rel="contributor">caniszczyk</a></span>
- <time datetime="2013-04-19T20:27:14Z" is="relative-time">Apr 19, 2013</time>
- <div class="commit-title">
- <a href="/twitter/jsr166e/commit/b0e160321460e60a72ac82e358c961805b75f239" class="message" data-pjax="true" title="Initial commit
-
-Signed-off-by: Chris Aniszczyk &lt;zx@twitter.com&gt;">Initial commit</a>
- </div>
- </div>
-
- <div class="participation">
- <p class="quickstat">
- <a href="#blob_contributors_box" rel="facebox">
- <strong>1</strong>
- contributor
- </a>
- </p>
-
- </div>
- <div id="blob_contributors_box" style="display:none">
- <h2 class="facebox-header">Users who have contributed to this file</h2>
- <ul class="facebox-user-list">
- <li class="facebox-user-list-item">
- <img alt="@caniszczyk" height="24" src="https://avatars1.githubusercontent.com/u/63777?v=3&amp;s=48" width="24" />
- <a href="/caniszczyk">caniszczyk</a>
- </li>
- </ul>
- </div>
- </div>
-
-<div class="file">
- <div class="file-header">
- <div class="file-actions">
-
- <div class="btn-group">
- <a href="/twitter/jsr166e/raw/master/LICENSE" class="btn btn-sm " id="raw-url">Raw</a>
- <a href="/twitter/jsr166e/blame/master/LICENSE" class="btn btn-sm js-update-url-with-hash">Blame</a>
- <a href="/twitter/jsr166e/commits/master/LICENSE" class="btn btn-sm " rel="nofollow">History</a>
- </div>
-
-
- <button type="button" class="octicon-btn disabled tooltipped tooltipped-n" aria-label="You must be signed in to make or propose changes">
- <span class="octicon octicon-pencil"></span>
- </button>
-
- <button type="button" class="octicon-btn octicon-btn-danger disabled tooltipped tooltipped-n" aria-label="You must be signed in to make or propose changes">
- <span class="octicon octicon-trashcan"></span>
- </button>
- </div>
-
- <div class="file-info">
- 122 lines (109 sloc)
- <span class="file-info-divider"></span>
- 7.048 kB
- </div>
- </div>
-
- <div class="blob-wrapper data type-text">
- <table class="highlight tab-size js-file-line-container" data-tab-size="8">
- <tr>
- <td id="L1" class="blob-num js-line-number" data-line-number="1"></td>
- <td id="LC1" class="blob-code blob-code-inner js-file-line">Creative Commons Legal Code</td>
- </tr>
- <tr>
- <td id="L2" class="blob-num js-line-number" data-line-number="2"></td>
- <td id="LC2" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L3" class="blob-num js-line-number" data-line-number="3"></td>
- <td id="LC3" class="blob-code blob-code-inner js-file-line">CC0 1.0 Universal</td>
- </tr>
- <tr>
- <td id="L4" class="blob-num js-line-number" data-line-number="4"></td>
- <td id="LC4" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L5" class="blob-num js-line-number" data-line-number="5"></td>
- <td id="LC5" class="blob-code blob-code-inner js-file-line"> CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE</td>
- </tr>
- <tr>
- <td id="L6" class="blob-num js-line-number" data-line-number="6"></td>
- <td id="LC6" class="blob-code blob-code-inner js-file-line"> LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN</td>
- </tr>
- <tr>
- <td id="L7" class="blob-num js-line-number" data-line-number="7"></td>
- <td id="LC7" class="blob-code blob-code-inner js-file-line"> ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS</td>
- </tr>
- <tr>
- <td id="L8" class="blob-num js-line-number" data-line-number="8"></td>
- <td id="LC8" class="blob-code blob-code-inner js-file-line"> INFORMATION ON AN &quot;AS-IS&quot; BASIS. CREATIVE COMMONS MAKES NO WARRANTIES</td>
- </tr>
- <tr>
- <td id="L9" class="blob-num js-line-number" data-line-number="9"></td>
- <td id="LC9" class="blob-code blob-code-inner js-file-line"> REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS</td>
- </tr>
- <tr>
- <td id="L10" class="blob-num js-line-number" data-line-number="10"></td>
- <td id="LC10" class="blob-code blob-code-inner js-file-line"> PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM</td>
- </tr>
- <tr>
- <td id="L11" class="blob-num js-line-number" data-line-number="11"></td>
- <td id="LC11" class="blob-code blob-code-inner js-file-line"> THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED</td>
- </tr>
- <tr>
- <td id="L12" class="blob-num js-line-number" data-line-number="12"></td>
- <td id="LC12" class="blob-code blob-code-inner js-file-line"> HEREUNDER.</td>
- </tr>
- <tr>
- <td id="L13" class="blob-num js-line-number" data-line-number="13"></td>
- <td id="LC13" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L14" class="blob-num js-line-number" data-line-number="14"></td>
- <td id="LC14" class="blob-code blob-code-inner js-file-line">Statement of Purpose</td>
- </tr>
- <tr>
- <td id="L15" class="blob-num js-line-number" data-line-number="15"></td>
- <td id="LC15" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L16" class="blob-num js-line-number" data-line-number="16"></td>
- <td id="LC16" class="blob-code blob-code-inner js-file-line">The laws of most jurisdictions throughout the world automatically confer</td>
- </tr>
- <tr>
- <td id="L17" class="blob-num js-line-number" data-line-number="17"></td>
- <td id="LC17" class="blob-code blob-code-inner js-file-line">exclusive Copyright and Related Rights (defined below) upon the creator</td>
- </tr>
- <tr>
- <td id="L18" class="blob-num js-line-number" data-line-number="18"></td>
- <td id="LC18" class="blob-code blob-code-inner js-file-line">and subsequent owner(s) (each and all, an &quot;owner&quot;) of an original work of</td>
- </tr>
- <tr>
- <td id="L19" class="blob-num js-line-number" data-line-number="19"></td>
- <td id="LC19" class="blob-code blob-code-inner js-file-line">authorship and/or a database (each, a &quot;Work&quot;).</td>
- </tr>
- <tr>
- <td id="L20" class="blob-num js-line-number" data-line-number="20"></td>
- <td id="LC20" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L21" class="blob-num js-line-number" data-line-number="21"></td>
- <td id="LC21" class="blob-code blob-code-inner js-file-line">Certain owners wish to permanently relinquish those rights to a Work for</td>
- </tr>
- <tr>
- <td id="L22" class="blob-num js-line-number" data-line-number="22"></td>
- <td id="LC22" class="blob-code blob-code-inner js-file-line">the purpose of contributing to a commons of creative, cultural and</td>
- </tr>
- <tr>
- <td id="L23" class="blob-num js-line-number" data-line-number="23"></td>
- <td id="LC23" class="blob-code blob-code-inner js-file-line">scientific works (&quot;Commons&quot;) that the public can reliably and without fear</td>
- </tr>
- <tr>
- <td id="L24" class="blob-num js-line-number" data-line-number="24"></td>
- <td id="LC24" class="blob-code blob-code-inner js-file-line">of later claims of infringement build upon, modify, incorporate in other</td>
- </tr>
- <tr>
- <td id="L25" class="blob-num js-line-number" data-line-number="25"></td>
- <td id="LC25" class="blob-code blob-code-inner js-file-line">works, reuse and redistribute as freely as possible in any form whatsoever</td>
- </tr>
- <tr>
- <td id="L26" class="blob-num js-line-number" data-line-number="26"></td>
- <td id="LC26" class="blob-code blob-code-inner js-file-line">and for any purposes, including without limitation commercial purposes.</td>
- </tr>
- <tr>
- <td id="L27" class="blob-num js-line-number" data-line-number="27"></td>
- <td id="LC27" class="blob-code blob-code-inner js-file-line">These owners may contribute to the Commons to promote the ideal of a free</td>
- </tr>
- <tr>
- <td id="L28" class="blob-num js-line-number" data-line-number="28"></td>
- <td id="LC28" class="blob-code blob-code-inner js-file-line">culture and the further production of creative, cultural and scientific</td>
- </tr>
- <tr>
- <td id="L29" class="blob-num js-line-number" data-line-number="29"></td>
- <td id="LC29" class="blob-code blob-code-inner js-file-line">works, or to gain reputation or greater distribution for their Work in</td>
- </tr>
- <tr>
- <td id="L30" class="blob-num js-line-number" data-line-number="30"></td>
- <td id="LC30" class="blob-code blob-code-inner js-file-line">part through the use and efforts of others.</td>
- </tr>
- <tr>
- <td id="L31" class="blob-num js-line-number" data-line-number="31"></td>
- <td id="LC31" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L32" class="blob-num js-line-number" data-line-number="32"></td>
- <td id="LC32" class="blob-code blob-code-inner js-file-line">For these and/or other purposes and motivations, and without any</td>
- </tr>
- <tr>
- <td id="L33" class="blob-num js-line-number" data-line-number="33"></td>
- <td id="LC33" class="blob-code blob-code-inner js-file-line">expectation of additional consideration or compensation, the person</td>
- </tr>
- <tr>
- <td id="L34" class="blob-num js-line-number" data-line-number="34"></td>
- <td id="LC34" class="blob-code blob-code-inner js-file-line">associating CC0 with a Work (the &quot;Affirmer&quot;), to the extent that he or she</td>
- </tr>
- <tr>
- <td id="L35" class="blob-num js-line-number" data-line-number="35"></td>
- <td id="LC35" class="blob-code blob-code-inner js-file-line">is an owner of Copyright and Related Rights in the Work, voluntarily</td>
- </tr>
- <tr>
- <td id="L36" class="blob-num js-line-number" data-line-number="36"></td>
- <td id="LC36" class="blob-code blob-code-inner js-file-line">elects to apply CC0 to the Work and publicly distribute the Work under its</td>
- </tr>
- <tr>
- <td id="L37" class="blob-num js-line-number" data-line-number="37"></td>
- <td id="LC37" class="blob-code blob-code-inner js-file-line">terms, with knowledge of his or her Copyright and Related Rights in the</td>
- </tr>
- <tr>
- <td id="L38" class="blob-num js-line-number" data-line-number="38"></td>
- <td id="LC38" class="blob-code blob-code-inner js-file-line">Work and the meaning and intended legal effect of CC0 on those rights.</td>
- </tr>
- <tr>
- <td id="L39" class="blob-num js-line-number" data-line-number="39"></td>
- <td id="LC39" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L40" class="blob-num js-line-number" data-line-number="40"></td>
- <td id="LC40" class="blob-code blob-code-inner js-file-line">1. Copyright and Related Rights. A Work made available under CC0 may be</td>
- </tr>
- <tr>
- <td id="L41" class="blob-num js-line-number" data-line-number="41"></td>
- <td id="LC41" class="blob-code blob-code-inner js-file-line">protected by copyright and related or neighboring rights (&quot;Copyright and</td>
- </tr>
- <tr>
- <td id="L42" class="blob-num js-line-number" data-line-number="42"></td>
- <td id="LC42" class="blob-code blob-code-inner js-file-line">Related Rights&quot;). Copyright and Related Rights include, but are not</td>
- </tr>
- <tr>
- <td id="L43" class="blob-num js-line-number" data-line-number="43"></td>
- <td id="LC43" class="blob-code blob-code-inner js-file-line">limited to, the following:</td>
- </tr>
- <tr>
- <td id="L44" class="blob-num js-line-number" data-line-number="44"></td>
- <td id="LC44" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L45" class="blob-num js-line-number" data-line-number="45"></td>
- <td id="LC45" class="blob-code blob-code-inner js-file-line"> i. the right to reproduce, adapt, distribute, perform, display,</td>
- </tr>
- <tr>
- <td id="L46" class="blob-num js-line-number" data-line-number="46"></td>
- <td id="LC46" class="blob-code blob-code-inner js-file-line"> communicate, and translate a Work;</td>
- </tr>
- <tr>
- <td id="L47" class="blob-num js-line-number" data-line-number="47"></td>
- <td id="LC47" class="blob-code blob-code-inner js-file-line"> ii. moral rights retained by the original author(s) and/or performer(s);</td>
- </tr>
- <tr>
- <td id="L48" class="blob-num js-line-number" data-line-number="48"></td>
- <td id="LC48" class="blob-code blob-code-inner js-file-line">iii. publicity and privacy rights pertaining to a person&#39;s image or</td>
- </tr>
- <tr>
- <td id="L49" class="blob-num js-line-number" data-line-number="49"></td>
- <td id="LC49" class="blob-code blob-code-inner js-file-line"> likeness depicted in a Work;</td>
- </tr>
- <tr>
- <td id="L50" class="blob-num js-line-number" data-line-number="50"></td>
- <td id="LC50" class="blob-code blob-code-inner js-file-line"> iv. rights protecting against unfair competition in regards to a Work,</td>
- </tr>
- <tr>
- <td id="L51" class="blob-num js-line-number" data-line-number="51"></td>
- <td id="LC51" class="blob-code blob-code-inner js-file-line"> subject to the limitations in paragraph 4(a), below;</td>
- </tr>
- <tr>
- <td id="L52" class="blob-num js-line-number" data-line-number="52"></td>
- <td id="LC52" class="blob-code blob-code-inner js-file-line"> v. rights protecting the extraction, dissemination, use and reuse of data</td>
- </tr>
- <tr>
- <td id="L53" class="blob-num js-line-number" data-line-number="53"></td>
- <td id="LC53" class="blob-code blob-code-inner js-file-line"> in a Work;</td>
- </tr>
- <tr>
- <td id="L54" class="blob-num js-line-number" data-line-number="54"></td>
- <td id="LC54" class="blob-code blob-code-inner js-file-line"> vi. database rights (such as those arising under Directive 96/9/EC of the</td>
- </tr>
- <tr>
- <td id="L55" class="blob-num js-line-number" data-line-number="55"></td>
- <td id="LC55" class="blob-code blob-code-inner js-file-line"> European Parliament and of the Council of 11 March 1996 on the legal</td>
- </tr>
- <tr>
- <td id="L56" class="blob-num js-line-number" data-line-number="56"></td>
- <td id="LC56" class="blob-code blob-code-inner js-file-line"> protection of databases, and under any national implementation</td>
- </tr>
- <tr>
- <td id="L57" class="blob-num js-line-number" data-line-number="57"></td>
- <td id="LC57" class="blob-code blob-code-inner js-file-line"> thereof, including any amended or successor version of such</td>
- </tr>
- <tr>
- <td id="L58" class="blob-num js-line-number" data-line-number="58"></td>
- <td id="LC58" class="blob-code blob-code-inner js-file-line"> directive); and</td>
- </tr>
- <tr>
- <td id="L59" class="blob-num js-line-number" data-line-number="59"></td>
- <td id="LC59" class="blob-code blob-code-inner js-file-line">vii. other similar, equivalent or corresponding rights throughout the</td>
- </tr>
- <tr>
- <td id="L60" class="blob-num js-line-number" data-line-number="60"></td>
- <td id="LC60" class="blob-code blob-code-inner js-file-line"> world based on applicable law or treaty, and any national</td>
- </tr>
- <tr>
- <td id="L61" class="blob-num js-line-number" data-line-number="61"></td>
- <td id="LC61" class="blob-code blob-code-inner js-file-line"> implementations thereof.</td>
- </tr>
- <tr>
- <td id="L62" class="blob-num js-line-number" data-line-number="62"></td>
- <td id="LC62" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L63" class="blob-num js-line-number" data-line-number="63"></td>
- <td id="LC63" class="blob-code blob-code-inner js-file-line">2. Waiver. To the greatest extent permitted by, but not in contravention</td>
- </tr>
- <tr>
- <td id="L64" class="blob-num js-line-number" data-line-number="64"></td>
- <td id="LC64" class="blob-code blob-code-inner js-file-line">of, applicable law, Affirmer hereby overtly, fully, permanently,</td>
- </tr>
- <tr>
- <td id="L65" class="blob-num js-line-number" data-line-number="65"></td>
- <td id="LC65" class="blob-code blob-code-inner js-file-line">irrevocably and unconditionally waives, abandons, and surrenders all of</td>
- </tr>
- <tr>
- <td id="L66" class="blob-num js-line-number" data-line-number="66"></td>
- <td id="LC66" class="blob-code blob-code-inner js-file-line">Affirmer&#39;s Copyright and Related Rights and associated claims and causes</td>
- </tr>
- <tr>
- <td id="L67" class="blob-num js-line-number" data-line-number="67"></td>
- <td id="LC67" class="blob-code blob-code-inner js-file-line">of action, whether now known or unknown (including existing as well as</td>
- </tr>
- <tr>
- <td id="L68" class="blob-num js-line-number" data-line-number="68"></td>
- <td id="LC68" class="blob-code blob-code-inner js-file-line">future claims and causes of action), in the Work (i) in all territories</td>
- </tr>
- <tr>
- <td id="L69" class="blob-num js-line-number" data-line-number="69"></td>
- <td id="LC69" class="blob-code blob-code-inner js-file-line">worldwide, (ii) for the maximum duration provided by applicable law or</td>
- </tr>
- <tr>
- <td id="L70" class="blob-num js-line-number" data-line-number="70"></td>
- <td id="LC70" class="blob-code blob-code-inner js-file-line">treaty (including future time extensions), (iii) in any current or future</td>
- </tr>
- <tr>
- <td id="L71" class="blob-num js-line-number" data-line-number="71"></td>
- <td id="LC71" class="blob-code blob-code-inner js-file-line">medium and for any number of copies, and (iv) for any purpose whatsoever,</td>
- </tr>
- <tr>
- <td id="L72" class="blob-num js-line-number" data-line-number="72"></td>
- <td id="LC72" class="blob-code blob-code-inner js-file-line">including without limitation commercial, advertising or promotional</td>
- </tr>
- <tr>
- <td id="L73" class="blob-num js-line-number" data-line-number="73"></td>
- <td id="LC73" class="blob-code blob-code-inner js-file-line">purposes (the &quot;Waiver&quot;). Affirmer makes the Waiver for the benefit of each</td>
- </tr>
- <tr>
- <td id="L74" class="blob-num js-line-number" data-line-number="74"></td>
- <td id="LC74" class="blob-code blob-code-inner js-file-line">member of the public at large and to the detriment of Affirmer&#39;s heirs and</td>
- </tr>
- <tr>
- <td id="L75" class="blob-num js-line-number" data-line-number="75"></td>
- <td id="LC75" class="blob-code blob-code-inner js-file-line">successors, fully intending that such Waiver shall not be subject to</td>
- </tr>
- <tr>
- <td id="L76" class="blob-num js-line-number" data-line-number="76"></td>
- <td id="LC76" class="blob-code blob-code-inner js-file-line">revocation, rescission, cancellation, termination, or any other legal or</td>
- </tr>
- <tr>
- <td id="L77" class="blob-num js-line-number" data-line-number="77"></td>
- <td id="LC77" class="blob-code blob-code-inner js-file-line">equitable action to disrupt the quiet enjoyment of the Work by the public</td>
- </tr>
- <tr>
- <td id="L78" class="blob-num js-line-number" data-line-number="78"></td>
- <td id="LC78" class="blob-code blob-code-inner js-file-line">as contemplated by Affirmer&#39;s express Statement of Purpose.</td>
- </tr>
- <tr>
- <td id="L79" class="blob-num js-line-number" data-line-number="79"></td>
- <td id="LC79" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L80" class="blob-num js-line-number" data-line-number="80"></td>
- <td id="LC80" class="blob-code blob-code-inner js-file-line">3. Public License Fallback. Should any part of the Waiver for any reason</td>
- </tr>
- <tr>
- <td id="L81" class="blob-num js-line-number" data-line-number="81"></td>
- <td id="LC81" class="blob-code blob-code-inner js-file-line">be judged legally invalid or ineffective under applicable law, then the</td>
- </tr>
- <tr>
- <td id="L82" class="blob-num js-line-number" data-line-number="82"></td>
- <td id="LC82" class="blob-code blob-code-inner js-file-line">Waiver shall be preserved to the maximum extent permitted taking into</td>
- </tr>
- <tr>
- <td id="L83" class="blob-num js-line-number" data-line-number="83"></td>
- <td id="LC83" class="blob-code blob-code-inner js-file-line">account Affirmer&#39;s express Statement of Purpose. In addition, to the</td>
- </tr>
- <tr>
- <td id="L84" class="blob-num js-line-number" data-line-number="84"></td>
- <td id="LC84" class="blob-code blob-code-inner js-file-line">extent the Waiver is so judged Affirmer hereby grants to each affected</td>
- </tr>
- <tr>
- <td id="L85" class="blob-num js-line-number" data-line-number="85"></td>
- <td id="LC85" class="blob-code blob-code-inner js-file-line">person a royalty-free, non transferable, non sublicensable, non exclusive,</td>
- </tr>
- <tr>
- <td id="L86" class="blob-num js-line-number" data-line-number="86"></td>
- <td id="LC86" class="blob-code blob-code-inner js-file-line">irrevocable and unconditional license to exercise Affirmer&#39;s Copyright and</td>
- </tr>
- <tr>
- <td id="L87" class="blob-num js-line-number" data-line-number="87"></td>
- <td id="LC87" class="blob-code blob-code-inner js-file-line">Related Rights in the Work (i) in all territories worldwide, (ii) for the</td>
- </tr>
- <tr>
- <td id="L88" class="blob-num js-line-number" data-line-number="88"></td>
- <td id="LC88" class="blob-code blob-code-inner js-file-line">maximum duration provided by applicable law or treaty (including future</td>
- </tr>
- <tr>
- <td id="L89" class="blob-num js-line-number" data-line-number="89"></td>
- <td id="LC89" class="blob-code blob-code-inner js-file-line">time extensions), (iii) in any current or future medium and for any number</td>
- </tr>
- <tr>
- <td id="L90" class="blob-num js-line-number" data-line-number="90"></td>
- <td id="LC90" class="blob-code blob-code-inner js-file-line">of copies, and (iv) for any purpose whatsoever, including without</td>
- </tr>
- <tr>
- <td id="L91" class="blob-num js-line-number" data-line-number="91"></td>
- <td id="LC91" class="blob-code blob-code-inner js-file-line">limitation commercial, advertising or promotional purposes (the</td>
- </tr>
- <tr>
- <td id="L92" class="blob-num js-line-number" data-line-number="92"></td>
- <td id="LC92" class="blob-code blob-code-inner js-file-line">&quot;License&quot;). The License shall be deemed effective as of the date CC0 was</td>
- </tr>
- <tr>
- <td id="L93" class="blob-num js-line-number" data-line-number="93"></td>
- <td id="LC93" class="blob-code blob-code-inner js-file-line">applied by Affirmer to the Work. Should any part of the License for any</td>
- </tr>
- <tr>
- <td id="L94" class="blob-num js-line-number" data-line-number="94"></td>
- <td id="LC94" class="blob-code blob-code-inner js-file-line">reason be judged legally invalid or ineffective under applicable law, such</td>
- </tr>
- <tr>
- <td id="L95" class="blob-num js-line-number" data-line-number="95"></td>
- <td id="LC95" class="blob-code blob-code-inner js-file-line">partial invalidity or ineffectiveness shall not invalidate the remainder</td>
- </tr>
- <tr>
- <td id="L96" class="blob-num js-line-number" data-line-number="96"></td>
- <td id="LC96" class="blob-code blob-code-inner js-file-line">of the License, and in such case Affirmer hereby affirms that he or she</td>
- </tr>
- <tr>
- <td id="L97" class="blob-num js-line-number" data-line-number="97"></td>
- <td id="LC97" class="blob-code blob-code-inner js-file-line">will not (i) exercise any of his or her remaining Copyright and Related</td>
- </tr>
- <tr>
- <td id="L98" class="blob-num js-line-number" data-line-number="98"></td>
- <td id="LC98" class="blob-code blob-code-inner js-file-line">Rights in the Work or (ii) assert any associated claims and causes of</td>
- </tr>
- <tr>
- <td id="L99" class="blob-num js-line-number" data-line-number="99"></td>
- <td id="LC99" class="blob-code blob-code-inner js-file-line">action with respect to the Work, in either case contrary to Affirmer&#39;s</td>
- </tr>
- <tr>
- <td id="L100" class="blob-num js-line-number" data-line-number="100"></td>
- <td id="LC100" class="blob-code blob-code-inner js-file-line">express Statement of Purpose.</td>
- </tr>
- <tr>
- <td id="L101" class="blob-num js-line-number" data-line-number="101"></td>
- <td id="LC101" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L102" class="blob-num js-line-number" data-line-number="102"></td>
- <td id="LC102" class="blob-code blob-code-inner js-file-line">4. Limitations and Disclaimers.</td>
- </tr>
- <tr>
- <td id="L103" class="blob-num js-line-number" data-line-number="103"></td>
- <td id="LC103" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L104" class="blob-num js-line-number" data-line-number="104"></td>
- <td id="LC104" class="blob-code blob-code-inner js-file-line"> a. No trademark or patent rights held by Affirmer are waived, abandoned,</td>
- </tr>
- <tr>
- <td id="L105" class="blob-num js-line-number" data-line-number="105"></td>
- <td id="LC105" class="blob-code blob-code-inner js-file-line"> surrendered, licensed or otherwise affected by this document.</td>
- </tr>
- <tr>
- <td id="L106" class="blob-num js-line-number" data-line-number="106"></td>
- <td id="LC106" class="blob-code blob-code-inner js-file-line"> b. Affirmer offers the Work as-is and makes no representations or</td>
- </tr>
- <tr>
- <td id="L107" class="blob-num js-line-number" data-line-number="107"></td>
- <td id="LC107" class="blob-code blob-code-inner js-file-line"> warranties of any kind concerning the Work, express, implied,</td>
- </tr>
- <tr>
- <td id="L108" class="blob-num js-line-number" data-line-number="108"></td>
- <td id="LC108" class="blob-code blob-code-inner js-file-line"> statutory or otherwise, including without limitation warranties of</td>
- </tr>
- <tr>
- <td id="L109" class="blob-num js-line-number" data-line-number="109"></td>
- <td id="LC109" class="blob-code blob-code-inner js-file-line"> title, merchantability, fitness for a particular purpose, non</td>
- </tr>
- <tr>
- <td id="L110" class="blob-num js-line-number" data-line-number="110"></td>
- <td id="LC110" class="blob-code blob-code-inner js-file-line"> infringement, or the absence of latent or other defects, accuracy, or</td>
- </tr>
- <tr>
- <td id="L111" class="blob-num js-line-number" data-line-number="111"></td>
- <td id="LC111" class="blob-code blob-code-inner js-file-line"> the present or absence of errors, whether or not discoverable, all to</td>
- </tr>
- <tr>
- <td id="L112" class="blob-num js-line-number" data-line-number="112"></td>
- <td id="LC112" class="blob-code blob-code-inner js-file-line"> the greatest extent permissible under applicable law.</td>
- </tr>
- <tr>
- <td id="L113" class="blob-num js-line-number" data-line-number="113"></td>
- <td id="LC113" class="blob-code blob-code-inner js-file-line"> c. Affirmer disclaims responsibility for clearing rights of other persons</td>
- </tr>
- <tr>
- <td id="L114" class="blob-num js-line-number" data-line-number="114"></td>
- <td id="LC114" class="blob-code blob-code-inner js-file-line"> that may apply to the Work or any use thereof, including without</td>
- </tr>
- <tr>
- <td id="L115" class="blob-num js-line-number" data-line-number="115"></td>
- <td id="LC115" class="blob-code blob-code-inner js-file-line"> limitation any person&#39;s Copyright and Related Rights in the Work.</td>
- </tr>
- <tr>
- <td id="L116" class="blob-num js-line-number" data-line-number="116"></td>
- <td id="LC116" class="blob-code blob-code-inner js-file-line"> Further, Affirmer disclaims responsibility for obtaining any necessary</td>
- </tr>
- <tr>
- <td id="L117" class="blob-num js-line-number" data-line-number="117"></td>
- <td id="LC117" class="blob-code blob-code-inner js-file-line"> consents, permissions or other rights required for any use of the</td>
- </tr>
- <tr>
- <td id="L118" class="blob-num js-line-number" data-line-number="118"></td>
- <td id="LC118" class="blob-code blob-code-inner js-file-line"> Work.</td>
- </tr>
- <tr>
- <td id="L119" class="blob-num js-line-number" data-line-number="119"></td>
- <td id="LC119" class="blob-code blob-code-inner js-file-line"> d. Affirmer understands and acknowledges that Creative Commons is not a</td>
- </tr>
- <tr>
- <td id="L120" class="blob-num js-line-number" data-line-number="120"></td>
- <td id="LC120" class="blob-code blob-code-inner js-file-line"> party to this document and has no duty or obligation with respect to</td>
- </tr>
- <tr>
- <td id="L121" class="blob-num js-line-number" data-line-number="121"></td>
- <td id="LC121" class="blob-code blob-code-inner js-file-line"> this CC0 or use of the Work.</td>
- </tr>
-</table>
-
- </div>
-
-</div>
-
-<a href="#jump-to-line" rel="facebox[.linejump]" data-hotkey="l" style="display:none">Jump to Line</a>
-<div id="jump-to-line" style="display:none">
- <form accept-charset="UTF-8" action="" class="js-jump-to-line-form" method="get"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="&#x2713;" /></div>
- <input class="linejump-input js-jump-to-line-field" type="text" placeholder="Jump to line&hellip;" autofocus>
- <button type="submit" class="btn">Go</button>
-</form></div>
-
- </div>
-
- </div><!-- /.repo-container -->
- <div class="modal-backdrop"></div>
- </div><!-- /.container -->
- </div><!-- /.site -->
-
-
- </div><!-- /.wrapper -->
-
- <div class="container">
- <div class="site-footer" role="contentinfo">
- <ul class="site-footer-links right">
- <li><a href="https://status.github.com/" data-ga-click="Footer, go to status, text:status">Status</a></li>
- <li><a href="https://developer.github.com" data-ga-click="Footer, go to api, text:api">API</a></li>
- <li><a href="https://training.github.com" data-ga-click="Footer, go to training, text:training">Training</a></li>
- <li><a href="https://shop.github.com" data-ga-click="Footer, go to shop, text:shop">Shop</a></li>
- <li><a href="https://github.com/blog" data-ga-click="Footer, go to blog, text:blog">Blog</a></li>
- <li><a href="https://github.com/about" data-ga-click="Footer, go to about, text:about">About</a></li>
- <li><a href="https://help.github.com" data-ga-click="Footer, go to help, text:help">Help</a></li>
-
- </ul>
-
- <a href="https://github.com" aria-label="Homepage">
- <span class="mega-octicon octicon-mark-github" title="GitHub"></span>
-</a>
- <ul class="site-footer-links">
- <li>&copy; 2015 <span title="0.03402s from github-fe128-cp1-prd.iad.github.net">GitHub</span>, Inc.</li>
- <li><a href="https://github.com/site/terms" data-ga-click="Footer, go to terms, text:terms">Terms</a></li>
- <li><a href="https://github.com/site/privacy" data-ga-click="Footer, go to privacy, text:privacy">Privacy</a></li>
- <li><a href="https://github.com/security" data-ga-click="Footer, go to security, text:security">Security</a></li>
- <li><a href="https://github.com/contact" data-ga-click="Footer, go to contact, text:contact">Contact</a></li>
- </ul>
- </div>
-</div>
-
-
- <div class="fullscreen-overlay js-fullscreen-overlay" id="fullscreen_overlay">
- <div class="fullscreen-container js-suggester-container">
- <div class="textarea-wrap">
- <textarea name="fullscreen-contents" id="fullscreen-contents" class="fullscreen-contents js-fullscreen-contents" placeholder=""></textarea>
- <div class="suggester-container">
- <div class="suggester fullscreen-suggester js-suggester js-navigation-container"></div>
- </div>
- </div>
- </div>
- <div class="fullscreen-sidebar">
- <a href="#" class="exit-fullscreen js-exit-fullscreen tooltipped tooltipped-w" aria-label="Exit Zen Mode">
- <span class="mega-octicon octicon-screen-normal"></span>
- </a>
- <a href="#" class="theme-switcher js-theme-switcher tooltipped tooltipped-w"
- aria-label="Switch themes">
- <span class="octicon octicon-color-mode"></span>
- </a>
- </div>
-</div>
-
-
-
-
-
-
- <div id="ajax-error-message" class="flash flash-error">
- <span class="octicon octicon-alert"></span>
- <a href="#" class="octicon octicon-x flash-close js-ajax-error-dismiss" aria-label="Dismiss error"></a>
- Something went wrong with that request. Please try again.
- </div>
-
-
- <script crossorigin="anonymous" src="https://assets-cdn.github.com/assets/frameworks-808fcfcd63c9ecba3e84453f540cb1cbafde48c6b30c1d51ebd4e67e88ff66bd.js"></script>
- <script async="async" crossorigin="anonymous" src="https://assets-cdn.github.com/assets/github/index-4f888c77edb689a0c50e2edbc2d7ae11518355eff0bfeac3ab0a110ca10eddf9.js"></script>
-
-
- </body>
-</html>
-
diff --git a/core/licenses/jsr166e-NOTICE b/core/licenses/jsr166e-NOTICE
deleted file mode 100644
index 8b13789179..0000000000
--- a/core/licenses/jsr166e-NOTICE
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/core/licenses/jts-1.13.jar.sha1 b/core/licenses/jts-1.13.jar.sha1
deleted file mode 100644
index 2899139aab..0000000000
--- a/core/licenses/jts-1.13.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-3ccfb9b60f04d71add996a666ceb8902904fd805
diff --git a/core/licenses/jts-LICENSE.txt b/core/licenses/jts-LICENSE.txt
deleted file mode 100644
index 65c5ca88a6..0000000000
--- a/core/licenses/jts-LICENSE.txt
+++ /dev/null
@@ -1,165 +0,0 @@
- GNU LESSER GENERAL PUBLIC LICENSE
- Version 3, 29 June 2007
-
- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-
- This version of the GNU Lesser General Public License incorporates
-the terms and conditions of version 3 of the GNU General Public
-License, supplemented by the additional permissions listed below.
-
- 0. Additional Definitions.
-
- As used herein, "this License" refers to version 3 of the GNU Lesser
-General Public License, and the "GNU GPL" refers to version 3 of the GNU
-General Public License.
-
- "The Library" refers to a covered work governed by this License,
-other than an Application or a Combined Work as defined below.
-
- An "Application" is any work that makes use of an interface provided
-by the Library, but which is not otherwise based on the Library.
-Defining a subclass of a class defined by the Library is deemed a mode
-of using an interface provided by the Library.
-
- A "Combined Work" is a work produced by combining or linking an
-Application with the Library. The particular version of the Library
-with which the Combined Work was made is also called the "Linked
-Version".
-
- The "Minimal Corresponding Source" for a Combined Work means the
-Corresponding Source for the Combined Work, excluding any source code
-for portions of the Combined Work that, considered in isolation, are
-based on the Application, and not on the Linked Version.
-
- The "Corresponding Application Code" for a Combined Work means the
-object code and/or source code for the Application, including any data
-and utility programs needed for reproducing the Combined Work from the
-Application, but excluding the System Libraries of the Combined Work.
-
- 1. Exception to Section 3 of the GNU GPL.
-
- You may convey a covered work under sections 3 and 4 of this License
-without being bound by section 3 of the GNU GPL.
-
- 2. Conveying Modified Versions.
-
- If you modify a copy of the Library, and, in your modifications, a
-facility refers to a function or data to be supplied by an Application
-that uses the facility (other than as an argument passed when the
-facility is invoked), then you may convey a copy of the modified
-version:
-
- a) under this License, provided that you make a good faith effort to
- ensure that, in the event an Application does not supply the
- function or data, the facility still operates, and performs
- whatever part of its purpose remains meaningful, or
-
- b) under the GNU GPL, with none of the additional permissions of
- this License applicable to that copy.
-
- 3. Object Code Incorporating Material from Library Header Files.
-
- The object code form of an Application may incorporate material from
-a header file that is part of the Library. You may convey such object
-code under terms of your choice, provided that, if the incorporated
-material is not limited to numerical parameters, data structure
-layouts and accessors, or small macros, inline functions and templates
-(ten or fewer lines in length), you do both of the following:
-
- a) Give prominent notice with each copy of the object code that the
- Library is used in it and that the Library and its use are
- covered by this License.
-
- b) Accompany the object code with a copy of the GNU GPL and this license
- document.
-
- 4. Combined Works.
-
- You may convey a Combined Work under terms of your choice that,
-taken together, effectively do not restrict modification of the
-portions of the Library contained in the Combined Work and reverse
-engineering for debugging such modifications, if you also do each of
-the following:
-
- a) Give prominent notice with each copy of the Combined Work that
- the Library is used in it and that the Library and its use are
- covered by this License.
-
- b) Accompany the Combined Work with a copy of the GNU GPL and this license
- document.
-
- c) For a Combined Work that displays copyright notices during
- execution, include the copyright notice for the Library among
- these notices, as well as a reference directing the user to the
- copies of the GNU GPL and this license document.
-
- d) Do one of the following:
-
- 0) Convey the Minimal Corresponding Source under the terms of this
- License, and the Corresponding Application Code in a form
- suitable for, and under terms that permit, the user to
- recombine or relink the Application with a modified version of
- the Linked Version to produce a modified Combined Work, in the
- manner specified by section 6 of the GNU GPL for conveying
- Corresponding Source.
-
- 1) Use a suitable shared library mechanism for linking with the
- Library. A suitable mechanism is one that (a) uses at run time
- a copy of the Library already present on the user's computer
- system, and (b) will operate properly with a modified version
- of the Library that is interface-compatible with the Linked
- Version.
-
- e) Provide Installation Information, but only if you would otherwise
- be required to provide such information under section 6 of the
- GNU GPL, and only to the extent that such information is
- necessary to install and execute a modified version of the
- Combined Work produced by recombining or relinking the
- Application with a modified version of the Linked Version. (If
- you use option 4d0, the Installation Information must accompany
- the Minimal Corresponding Source and Corresponding Application
- Code. If you use option 4d1, you must provide the Installation
- Information in the manner specified by section 6 of the GNU GPL
- for conveying Corresponding Source.)
-
- 5. Combined Libraries.
-
- You may place library facilities that are a work based on the
-Library side by side in a single library together with other library
-facilities that are not Applications and are not covered by this
-License, and convey such a combined library under terms of your
-choice, if you do both of the following:
-
- a) Accompany the combined library with a copy of the same work based
- on the Library, uncombined with any other library facilities,
- conveyed under the terms of this License.
-
- b) Give prominent notice with the combined library that part of it
- is a work based on the Library, and explaining where to find the
- accompanying uncombined form of the same work.
-
- 6. Revised Versions of the GNU Lesser General Public License.
-
- The Free Software Foundation may publish revised and/or new versions
-of the GNU Lesser General Public License from time to time. Such new
-versions will be similar in spirit to the present version, but may
-differ in detail to address new problems or concerns.
-
- Each version is given a distinguishing version number. If the
-Library as you received it specifies that a certain numbered version
-of the GNU Lesser General Public License "or any later version"
-applies to it, you have the option of following the terms and
-conditions either of that published version or of any later version
-published by the Free Software Foundation. If the Library as you
-received it does not specify a version number of the GNU Lesser
-General Public License, you may choose any version of the GNU Lesser
-General Public License ever published by the Free Software Foundation.
-
- If the Library as you received it specifies that a proxy can decide
-whether future versions of the GNU Lesser General Public License shall
-apply, that proxy's public statement of acceptance of any version is
-permanent authorization for you to choose that version for the
-Library.
diff --git a/core/licenses/jts-NOTICE.txt b/core/licenses/jts-NOTICE.txt
deleted file mode 100644
index 8d1c8b69c3..0000000000
--- a/core/licenses/jts-NOTICE.txt
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/core/licenses/log4j-1.2.17.jar.sha1 b/core/licenses/log4j-1.2.17.jar.sha1
deleted file mode 100644
index 383110e29f..0000000000
--- a/core/licenses/log4j-1.2.17.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-5af35056b4d257e4b64b9e8069c0746e8b08629f
diff --git a/core/licenses/log4j-LICENSE b/core/licenses/log4j-LICENSE
deleted file mode 100644
index 6279e5206d..0000000000
--- a/core/licenses/log4j-LICENSE
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright 1999-2005 The Apache Software Foundation
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
diff --git a/core/licenses/log4j-NOTICE b/core/licenses/log4j-NOTICE
deleted file mode 100644
index 0375732360..0000000000
--- a/core/licenses/log4j-NOTICE
+++ /dev/null
@@ -1,5 +0,0 @@
-Apache log4j
-Copyright 2007 The Apache Software Foundation
-
-This product includes software developed at
-The Apache Software Foundation (http://www.apache.org/). \ No newline at end of file
diff --git a/core/licenses/lucene-LICENSE.txt b/core/licenses/lucene-LICENSE.txt
deleted file mode 100644
index 28b134f5f8..0000000000
--- a/core/licenses/lucene-LICENSE.txt
+++ /dev/null
@@ -1,475 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
-
-
-Some code in core/src/java/org/apache/lucene/util/UnicodeUtil.java was
-derived from unicode conversion examples available at
-http://www.unicode.org/Public/PROGRAMS/CVTUTF. Here is the copyright
-from those sources:
-
-/*
- * Copyright 2001-2004 Unicode, Inc.
- *
- * Disclaimer
- *
- * This source code is provided as is by Unicode, Inc. No claims are
- * made as to fitness for any particular purpose. No warranties of any
- * kind are expressed or implied. The recipient agrees to determine
- * applicability of information provided. If this file has been
- * purchased on magnetic or optical media from Unicode, Inc., the
- * sole remedy for any claim will be exchange of defective media
- * within 90 days of receipt.
- *
- * Limitations on Rights to Redistribute This Code
- *
- * Unicode, Inc. hereby grants the right to freely use the information
- * supplied in this file in the creation of products supporting the
- * Unicode Standard, and to make copies of this file in any form
- * for internal or external distribution as long as this notice
- * remains attached.
- */
-
-
-Some code in core/src/java/org/apache/lucene/util/ArrayUtil.java was
-derived from Python 2.4.2 sources available at
-http://www.python.org. Full license is here:
-
- http://www.python.org/download/releases/2.4.2/license/
-
-Some code in core/src/java/org/apache/lucene/util/UnicodeUtil.java was
-derived from Python 3.1.2 sources available at
-http://www.python.org. Full license is here:
-
- http://www.python.org/download/releases/3.1.2/license/
-
-Some code in core/src/java/org/apache/lucene/util/automaton was
-derived from Brics automaton sources available at
-www.brics.dk/automaton/. Here is the copyright from those sources:
-
-/*
- * Copyright (c) 2001-2009 Anders Moeller
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. The name of the author may not be used to endorse or promote products
- * derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-The levenshtein automata tables in core/src/java/org/apache/lucene/util/automaton
-were automatically generated with the moman/finenight FSA package.
-Here is the copyright for those sources:
-
-# Copyright (c) 2010, Jean-Philippe Barrette-LaPierre, <jpb@rrette.com>
-#
-# Permission is hereby granted, free of charge, to any person
-# obtaining a copy of this software and associated documentation
-# files (the "Software"), to deal in the Software without
-# restriction, including without limitation the rights to use,
-# copy, modify, merge, publish, distribute, sublicense, and/or sell
-# copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following
-# conditions:
-#
-# The above copyright notice and this permission notice shall be
-# included in all copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-# OTHER DEALINGS IN THE SOFTWARE.
-
-Some code in core/src/java/org/apache/lucene/util/UnicodeUtil.java was
-derived from ICU (http://www.icu-project.org)
-The full license is available here:
- http://source.icu-project.org/repos/icu/icu/trunk/license.html
-
-/*
- * Copyright (C) 1999-2010, International Business Machines
- * Corporation and others. All Rights Reserved.
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, and/or sell copies of the
- * Software, and to permit persons to whom the Software is furnished to do so,
- * provided that the above copyright notice(s) and this permission notice appear
- * in all copies of the Software and that both the above copyright notice(s) and
- * this permission notice appear in supporting documentation.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS.
- * IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE
- * LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR
- * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
- * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
- * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- *
- * Except as contained in this notice, the name of a copyright holder shall not
- * be used in advertising or otherwise to promote the sale, use or other
- * dealings in this Software without prior written authorization of the
- * copyright holder.
- */
-
-The following license applies to the Snowball stemmers:
-
-Copyright (c) 2001, Dr Martin Porter
-Copyright (c) 2002, Richard Boulton
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * Neither the name of the copyright holders nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-The following license applies to the KStemmer:
-
-Copyright © 2003,
-Center for Intelligent Information Retrieval,
-University of Massachusetts, Amherst.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-1. Redistributions of source code must retain the above copyright notice, this
-list of conditions and the following disclaimer.
-
-2. Redistributions in binary form must reproduce the above copyright notice,
-this list of conditions and the following disclaimer in the documentation
-and/or other materials provided with the distribution.
-
-3. The names "Center for Intelligent Information Retrieval" and
-"University of Massachusetts" must not be used to endorse or promote products
-derived from this software without prior written permission. To obtain
-permission, contact info@ciir.cs.umass.edu.
-
-THIS SOFTWARE IS PROVIDED BY UNIVERSITY OF MASSACHUSETTS AND OTHER CONTRIBUTORS
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
-THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
-GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-SUCH DAMAGE.
-
-The following license applies to the Morfologik project:
-
-Copyright (c) 2006 Dawid Weiss
-Copyright (c) 2007-2011 Dawid Weiss, Marcin Miłkowski
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
- * Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-
- * Neither the name of Morfologik nor the names of its contributors
- may be used to endorse or promote products derived from this software
- without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
-ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
-ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
----
-
-The dictionary comes from Morfologik project. Morfologik uses data from
-Polish ispell/myspell dictionary hosted at http://www.sjp.pl/slownik/en/ and
-is licenced on the terms of (inter alia) LGPL and Creative Commons
-ShareAlike. The part-of-speech tags were added in Morfologik project and
-are not found in the data from sjp.pl. The tagset is similar to IPI PAN
-tagset.
-
----
-
-The following license applies to the Morfeusz project,
-used by org.apache.lucene.analysis.morfologik.
-
-BSD-licensed dictionary of Polish (SGJP)
-http://sgjp.pl/morfeusz/
-
-Copyright © 2011 Zygmunt Saloni, Włodzimierz Gruszczyński,
- Marcin Woliński, Robert Wołosz
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are
-met:
-
-1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
-2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the
- distribution.
-
-THIS SOFTWARE IS PROVIDED BY COPYRIGHT HOLDERS “AS IS” AND ANY EXPRESS
-OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
-BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
-OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
-IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/core/licenses/lucene-NOTICE.txt b/core/licenses/lucene-NOTICE.txt
deleted file mode 100644
index ecf08201a5..0000000000
--- a/core/licenses/lucene-NOTICE.txt
+++ /dev/null
@@ -1,191 +0,0 @@
-Apache Lucene
-Copyright 2014 The Apache Software Foundation
-
-This product includes software developed at
-The Apache Software Foundation (http://www.apache.org/).
-
-Includes software from other Apache Software Foundation projects,
-including, but not limited to:
- - Apache Ant
- - Apache Jakarta Regexp
- - Apache Commons
- - Apache Xerces
-
-ICU4J, (under analysis/icu) is licensed under an MIT styles license
-and Copyright (c) 1995-2008 International Business Machines Corporation and others
-
-Some data files (under analysis/icu/src/data) are derived from Unicode data such
-as the Unicode Character Database. See http://unicode.org/copyright.html for more
-details.
-
-Brics Automaton (under core/src/java/org/apache/lucene/util/automaton) is
-BSD-licensed, created by Anders Møller. See http://www.brics.dk/automaton/
-
-The levenshtein automata tables (under core/src/java/org/apache/lucene/util/automaton) were
-automatically generated with the moman/finenight FSA library, created by
-Jean-Philippe Barrette-LaPierre. This library is available under an MIT license,
-see http://sites.google.com/site/rrettesite/moman and
-http://bitbucket.org/jpbarrette/moman/overview/
-
-The class org.apache.lucene.util.WeakIdentityMap was derived from
-the Apache CXF project and is Apache License 2.0.
-
-The Google Code Prettify is Apache License 2.0.
-See http://code.google.com/p/google-code-prettify/
-
-JUnit (junit-4.10) is licensed under the Common Public License v. 1.0
-See http://junit.sourceforge.net/cpl-v10.html
-
-This product includes code (JaspellTernarySearchTrie) from Java Spelling Checkin
-g Package (jaspell): http://jaspell.sourceforge.net/
-License: The BSD License (http://www.opensource.org/licenses/bsd-license.php)
-
-The snowball stemmers in
- analysis/common/src/java/net/sf/snowball
-were developed by Martin Porter and Richard Boulton.
-The snowball stopword lists in
- analysis/common/src/resources/org/apache/lucene/analysis/snowball
-were developed by Martin Porter and Richard Boulton.
-The full snowball package is available from
- http://snowball.tartarus.org/
-
-The KStem stemmer in
- analysis/common/src/org/apache/lucene/analysis/en
-was developed by Bob Krovetz and Sergio Guzman-Lara (CIIR-UMass Amherst)
-under the BSD-license.
-
-The Arabic,Persian,Romanian,Bulgarian, and Hindi analyzers (common) come with a default
-stopword list that is BSD-licensed created by Jacques Savoy. These files reside in:
-analysis/common/src/resources/org/apache/lucene/analysis/ar/stopwords.txt,
-analysis/common/src/resources/org/apache/lucene/analysis/fa/stopwords.txt,
-analysis/common/src/resources/org/apache/lucene/analysis/ro/stopwords.txt,
-analysis/common/src/resources/org/apache/lucene/analysis/bg/stopwords.txt,
-analysis/common/src/resources/org/apache/lucene/analysis/hi/stopwords.txt
-See http://members.unine.ch/jacques.savoy/clef/index.html.
-
-The German,Spanish,Finnish,French,Hungarian,Italian,Portuguese,Russian and Swedish light stemmers
-(common) are based on BSD-licensed reference implementations created by Jacques Savoy and
-Ljiljana Dolamic. These files reside in:
-analysis/common/src/java/org/apache/lucene/analysis/de/GermanLightStemmer.java
-analysis/common/src/java/org/apache/lucene/analysis/de/GermanMinimalStemmer.java
-analysis/common/src/java/org/apache/lucene/analysis/es/SpanishLightStemmer.java
-analysis/common/src/java/org/apache/lucene/analysis/fi/FinnishLightStemmer.java
-analysis/common/src/java/org/apache/lucene/analysis/fr/FrenchLightStemmer.java
-analysis/common/src/java/org/apache/lucene/analysis/fr/FrenchMinimalStemmer.java
-analysis/common/src/java/org/apache/lucene/analysis/hu/HungarianLightStemmer.java
-analysis/common/src/java/org/apache/lucene/analysis/it/ItalianLightStemmer.java
-analysis/common/src/java/org/apache/lucene/analysis/pt/PortugueseLightStemmer.java
-analysis/common/src/java/org/apache/lucene/analysis/ru/RussianLightStemmer.java
-analysis/common/src/java/org/apache/lucene/analysis/sv/SwedishLightStemmer.java
-
-The Stempel analyzer (stempel) includes BSD-licensed software developed
-by the Egothor project http://egothor.sf.net/, created by Leo Galambos, Martin Kvapil,
-and Edmond Nolan.
-
-The Polish analyzer (stempel) comes with a default
-stopword list that is BSD-licensed created by the Carrot2 project. The file resides
-in stempel/src/resources/org/apache/lucene/analysis/pl/stopwords.txt.
-See http://project.carrot2.org/license.html.
-
-The SmartChineseAnalyzer source code (smartcn) was
-provided by Xiaoping Gao and copyright 2009 by www.imdict.net.
-
-WordBreakTestUnicode_*.java (under modules/analysis/common/src/test/)
-is derived from Unicode data such as the Unicode Character Database.
-See http://unicode.org/copyright.html for more details.
-
-The Morfologik analyzer (morfologik) includes BSD-licensed software
-developed by Dawid Weiss and Marcin Miłkowski (http://morfologik.blogspot.com/).
-
-Morfologik uses data from Polish ispell/myspell dictionary
-(http://www.sjp.pl/slownik/en/) licenced on the terms of (inter alia)
-LGPL and Creative Commons ShareAlike.
-
-Morfologic includes data from BSD-licensed dictionary of Polish (SGJP)
-(http://sgjp.pl/morfeusz/)
-
-Servlet-api.jar and javax.servlet-*.jar are under the CDDL license, the original
-source code for this can be found at http://www.eclipse.org/jetty/downloads.php
-
-===========================================================================
-Kuromoji Japanese Morphological Analyzer - Apache Lucene Integration
-===========================================================================
-
-This software includes a binary and/or source version of data from
-
- mecab-ipadic-2.7.0-20070801
-
-which can be obtained from
-
- http://atilika.com/releases/mecab-ipadic/mecab-ipadic-2.7.0-20070801.tar.gz
-
-or
-
- http://jaist.dl.sourceforge.net/project/mecab/mecab-ipadic/2.7.0-20070801/mecab-ipadic-2.7.0-20070801.tar.gz
-
-===========================================================================
-mecab-ipadic-2.7.0-20070801 Notice
-===========================================================================
-
-Nara Institute of Science and Technology (NAIST),
-the copyright holders, disclaims all warranties with regard to this
-software, including all implied warranties of merchantability and
-fitness, in no event shall NAIST be liable for
-any special, indirect or consequential damages or any damages
-whatsoever resulting from loss of use, data or profits, whether in an
-action of contract, negligence or other tortuous action, arising out
-of or in connection with the use or performance of this software.
-
-A large portion of the dictionary entries
-originate from ICOT Free Software. The following conditions for ICOT
-Free Software applies to the current dictionary as well.
-
-Each User may also freely distribute the Program, whether in its
-original form or modified, to any third party or parties, PROVIDED
-that the provisions of Section 3 ("NO WARRANTY") will ALWAYS appear
-on, or be attached to, the Program, which is distributed substantially
-in the same form as set out herein and that such intended
-distribution, if actually made, will neither violate or otherwise
-contravene any of the laws and regulations of the countries having
-jurisdiction over the User or the intended distribution itself.
-
-NO WARRANTY
-
-The program was produced on an experimental basis in the course of the
-research and development conducted during the project and is provided
-to users as so produced on an experimental basis. Accordingly, the
-program is provided without any warranty whatsoever, whether express,
-implied, statutory or otherwise. The term "warranty" used herein
-includes, but is not limited to, any warranty of the quality,
-performance, merchantability and fitness for a particular purpose of
-the program and the nonexistence of any infringement or violation of
-any right of any third party.
-
-Each user of the program will agree and understand, and be deemed to
-have agreed and understood, that there is no warranty whatsoever for
-the program and, accordingly, the entire risk arising from or
-otherwise connected with the program is assumed by the user.
-
-Therefore, neither ICOT, the copyright holder, or any other
-organization that participated in or was otherwise related to the
-development of the program and their respective officials, directors,
-officers and other employees shall be held liable for any and all
-damages, including, without limitation, general, special, incidental
-and consequential damages, arising out of or otherwise in connection
-with the use or inability to use the program or any product, material
-or result produced or otherwise obtained by using the program,
-regardless of whether they have been advised of, or otherwise had
-knowledge of, the possibility of such damages at any time during the
-project or thereafter. Each user will be deemed to have agreed to the
-foregoing by his or her commencement of use of the program. The term
-"use" as used herein includes, but is not limited to, the use,
-modification, copying and distribution of the program and the
-production of secondary products from the program.
-
-In the case where the program, whether in its original form or
-modified, was distributed or delivered to or received by a user from
-any person, organization or entity other than ICOT, unless it makes or
-grants independently of ICOT any specific warranty to the user in
-writing, such person, organization or entity, will also be exempted
-from and not be held liable to the user for any such damages as noted
-above as far as the program is concerned.
diff --git a/core/licenses/lucene-analyzers-common-5.2.1.jar.sha1 b/core/licenses/lucene-analyzers-common-5.2.1.jar.sha1
deleted file mode 100644
index 48f8e58147..0000000000
--- a/core/licenses/lucene-analyzers-common-5.2.1.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-33b7cc17d5a7c939af6fe3f67563f4709926d7f5
diff --git a/core/licenses/lucene-backward-codecs-5.2.1.jar.sha1 b/core/licenses/lucene-backward-codecs-5.2.1.jar.sha1
deleted file mode 100644
index f01d68718f..0000000000
--- a/core/licenses/lucene-backward-codecs-5.2.1.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-603d1f06b133449272799d698e5118db65e523ba
diff --git a/core/licenses/lucene-core-5.2.1.jar.sha1 b/core/licenses/lucene-core-5.2.1.jar.sha1
deleted file mode 100644
index cbebe2b858..0000000000
--- a/core/licenses/lucene-core-5.2.1.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-a175590aa8b04e079eb1a136fd159f9163482ba4
diff --git a/core/licenses/lucene-expressions-5.2.1.jar.sha1 b/core/licenses/lucene-expressions-5.2.1.jar.sha1
deleted file mode 100644
index 1823826d96..0000000000
--- a/core/licenses/lucene-expressions-5.2.1.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-b966460caa7a91be5969dc5c0053d8de4e861fd6
diff --git a/core/licenses/lucene-grouping-5.2.1.jar.sha1 b/core/licenses/lucene-grouping-5.2.1.jar.sha1
deleted file mode 100644
index 23cea6c545..0000000000
--- a/core/licenses/lucene-grouping-5.2.1.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-5682a9820d4f8ef99150b80dcc260919e68ebf39
diff --git a/core/licenses/lucene-highlighter-5.2.1.jar.sha1 b/core/licenses/lucene-highlighter-5.2.1.jar.sha1
deleted file mode 100644
index 67e9e8ee40..0000000000
--- a/core/licenses/lucene-highlighter-5.2.1.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-dd9bba952e362970a1084201fe4858e08f1ceb1f
diff --git a/core/licenses/lucene-join-5.2.1.jar.sha1 b/core/licenses/lucene-join-5.2.1.jar.sha1
deleted file mode 100644
index 00c2c22e08..0000000000
--- a/core/licenses/lucene-join-5.2.1.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-168e9c9b826faf60489a25645e4322fb8d130574
diff --git a/core/licenses/lucene-memory-5.2.1.jar.sha1 b/core/licenses/lucene-memory-5.2.1.jar.sha1
deleted file mode 100644
index 93c743ba1a..0000000000
--- a/core/licenses/lucene-memory-5.2.1.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-601f5404c137600488f5b2f2ca635db4ac9fd0cb
diff --git a/core/licenses/lucene-misc-5.2.1.jar.sha1 b/core/licenses/lucene-misc-5.2.1.jar.sha1
deleted file mode 100644
index 227b55c2d2..0000000000
--- a/core/licenses/lucene-misc-5.2.1.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-be0a4f0ac06f0a2fa3689b4bf6cd1fe6847f9969
diff --git a/core/licenses/lucene-queries-5.2.1.jar.sha1 b/core/licenses/lucene-queries-5.2.1.jar.sha1
deleted file mode 100644
index 026e3a9032..0000000000
--- a/core/licenses/lucene-queries-5.2.1.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-5bada7fe2251e097413a23eefc8c87d009dac24f
diff --git a/core/licenses/lucene-queryparser-5.2.1.jar.sha1 b/core/licenses/lucene-queryparser-5.2.1.jar.sha1
deleted file mode 100644
index a2d8e2cc29..0000000000
--- a/core/licenses/lucene-queryparser-5.2.1.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-73be0a2d4ab3e6b574be1938bfb27f7f730f0ad9
diff --git a/core/licenses/lucene-sandbox-5.2.1.jar.sha1 b/core/licenses/lucene-sandbox-5.2.1.jar.sha1
deleted file mode 100644
index 3caf307207..0000000000
--- a/core/licenses/lucene-sandbox-5.2.1.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-8d2355e5d8c95a4c3188ee2734a9f98829b2b10b
diff --git a/core/licenses/lucene-spatial-5.2.1.jar.sha1 b/core/licenses/lucene-spatial-5.2.1.jar.sha1
deleted file mode 100644
index 20f07e938c..0000000000
--- a/core/licenses/lucene-spatial-5.2.1.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-ec498e52fdfc8ab751d9712b04c76e26e75e5014
diff --git a/core/licenses/lucene-suggest-5.2.1.jar.sha1 b/core/licenses/lucene-suggest-5.2.1.jar.sha1
deleted file mode 100644
index 12a585d32b..0000000000
--- a/core/licenses/lucene-suggest-5.2.1.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-0d62b25d52f9949b243c9cdb8a78830aa4944415
diff --git a/core/licenses/netty-3.10.3.Final.jar.sha1 b/core/licenses/netty-3.10.3.Final.jar.sha1
deleted file mode 100644
index 097fe6e844..0000000000
--- a/core/licenses/netty-3.10.3.Final.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-15adf7ddece077d7dc429db058981f528d1c899a \ No newline at end of file
diff --git a/core/licenses/netty-LICENSE.txt b/core/licenses/netty-LICENSE.txt
deleted file mode 100644
index d645695673..0000000000
--- a/core/licenses/netty-LICENSE.txt
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
diff --git a/core/licenses/netty-NOTICE.txt b/core/licenses/netty-NOTICE.txt
deleted file mode 100644
index 5b2e21acea..0000000000
--- a/core/licenses/netty-NOTICE.txt
+++ /dev/null
@@ -1,117 +0,0 @@
-
- The Netty Project
- =================
-
-Please visit the Netty web site for more information:
-
- * http://netty.io/
-
-Copyright 2011 The Netty Project
-
-The Netty Project licenses this file to you under the Apache License,
-version 2.0 (the "License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at:
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-License for the specific language governing permissions and limitations
-under the License.
-
-Also, please refer to each LICENSE.<component>.txt file, which is located in
-the 'license' directory of the distribution file, for the license terms of the
-components that this product depends on.
-
--------------------------------------------------------------------------------
-This product contains the extensions to Java Collections Framework which has
-been derived from the works by JSR-166 EG, Doug Lea, and Jason T. Greene:
-
- * LICENSE:
- * license/LICENSE.jsr166y.txt (Public Domain)
- * HOMEPAGE:
- * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/
- * http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbosscache/experimental/jsr166/
-
-This product contains a modified version of Robert Harder's Public Domain
-Base64 Encoder and Decoder, which can be obtained at:
-
- * LICENSE:
- * license/LICENSE.base64.txt (Public Domain)
- * HOMEPAGE:
- * http://iharder.sourceforge.net/current/java/base64/
-
-This product contains a modified version of 'JZlib', a re-implementation of
-zlib in pure Java, which can be obtained at:
-
- * LICENSE:
- * license/LICENSE.jzlib.txt (BSD Style License)
- * HOMEPAGE:
- * http://www.jcraft.com/jzlib/
-
-This product contains a modified version of 'Webbit', a Java event based
-WebSocket and HTTP server:
-
- * LICENSE:
- * license/LICENSE.webbit.txt (BSD License)
- * HOMEPAGE:
- * https://github.com/joewalnes/webbit
-
-This product optionally depends on 'Protocol Buffers', Google's data
-interchange format, which can be obtained at:
-
- * LICENSE:
- * license/LICENSE.protobuf.txt (New BSD License)
- * HOMEPAGE:
- * http://code.google.com/p/protobuf/
-
-This product optionally depends on 'Bouncy Castle Crypto APIs' to generate
-a temporary self-signed X.509 certificate when the JVM does not provide the
-equivalent functionality. It can be obtained at:
-
- * LICENSE:
- * license/LICENSE.bouncycastle.txt (MIT License)
- * HOMEPAGE:
- * http://www.bouncycastle.org/
-
-This product optionally depends on 'SLF4J', a simple logging facade for Java,
-which can be obtained at:
-
- * LICENSE:
- * license/LICENSE.slf4j.txt (MIT License)
- * HOMEPAGE:
- * http://www.slf4j.org/
-
-This product optionally depends on 'Apache Commons Logging', a logging
-framework, which can be obtained at:
-
- * LICENSE:
- * license/LICENSE.commons-logging.txt (Apache License 2.0)
- * HOMEPAGE:
- * http://commons.apache.org/logging/
-
-This product optionally depends on 'Apache Log4J', a logging framework,
-which can be obtained at:
-
- * LICENSE:
- * license/LICENSE.log4j.txt (Apache License 2.0)
- * HOMEPAGE:
- * http://logging.apache.org/log4j/
-
-This product optionally depends on 'JBoss Logging', a logging framework,
-which can be obtained at:
-
- * LICENSE:
- * license/LICENSE.jboss-logging.txt (GNU LGPL 2.1)
- * HOMEPAGE:
- * http://anonsvn.jboss.org/repos/common/common-logging-spi/
-
-This product optionally depends on 'Apache Felix', an open source OSGi
-framework implementation, which can be obtained at:
-
- * LICENSE:
- * license/LICENSE.felix.txt (Apache License 2.0)
- * HOMEPAGE:
- * http://felix.apache.org/
-
diff --git a/core/licenses/snakeyaml-1.12.jar.sha1 b/core/licenses/snakeyaml-1.12.jar.sha1
deleted file mode 100644
index b57cf105f2..0000000000
--- a/core/licenses/snakeyaml-1.12.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-ebe66a6b88caab31d7a19571ad23656377523545
diff --git a/core/licenses/snakeyaml-LICENSE.txt b/core/licenses/snakeyaml-LICENSE.txt
deleted file mode 100644
index d9a10c0d8e..0000000000
--- a/core/licenses/snakeyaml-LICENSE.txt
+++ /dev/null
@@ -1,176 +0,0 @@
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
diff --git a/core/licenses/snakeyaml-NOTICE.txt b/core/licenses/snakeyaml-NOTICE.txt
deleted file mode 100644
index 8d1c8b69c3..0000000000
--- a/core/licenses/snakeyaml-NOTICE.txt
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/core/licenses/spatial4j-0.4.1.jar.sha1 b/core/licenses/spatial4j-0.4.1.jar.sha1
deleted file mode 100644
index 1c2883bd83..0000000000
--- a/core/licenses/spatial4j-0.4.1.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-4234d12b1ba4d4b539fb3e29edd948a99539d9eb
diff --git a/core/licenses/spatial4j-LICENSE.txt b/core/licenses/spatial4j-LICENSE.txt
deleted file mode 100644
index d645695673..0000000000
--- a/core/licenses/spatial4j-LICENSE.txt
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
diff --git a/core/licenses/spatial4j-NOTICE.txt b/core/licenses/spatial4j-NOTICE.txt
deleted file mode 100644
index 8d1c8b69c3..0000000000
--- a/core/licenses/spatial4j-NOTICE.txt
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/core/licenses/t-digest-3.0.jar.sha1 b/core/licenses/t-digest-3.0.jar.sha1
deleted file mode 100644
index 6deec27800..0000000000
--- a/core/licenses/t-digest-3.0.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-84ccf145ac2215e6bfa63baa3101c0af41017cfc
diff --git a/core/licenses/t-digest-LICENSE.txt b/core/licenses/t-digest-LICENSE.txt
deleted file mode 100644
index e06d208186..0000000000
--- a/core/licenses/t-digest-LICENSE.txt
+++ /dev/null
@@ -1,202 +0,0 @@
-Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "{}"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright {yyyy} {name of copyright owner}
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
diff --git a/core/licenses/t-digest-NOTICE.txt b/core/licenses/t-digest-NOTICE.txt
deleted file mode 100644
index 319f7b55cb..0000000000
--- a/core/licenses/t-digest-NOTICE.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-The code for the t-digest was originally authored by Ted Dunning
-
-A number of small but very helpful changes have been contributed by Adrien Grand (https://github.com/jpountz)
-
diff --git a/core/pom.xml b/core/pom.xml
index 122bfeea98..b507a36707 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -18,24 +18,9 @@
<properties>
- <!-- Properties used for building RPM & DEB packages (see common/packaging.properties) -->
- <packaging.elasticsearch.home.dir>/usr/share/elasticsearch</packaging.elasticsearch.home.dir>
- <packaging.elasticsearch.bin.dir>/usr/share/elasticsearch/bin</packaging.elasticsearch.bin.dir>
- <packaging.elasticsearch.conf.dir>/etc/elasticsearch</packaging.elasticsearch.conf.dir>
- <packaging.elasticsearch.data.dir>/var/lib/elasticsearch</packaging.elasticsearch.data.dir>
- <packaging.elasticsearch.user>elasticsearch</packaging.elasticsearch.user>
- <packaging.elasticsearch.group>elasticsearch</packaging.elasticsearch.group>
- <packaging.elasticsearch.log.dir>/var/log/elasticsearch</packaging.elasticsearch.log.dir>
- <packaging.elasticsearch.plugins.dir>${packaging.elasticsearch.home.dir}/plugins</packaging.elasticsearch.plugins.dir>
- <packaging.elasticsearch.pid.dir>/var/run/elasticsearch</packaging.elasticsearch.pid.dir>
- <packaging.elasticsearch.systemd.dir>/usr/lib/systemd/system</packaging.elasticsearch.systemd.dir>
- <packaging.elasticsearch.systemd.sysctl.dir>/usr/lib/sysctl.d</packaging.elasticsearch.systemd.sysctl.dir>
- <packaging.elasticsearch.tmpfilesd.dir>/usr/lib/tmpfiles.d</packaging.elasticsearch.tmpfilesd.dir>
- <deb.sign>false</deb.sign>
- <deb.sign.method>dpkg-sig</deb.sign.method>
+ <skip.integ.tests>true</skip.integ.tests>
</properties>
-
<dependencies>
<dependency>
<groupId>org.hamcrest</groupId>
@@ -230,12 +215,6 @@
<build>
- <!-- This file contains all the common properties used to build
- the different packages (tar.gz, deb, rpm) using Maven resources plugin -->
- <filters>
- <filter>${project.basedir}/src/packaging/common/packaging.properties</filter>
- </filters>
-
<resources>
<resource>
<directory>${project.basedir}/src/main/java</directory>
@@ -431,532 +410,6 @@
</filters>
</configuration>
</plugin>
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.6</version>
- <executions>
- <execution>
- <id>copy-resources</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>${project.build.directory}/bin</outputDirectory>
- <resources>
- <resource>
- <directory>${project.basedir}/bin</directory>
- <filtering>true</filtering>
- <excludes>
- <exclude>*.exe</exclude>
- </excludes>
- </resource>
- <resource>
- <directory>${project.basedir}/bin</directory>
- <filtering>false</filtering>
- <includes>
- <include>*.exe</include>
- </includes>
- </resource>
- </resources>
- </configuration>
- </execution>
- <!-- Filters some files and uses packaging.properties when building the .deb package -->
- <execution>
- <id>copy-resources-deb</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>${project.build.directory}/generated-packaging/deb/</outputDirectory>
- <filters>
- <filter>${project.basedir}/src/packaging/common/packaging.properties</filter>
- <filter>${project.basedir}/src/packaging/deb/packaging.properties</filter>
- </filters>
- <resources>
- <resource>
- <directory>${project.basedir}/src/packaging/common/</directory>
- <filtering>true</filtering>
- <includes>
- <include>**/*</include>
- </includes>
- <excludes>
- <exclude>packaging.properties</exclude>
- </excludes>
- </resource>
- <resource>
- <directory>${project.basedir}/src/packaging/deb/</directory>
- <filtering>true</filtering>
- <includes>
- <include>**/*</include>
- </includes>
- <excludes>
- <exclude>packaging.properties</exclude>
- </excludes>
- </resource>
- <resource>
- <directory>${project.basedir}</directory>
- <filtering>true</filtering>
- <includes>
- <include>bin/elasticsearch</include>
- <include>bin/elasticsearch.in.sh</include>
- <include>bin/plugin</include>
- </includes>
- </resource>
- </resources>
- </configuration>
- </execution>
- <!-- Filters some files and uses packaging.properties when building the .rpm package -->
- <execution>
- <id>copy-resources-rpm</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>${project.build.directory}/generated-packaging/rpm/</outputDirectory>
- <filters>
- <filter>${project.basedir}/src/packaging/common/packaging.properties</filter>
- <filter>${project.basedir}/src/packaging/rpm/packaging.properties</filter>
- </filters>
- <resources>
- <resource>
- <directory>src/packaging/common/</directory>
- <filtering>true</filtering>
- <includes>
- <include>**/*</include>
- </includes>
- <excludes>
- <exclude>packaging.properties</exclude>
- </excludes>
- </resource>
- <resource>
- <directory>src/packaging/rpm/</directory>
- <filtering>true</filtering>
- <includes>
- <include>**/*</include>
- </includes>
- <excludes>
- <exclude>packaging.properties</exclude>
- </excludes>
- </resource>
- <resource>
- <directory>${project.basedir}</directory>
- <filtering>true</filtering>
- <includes>
- <include>bin/elasticsearch</include>
- <include>bin/elasticsearch.in.sh</include>
- <include>bin/plugin</include>
- </includes>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <appendAssemblyId>false</appendAssemblyId>
- <outputDirectory>${project.build.directory}/releases/</outputDirectory>
- <descriptors>
- <descriptor>${project.basedir}/src/main/assemblies/targz-bin.xml</descriptor>
- <descriptor>${project.basedir}/src/main/assemblies/zip-bin.xml</descriptor>
- </descriptors>
- </configuration>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <phase>prepare-package</phase>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- <configuration>
- <outputDirectory>${project.build.directory}/lib</outputDirectory>
- <includeScope>runtime</includeScope>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <!-- Deb Packaging -->
- <plugin>
- <!-- some infos https://github.com/tcurdt/jdeb/blob/master/docs/maven.md -->
- <artifactId>jdeb</artifactId>
- <groupId>org.vafer</groupId>
- <version>1.4</version>
- <configuration>
- <deb>${project.build.directory}/releases/${project.artifactId}-${project.version}.deb</deb>
- <controlDir>${project.build.directory}/generated-packaging/deb/scripts</controlDir>
- </configuration>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>jdeb</goal>
- </goals>
- <configuration>
- <signPackage>${deb.sign}</signPackage>
- <keyring>${gpg.keyring}</keyring>
- <key>${gpg.key}</key>
- <passphrase>${gpg.passphrase}</passphrase>
- <signMethod>${deb.sign.method}</signMethod>
- <dataSet>
- <!-- Add bin directory -->
- <data>
- <src>${project.build.directory}/generated-packaging/deb/bin</src>
- <type>directory</type>
- <includes>elasticsearch,elasticsearch.in.sh,plugin</includes>
- <mapper>
- <type>perm</type>
- <prefix>${packaging.elasticsearch.bin.dir}</prefix>
- <filemode>755</filemode>
- <user>root</user>
- <group>root</group>
- </mapper>
- </data>
- <!-- Add configuration files -->
- <data>
- <src>${project.basedir}/config</src>
- <type>directory</type>
- <excludes>.DS_Store</excludes>
- <mapper>
- <type>perm</type>
- <prefix>${packaging.elasticsearch.conf.dir}</prefix>
- <user>root</user>
- <group>root</group>
- </mapper>
- </data>
- <!-- Add environment vars file -->
- <data>
- <src>${project.build.directory}/generated-packaging/deb/env/elasticsearch</src>
- <type>file</type>
- <mapper>
- <type>perm</type>
- <prefix>/etc/default</prefix>
- <filemode>644</filemode>
- <user>root</user>
- <group>root</group>
- </mapper>
- </data>
- <!-- Add libs -->
- <data>
- <src>${project.build.directory}/</src>
- <includes>${project.build.finalName}.jar</includes>
- <type>directory</type>
- <mapper>
- <type>perm</type>
- <prefix>${packaging.elasticsearch.home.dir}/lib</prefix>
- <user>root</user>
- <group>root</group>
- </mapper>
- </data>
- <data>
- <src>${project.build.directory}/lib</src>
- <excludes>${project.build.finalName}-shaded.jar,${project.build.finalName}-sources.jar,${project.build.finalName}-tests.jar,${project.build.finalName}-test-sources.jar,slf4j-api-*.jar</excludes>
- <type>directory</type>
- <mapper>
- <type>perm</type>
- <prefix>${packaging.elasticsearch.home.dir}/lib</prefix>
- <user>root</user>
- <group>root</group>
- </mapper>
- </data>
- <!-- Add init.d files -->
- <data>
- <src>${project.build.directory}/generated-packaging/deb/init.d/</src>
- <type>directory</type>
- <excludes>.DS_Store</excludes>
- <mapper>
- <type>perm</type>
- <prefix>/etc/init.d</prefix>
- <filemode>755</filemode>
- <user>root</user>
- <group>root</group>
- </mapper>
- </data>
- <!-- Adds systemd file -->
- <data>
- <src>${project.build.directory}/generated-packaging/deb/systemd/elasticsearch.service</src>
- <dst>${packaging.elasticsearch.systemd.dir}/elasticsearch.service</dst>
- <type>file</type>
- </data>
- <!-- Adds systemd/sysctl.d configuration file -->
- <data>
- <src>${project.build.directory}/generated-packaging/deb/systemd/sysctl/elasticsearch.conf</src>
- <dst>${packaging.elasticsearch.systemd.sysctl.dir}/elasticsearch.conf</dst>
- <type>file</type>
- </data>
- <!-- Adds systemd/tmpfiles.d configuration file -->
- <data>
- <src>${project.build.directory}/generated-packaging/deb/systemd/elasticsearch.conf</src>
- <dst>${packaging.elasticsearch.tmpfilesd.dir}/elasticsearch.conf</dst>
- <type>file</type>
- </data>
- <!-- Add lintian files -->
- <data>
- <src>${project.build.directory}/generated-packaging/deb/lintian</src>
- <type>directory</type>
- <excludes>.DS_Store</excludes>
- <mapper>
- <type>perm</type>
- <prefix>/usr/share/lintian/overrides</prefix>
- <user>root</user>
- <group>root</group>
- </mapper>
- </data>
- <!-- Add readme files -->
- <data>
- <src>${project.basedir}/</src>
- <includes>*.txt, *.textile</includes>
- <excludes>LICENSE.txt, .DS_Store</excludes>
- <type>directory</type>
- <mapper>
- <type>perm</type>
- <prefix>${packaging.elasticsearch.home.dir}</prefix>
- <user>root</user>
- <group>root</group>
- </mapper>
- </data>
- <!-- Add license files -->
- <data>
- <src>${project.build.directory}/generated-packaging/deb/copyright</src>
- <dst>/usr/share/doc/elasticsearch/copyright</dst>
- <type>file</type>
- </data>
- <!-- Adds and sets permission on default directories -->
- <data>
- <type>template</type>
- <paths>
- <path>${packaging.elasticsearch.data.dir}</path>
- <path>${packaging.elasticsearch.log.dir}</path>
- <path>${packaging.elasticsearch.plugins.dir}</path>
- <path>${packaging.elasticsearch.pid.dir}</path>
- </paths>
- <mapper>
- <type>perm</type>
- <dirmode>755</dirmode>
- <user>${packaging.elasticsearch.user}</user>
- <group>${packaging.elasticsearch.group}</group>
- </mapper>
- </data>
- </dataSet>
-
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <!-- Rpm Packaging -->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>rpm-maven-plugin</artifactId>
- <version>2.1.3</version>
- <configuration>
- <distribution>Elasticsearch</distribution>
- <group>Application/Internet</group>
- <packager>Elasticsearch</packager>
- <prefix>/usr</prefix>
- <changelogFile>src/changelog</changelogFile>
- <defineStatements>
- <defineStatement>_unpackaged_files_terminate_build 0</defineStatement>
- <defineStatement>_binaries_in_noarch_packages_terminate_build 0</defineStatement>
- </defineStatements>
- <defaultFilemode>644</defaultFilemode>
- <defaultDirmode>755</defaultDirmode>
- <defaultUsername>root</defaultUsername>
- <defaultGroupname>root</defaultGroupname>
- <mappings>
- <!-- Add bin directory -->
- <mapping>
- <directory>${packaging.elasticsearch.bin.dir}/</directory>
- <filemode>755</filemode>
- <sources>
- <source>
- <location>${project.build.directory}/generated-packaging/rpm/bin</location>
- <includes>
- <include>elasticsearch</include>
- <include>elasticsearch.in.sh</include>
- <include>plugin</include>
- </includes>
- </source>
- </sources>
- </mapping>
- <!-- Add configuration files -->
- <mapping>
- <directory>${packaging.elasticsearch.conf.dir}/</directory>
- <configuration>noreplace</configuration>
- <sources>
- <source>
- <location>${project.basedir}/config/</location>
- <includes>
- <include>*.yml</include>
- </includes>
- </source>
- </sources>
- </mapping>
- <!-- Add environment vars file -->
- <mapping>
- <directory>/etc/sysconfig/</directory>
- <directoryIncluded>false</directoryIncluded>
- <configuration>noreplace</configuration>
- <sources>
- <source>
- <location>${project.build.directory}/generated-packaging/rpm/env/</location>
- <includes>
- <include>elasticsearch</include>
- </includes>
- </source>
- </sources>
- </mapping>
- <!-- Add libs -->
- <mapping>
- <directory>${packaging.elasticsearch.home.dir}/lib</directory>
- <sources>
- <source>
- <location>target/lib/</location>
- <excludes>
- <exclude>${project.build.finalName}-shaded.jar</exclude>
- <exclude>${project.build.finalName}-sources.jar</exclude>
- <exclude>${project.build.finalName}-tests.jar</exclude>
- <exclude>${project.build.finalName}-test-sources.jar</exclude>
- <exclude>slf4j-api-*.jar</exclude>
- </excludes>
- </source>
- <source>
- <location>${project.build.directory}/</location>
- <includes>
- <include>${project.build.finalName}.jar</include>
- </includes>
- </source>
- </sources>
- </mapping>
- <!-- Add init.d files -->
- <mapping>
- <directory>/etc/init.d</directory>
- <directoryIncluded>false</directoryIncluded>
- <filemode>755</filemode>
- <configuration>true</configuration>
- <sources>
- <source>
- <location>${project.build.directory}/generated-packaging/rpm/init.d</location>
- <includes>
- <include>elasticsearch</include>
- </includes>
- </source>
- </sources>
- </mapping>
- <!-- Adds systemd file -->
- <mapping>
- <directory>${packaging.elasticsearch.systemd.dir}</directory>
- <directoryIncluded>false</directoryIncluded>
- <configuration>true</configuration>
- <sources>
- <source>
- <location>${project.build.directory}/generated-packaging/rpm/systemd</location>
- <includes>
- <include>elasticsearch.service</include>
- </includes>
- </source>
- </sources>
- </mapping>
- <!-- Adds systemd/sysctl.d configuration file -->
- <mapping>
- <directory>${packaging.elasticsearch.systemd.sysctl.dir}</directory>
- <configuration>true</configuration>
- <sources>
- <source>
- <location>${project.build.directory}/generated-packaging/rpm/systemd/sysctl</location>
- <includes>
- <include>elasticsearch.conf</include>
- </includes>
- </source>
- </sources>
- </mapping>
- <!-- Adds systemd/tmpfiles.d configuration file -->
- <mapping>
- <directory>${packaging.elasticsearch.tmpfilesd.dir}</directory>
- <configuration>true</configuration>
- <sources>
- <source>
- <location>${project.build.directory}/generated-packaging/rpm/systemd/</location>
- <includes>
- <include>elasticsearch.conf</include>
- </includes>
- </source>
- </sources>
- </mapping>
- <!-- Add readme files -->
- <mapping>
- <directory>${packaging.elasticsearch.home.dir}</directory>
- <sources>
- <source>
- <location>.</location>
- <includes>
- <include>LICENSE.txt</include>
- <include>NOTICE.txt</include>
- <include>README.textile</include>
- </includes>
- </source>
- </sources>
- </mapping>
- <!-- Add and sets permission on default directories -->
- <mapping>
- <directory>${packaging.elasticsearch.data.dir}</directory>
- <filemode>755</filemode>
- <username>${packaging.elasticsearch.user}</username>
- <groupname>${packaging.elasticsearch.group}</groupname>
- </mapping>
- <mapping>
- <directory>${packaging.elasticsearch.log.dir}</directory>
- <filemode>755</filemode>
- <username>${packaging.elasticsearch.user}</username>
- <groupname>${packaging.elasticsearch.group}</groupname>
- </mapping>
- <mapping>
- <directory>${packaging.elasticsearch.plugins.dir}</directory>
- <filemode>755</filemode>
- <username>${packaging.elasticsearch.user}</username>
- <groupname>${packaging.elasticsearch.group}</groupname>
- </mapping>
- <mapping>
- <directory>${packaging.elasticsearch.pid.dir}</directory>
- <filemode>755</filemode>
- <username>${packaging.elasticsearch.user}</username>
- <groupname>${packaging.elasticsearch.group}</groupname>
- </mapping>
- </mappings>
- <preinstallScriptlet>
- <scriptFile>${project.build.directory}/generated-packaging/rpm/scripts/preinst</scriptFile>
- <fileEncoding>utf-8</fileEncoding>
- </preinstallScriptlet>
- <postinstallScriptlet>
- <scriptFile>${project.build.directory}/generated-packaging/rpm/scripts/postinst</scriptFile>
- <fileEncoding>utf-8</fileEncoding>
- </postinstallScriptlet>
- <preremoveScriptlet>
- <scriptFile>${project.build.directory}/generated-packaging/rpm/scripts/prerm</scriptFile>
- <fileEncoding>utf-8</fileEncoding>
- </preremoveScriptlet>
- <postremoveScriptlet>
- <scriptFile>${project.build.directory}/generated-packaging/rpm/scripts/postrm</scriptFile>
- <fileEncoding>utf-8</fileEncoding>
- </postremoveScriptlet>
- </configuration>
- </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -1003,32 +456,6 @@
</target>
</configuration>
</execution>
- <!-- start up external cluster -->
- <execution>
- <id>integ-setup</id>
- <phase>pre-integration-test</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <target>
- <ant antfile="${elasticsearch.integ.antfile}" target="start-external-cluster"/>
- </target>
- </configuration>
- </execution>
- <!-- shut down external cluster -->
- <execution>
- <id>integ-teardown</id>
- <phase>post-integration-test</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <target>
- <ant antfile="${elasticsearch.integ.antfile}" target="stop-external-cluster"/>
- </target>
- </configuration>
- </execution>
</executions>
</plugin>
</plugins>
@@ -1074,54 +501,5 @@
</activation>
<!-- not including license-maven-plugin is sufficent to expose default license -->
</profile>
- <profile>
- <id>release</id> <!-- named after the parents release profile to be activated -->
- <activation>
- <property>
- <name>package.rpm</name>
- <value>true</value>
- </property>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>rpm-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-rpm</id>
- <goals>
- <goal>attached-rpm</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>sign-rpm</id>
- <activation>
- <property>
- <name>rpm.sign</name>
- <value>true</value>
- </property>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>rpm-maven-plugin</artifactId>
- <configuration>
- <keyname>${gpg.key}</keyname>
- <keypath>${gpg.keyring}</keypath>
- <keyPassphrase>
- <passphrase>${gpg.passphrase}</passphrase>
- </keyPassphrase>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
</profiles>
</project>
diff --git a/core/src/main/assemblies/targz-bin.xml b/core/src/main/assemblies/targz-bin.xml
deleted file mode 100644
index f342f6a090..0000000000
--- a/core/src/main/assemblies/targz-bin.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0"?>
-<assembly>
- <id>targz</id>
- <formats>
- <format>tar.gz</format>
- </formats>
-
- <includeBaseDirectory>true</includeBaseDirectory>
-
- <componentDescriptors>
- <componentDescriptor>src/main/assemblies/common-bin.xml</componentDescriptor>
- </componentDescriptors>
-</assembly>
diff --git a/core/src/main/assemblies/zip-bin.xml b/core/src/main/assemblies/zip-bin.xml
deleted file mode 100644
index 6ac0f7a8bb..0000000000
--- a/core/src/main/assemblies/zip-bin.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0"?>
-<assembly>
- <id>zip</id>
- <formats>
- <format>zip</format>
- </formats>
-
- <includeBaseDirectory>true</includeBaseDirectory>
-
- <componentDescriptors>
- <componentDescriptor>src/main/assemblies/common-bin.xml</componentDescriptor>
- </componentDescriptors>
-</assembly>
diff --git a/core/src/packaging/common/env/elasticsearch b/core/src/packaging/common/env/elasticsearch
deleted file mode 100644
index cdf05bb900..0000000000
--- a/core/src/packaging/common/env/elasticsearch
+++ /dev/null
@@ -1,75 +0,0 @@
-################################
-# Elasticsearch
-################################
-
-# Elasticsearch home directory
-#ES_HOME=${packaging.elasticsearch.home.dir}
-
-# Elasticsearch configuration directory
-#CONF_DIR=${packaging.elasticsearch.conf.dir}
-
-# Elasticsearch configuration file
-#CONF_FILE=$CONF_DIR/elasticsearch.yml
-
-# Elasticsearch data directory
-#DATA_DIR=${packaging.elasticsearch.data.dir}
-
-# Elasticsearch logs directory
-#LOG_DIR=${packaging.elasticsearch.log.dir}
-
-# Elasticsearch PID directory
-#PID_DIR=${packaging.elasticsearch.pid.dir}
-
-# Heap size defaults to ${packaging.elasticsearch.heap.min} min, ${packaging.elasticsearch.heap.max} max
-# Set ES_HEAP_SIZE to 50% of available RAM, but no more than 31g
-#ES_HEAP_SIZE=2g
-
-# Heap new generation
-#ES_HEAP_NEWSIZE=
-
-# Maximum direct memory
-#ES_DIRECT_SIZE=
-
-# Additional Java OPTS
-#ES_JAVA_OPTS=
-
-# Configure restart on package upgrade (true, every other setting will lead to not restarting)
-#ES_RESTART_ON_UPGRADE=true
-
-# Path to the GC log file
-#ES_GC_LOG_FILE=${packaging.elasticsearch.log.dir}/gc.log
-
-################################
-# Elasticsearch service
-################################
-
-# SysV init.d
-#
-# When executing the init script, this user will be used to run the elasticsearch service.
-# The default value is '${packaging.elasticsearch.user}' and is declared in the init.d file.
-# Note that this setting is only used by the init script. If changed, make sure that
-# the configured user can read and write into the data, work, plugins and log directories.
-# For systemd service, the user is usually configured in file ${packaging.elasticsearch.systemd.dir}/elasticsearch.service
-#ES_USER=${packaging.elasticsearch.user}
-#ES_GROUP=${packaging.elasticsearch.group}
-
-################################
-# System properties
-################################
-
-# Specifies the maximum file descriptor number that can be opened by this process
-# When using Systemd, this setting is ignored and the LimitNOFILE defined in
-# ${packaging.elasticsearch.systemd.dir}/elasticsearch.service takes precedence
-#MAX_OPEN_FILES=${packaging.os.max.open.files}
-
-# The maximum number of bytes of memory that may be locked into RAM
-# Set to "unlimited" if you use the 'bootstrap.mlockall: true' option
-# in elasticsearch.yml (ES_HEAP_SIZE must also be set).
-# When using Systemd, the LimitMEMLOCK property must be set
-# in ${packaging.elasticsearch.systemd.dir}/elasticsearch.service
-#MAX_LOCKED_MEMORY=unlimited
-
-# Maximum number of VMA (Virtual Memory Areas) a process can own
-# When using Systemd, this setting is ignored and the 'vm.max_map_count'
-# property is set at boot time in ${packaging.elasticsearch.systemd.sysctl.dir}/elasticsearch.conf
-#MAX_MAP_COUNT=${packaging.os.max.map.count}
diff --git a/core/src/packaging/common/packaging.properties b/core/src/packaging/common/packaging.properties
deleted file mode 100644
index ff95c9d2c1..0000000000
--- a/core/src/packaging/common/packaging.properties
+++ /dev/null
@@ -1,28 +0,0 @@
-# Common properties for building ZIP,GZ,RPM and DEB packages
-#
-# Properties defined here can be overridden with specific settings,
-# like in rpm/packaging.properties and deb/packaging.properties.
-
-# Environment file
-packaging.env.file=
-
-# Default configuration directory and file to use in bin/plugin script
-packaging.plugin.default.config.dir=$ES_HOME/config
-packaging.plugin.default.config.file=$ES_HOME/config/elasticsearch.yml
-
-# Default values for min/max heap memory allocated to elasticsearch java process
-packaging.elasticsearch.heap.min=256m
-packaging.elasticsearch.heap.max=1g
-
-# Specifies the maximum file descriptor number
-packaging.os.max.open.files=65535
-
-# Maximum number of VMA (Virtual Memory Areas) a process can own
-packaging.os.max.map.count=262144
-
-# Simple marker to check that properties are correctly overridden
-packaging.type=tar.gz
-
-# Custom header for package scripts
-packaging.scripts.header=
-packaging.scripts.footer=
diff --git a/core/src/packaging/common/scripts/postinst b/core/src/packaging/common/scripts/postinst
deleted file mode 100644
index 3d47a0338d..0000000000
--- a/core/src/packaging/common/scripts/postinst
+++ /dev/null
@@ -1,101 +0,0 @@
-${packaging.scripts.header}
-
-#
-# This script is executed in the post-installation phase
-#
-# On Debian,
-# $1=configure : is set to 'configure' and if $2 is set, it is an upgrade
-#
-# On RedHat,
-# $1=0 : indicates a removal
-# $1=1 : indicates an upgrade
-
-
-
-# Sets the default values for elasticsearch variables used in this script
-ES_USER="${packaging.elasticsearch.user}"
-ES_GROUP="${packaging.elasticsearch.group}"
-
-# Source the default env file
-ES_ENV_FILE="${packaging.env.file}"
-if [ -f "$ES_ENV_FILE" ]; then
- . "$ES_ENV_FILE"
-fi
-
-IS_UPGRADE=false
-
-case "$1" in
-
- # Debian ####################################################
- configure)
-
- # If $1=configure and $2 is set, this is an upgrade
- if [ -n $2 ]; then
- IS_UPGRADE=true
- fi
- ;;
- abort-upgrade|abort-remove|abort-deconfigure)
- ;;
-
- # RedHat ####################################################
- 1)
- # If $1=1 this is an install
- IS_UPGRADE=false
- ;;
- 2)
- # If $1=1 this is an upgrade
- IS_UPGRADE=true
- ;;
-
- *)
- echo "post install script called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-if [ "x$IS_UPGRADE" != "xtrue" ]; then
- if command -v systemctl >/dev/null; then
- echo "### NOT starting on installation, please execute the following statements to configure elasticsearch service to start automatically using systemd"
- echo " sudo systemctl daemon-reload"
- echo " sudo systemctl enable elasticsearch.service"
- echo "### You can start elasticsearch service by executing"
- echo " sudo systemctl start elasticsearch.service"
-
- elif command -v chkconfig >/dev/null; then
- echo "### NOT starting on installation, please execute the following statements to configure elasticsearch service to start automatically using chkconfig"
- echo " sudo chkconfig --add elasticsearch"
- echo "### You can start elasticsearch service by executing"
- echo " sudo service elasticsearch start"
-
- elif command -v update-rc.d >/dev/null; then
- echo "### NOT starting on installation, please execute the following statements to configure elasticsearch service to start automatically using chkconfig"
- echo " sudo update-rc.d elasticsearch defaults 95 10"
- echo "### You can start elasticsearch service by executing"
- echo " sudo /etc/init.d/elasticsearch start"
- fi
-elif [ "$RESTART_ON_UPGRADE" = "true" ]; then
-
- echo -n "Restarting elasticsearch service..."
- if command -v systemctl >/dev/null; then
- systemctl daemon-reload
- systemctl restart elasticsearch.service || true
-
- elif [ -x /etc/init.d/elasticsearch ]; then
- if command -v invoke-rc.d >/dev/null; then
- invoke-rc.d elasticsearch stop || true
- invoke-rc.d elasticsearch start || true
- else
- /etc/init.d/elasticsearch restart || true
- fi
-
- # older suse linux distributions do not ship with systemd
- # but do not have an /etc/init.d/ directory
- # this tries to start the elasticsearch service on these
- # as well without failing this script
- elif [ -x /etc/rc.d/init.d/elasticsearch ] ; then
- /etc/rc.d/init.d/elasticsearch restart || true
- fi
- echo " OK"
-fi
-
-${packaging.scripts.footer}
diff --git a/core/src/packaging/common/scripts/preinst b/core/src/packaging/common/scripts/preinst
deleted file mode 100644
index d3df84ecd0..0000000000
--- a/core/src/packaging/common/scripts/preinst
+++ /dev/null
@@ -1,83 +0,0 @@
-${packaging.scripts.header}
-
-#
-# This script is executed in the pre-installation phase
-#
-# On Debian,
-# $1=install : indicates an new install
-# $1=upgrade : indicates an upgrade
-#
-# On RedHat,
-# $1=1 : indicates an new install
-# $1=2 : indicates an upgrade
-
-
-
-# Sets the default values for elasticsearch variables used in this script
-ES_USER="${packaging.elasticsearch.user}"
-ES_GROUP="${packaging.elasticsearch.group}"
-
-# Source the default env file
-ES_ENV_FILE="${packaging.env.file}"
-if [ -f "$ES_ENV_FILE" ]; then
- . "$ES_ENV_FILE"
-fi
-
-case "$1" in
-
- # Debian ####################################################
- install|upgrade)
-
- # Create elasticsearch group if not existing
- if ! getent group "$ES_GROUP" > /dev/null 2>&1 ; then
- echo -n "Creating $ES_GROUP group..."
- addgroup --quiet --system "$ES_GROUP"
- echo " OK"
- fi
-
- # Create elasticsearch user if not existing
- if ! id $ES_USER > /dev/null 2>&1 ; then
- echo -n "Creating $ES_USER user..."
- adduser --quiet \
- --system \
- --no-create-home \
- --ingroup "$ES_GROUP" \
- --disabled-password \
- --shell /bin/false \
- "$ES_USER"
- echo " OK"
- fi
- ;;
- abort-deconfigure|abort-upgrade|abort-remove)
- ;;
-
- # RedHat ####################################################
- 1|2)
-
- # Create elasticsearch group if not existing
- if ! getent group "$ES_GROUP" > /dev/null 2>&1 ; then
- echo -n "Creating $ES_GROUP group..."
- groupadd -r "$ES_GROUP"
- echo " OK"
- fi
-
- # Create elasticsearch user if not existing
- if ! id $ES_USER > /dev/null 2>&1 ; then
- echo -n "Creating $ES_USER user..."
- useradd --system \
- -M \
- --gid "$ES_GROUP" \
- --shell /sbin/nologin \
- --comment "elasticsearch user" \
- "$ES_USER"
- echo " OK"
- fi
- ;;
-
- *)
- echo "pre install script called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-${packaging.scripts.footer}
diff --git a/core/src/packaging/common/scripts/prerm b/core/src/packaging/common/scripts/prerm
deleted file mode 100644
index e8da006906..0000000000
--- a/core/src/packaging/common/scripts/prerm
+++ /dev/null
@@ -1,69 +0,0 @@
-${packaging.scripts.header}
-
-#
-# This script is executed in the pre-remove phase
-#
-# On Debian,
-# $1=remove : indicates a removal
-# $1=upgrade : indicates an upgrade
-#
-# On RedHat,
-# $1=0 : indicates a removal
-# $1=1 : indicates an upgrade
-
-
-
-STOP_REQUIRED=false
-
-case "$1" in
-
- # Debian ####################################################
- remove)
- STOP_REQUIRED=true
- ;;
- upgrade)
- if [ "$RESTART_ON_UPGRADE" = "true" ]; then
- STOP_REQUIRED=true
- fi
- ;;
- deconfigure|failed-upgrade)
- ;;
-
- # RedHat ####################################################
- 0)
- STOP_REQUIRED=true
- ;;
- 1)
- # Dont do anything on upgrade, because the preun script in redhat gets executed after the postinst (madness!)
- ;;
-
- *)
- echo "pre remove script called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# Stops the service
-if [ "$STOP_REQUIRED" = "true" ]; then
- echo -n "Stopping elasticsearch service..."
- if command -v systemctl >/dev/null; then
- systemctl --no-reload stop elasticsearch.service > /dev/null 2>&1 || true
-
- elif [ -x /etc/init.d/elasticsearch ]; then
- if command -v invoke-rc.d >/dev/null; then
- invoke-rc.d elasticsearch stop || true
- else
- /etc/init.d/elasticsearch stop || true
- fi
-
- # older suse linux distributions do not ship with systemd
- # but do not have an /etc/init.d/ directory
- # this tries to start the elasticsearch service on these
- # as well without failing this script
- elif [ -x /etc/rc.d/init.d/elasticsearch ] ; then
- /etc/rc.d/init.d/elasticsearch stop || true
- fi
- echo " OK"
-fi
-
-${packaging.scripts.footer}
diff --git a/core/src/packaging/common/systemd/elasticsearch.conf b/core/src/packaging/common/systemd/elasticsearch.conf
deleted file mode 100644
index 98dd5e61c2..0000000000
--- a/core/src/packaging/common/systemd/elasticsearch.conf
+++ /dev/null
@@ -1 +0,0 @@
-d ${packaging.elasticsearch.pid.dir} 0755 ${packaging.elasticsearch.user} ${packaging.elasticsearch.group} - -
diff --git a/core/src/packaging/common/systemd/elasticsearch.service b/core/src/packaging/common/systemd/elasticsearch.service
deleted file mode 100644
index a4c269973b..0000000000
--- a/core/src/packaging/common/systemd/elasticsearch.service
+++ /dev/null
@@ -1,50 +0,0 @@
-[Unit]
-Description=Elasticsearch
-Documentation=http://www.elastic.co
-Wants=network-online.target
-After=network-online.target
-
-[Service]
-Environment=ES_HOME=${packaging.elasticsearch.home.dir}
-Environment=CONF_DIR=${packaging.elasticsearch.conf.dir}
-Environment=CONF_FILE=${packaging.elasticsearch.conf.dir}/elasticsearch.yml
-Environment=DATA_DIR=${packaging.elasticsearch.data.dir}
-Environment=LOG_DIR=${packaging.elasticsearch.log.dir}
-Environment=PID_DIR=${packaging.elasticsearch.pid.dir}
-EnvironmentFile=-${packaging.env.file}
-
-User=${packaging.elasticsearch.user}
-Group=${packaging.elasticsearch.group}
-
-ExecStart=${packaging.elasticsearch.bin.dir}/elasticsearch \
- -Des.pidfile=$PID_DIR/elasticsearch.pid \
- -Des.default.path.home=$ES_HOME \
- -Des.default.path.logs=$LOG_DIR \
- -Des.default.path.data=$DATA_DIR \
- -Des.default.config=$CONF_FILE \
- -Des.default.path.conf=$CONF_DIR
-
-# Connects standard output to /dev/null
-StandardOutput=null
-
-# Connects standard error to journal
-StandardError=journal
-
-# When a JVM receives a SIGTERM signal it exits with code 143
-SuccessExitStatus=143
-
-# Specifies the maximum file descriptor number that can be opened by this process
-LimitNOFILE=${packaging.os.max.open.files}
-
-# Specifies the maximum number of bytes of memory that may be locked into RAM
-# Set to "infinity" if you use the 'bootstrap.mlockall: true' option
-# in elasticsearch.yml and 'MAX_LOCKED_MEMORY=unlimited' in ${packaging.env.file}
-#LimitMEMLOCK=infinity
-
-# Shutdown delay in seconds, before process is tried to be killed with KILL (if configured)
-TimeoutStopSec=20
-
-[Install]
-WantedBy=multi-user.target
-
-# Built for ${project.name}-${project.version} (${packaging.type})
diff --git a/core/src/packaging/common/systemd/sysctl/elasticsearch.conf b/core/src/packaging/common/systemd/sysctl/elasticsearch.conf
deleted file mode 100644
index 052cd89cf0..0000000000
--- a/core/src/packaging/common/systemd/sysctl/elasticsearch.conf
+++ /dev/null
@@ -1 +0,0 @@
-vm.max_map_count=${packaging.os.max.map.count}
diff --git a/core/src/packaging/deb/copyright b/core/src/packaging/deb/copyright
deleted file mode 100644
index d93b550af9..0000000000
--- a/core/src/packaging/deb/copyright
+++ /dev/null
@@ -1,17 +0,0 @@
-Copyright 2013-2015 Elasticsearch <info@elastic.co>
-
-License: Apache-2.0
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
- .
- http://www.apache.org/licenses/LICENSE-2.0
- .
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- .
- On Debian systems, the complete text of the Apache version 2.0 license
- can be found in "/usr/share/common-licenses/Apache-2.0".
diff --git a/core/src/packaging/deb/init.d/elasticsearch b/core/src/packaging/deb/init.d/elasticsearch
deleted file mode 100755
index 0c5e91d83b..0000000000
--- a/core/src/packaging/deb/init.d/elasticsearch
+++ /dev/null
@@ -1,232 +0,0 @@
-#!/bin/sh
-#
-# /etc/init.d/elasticsearch -- startup script for Elasticsearch
-#
-# Written by Miquel van Smoorenburg <miquels@cistron.nl>.
-# Modified for Debian GNU/Linux by Ian Murdock <imurdock@gnu.ai.mit.edu>.
-# Modified for Tomcat by Stefan Gybas <sgybas@debian.org>.
-# Modified for Tomcat6 by Thierry Carrez <thierry.carrez@ubuntu.com>.
-# Additional improvements by Jason Brittain <jason.brittain@mulesoft.com>.
-# Modified by Nicolas Huray for Elasticsearch <nicolas.huray@gmail.com>.
-#
-### BEGIN INIT INFO
-# Provides: elasticsearch
-# Required-Start: $network $remote_fs $named
-# Required-Stop: $network $remote_fs $named
-# Default-Start: 2 3 4 5
-# Default-Stop: 0 1 6
-# Short-Description: Starts elasticsearch
-# Description: Starts elasticsearch using start-stop-daemon
-### END INIT INFO
-
-PATH=/bin:/usr/bin:/sbin:/usr/sbin
-NAME=elasticsearch
-DESC="Elasticsearch Server"
-DEFAULT=/etc/default/$NAME
-
-if [ `id -u` -ne 0 ]; then
- echo "You need root privileges to run this script"
- exit 1
-fi
-
-
-. /lib/lsb/init-functions
-
-if [ -r /etc/default/rcS ]; then
- . /etc/default/rcS
-fi
-
-
-# The following variables can be overwritten in $DEFAULT
-
-# Run Elasticsearch as this user ID and group ID
-ES_USER=elasticsearch
-ES_GROUP=elasticsearch
-
-# The first existing directory is used for JAVA_HOME (if JAVA_HOME is not defined in $DEFAULT)
-JDK_DIRS="/usr/lib/jvm/java-8-oracle/ /usr/lib/jvm/j2sdk1.8-oracle/ /usr/lib/jvm/jdk-7-oracle-x64 /usr/lib/jvm/java-7-oracle /usr/lib/jvm/j2sdk1.7-oracle/ /usr/lib/jvm/java-7-openjdk /usr/lib/jvm/java-7-openjdk-amd64/ /usr/lib/jvm/java-7-openjdk-armhf /usr/lib/jvm/java-7-openjdk-i386/ /usr/lib/jvm/default-java"
-
-# Look for the right JVM to use
-for jdir in $JDK_DIRS; do
- if [ -r "$jdir/bin/java" -a -z "${JAVA_HOME}" ]; then
- JAVA_HOME="$jdir"
- fi
-done
-export JAVA_HOME
-
-# Directory where the Elasticsearch binary distribution resides
-ES_HOME=/usr/share/$NAME
-
-# Heap size defaults to 256m min, 1g max
-# Set ES_HEAP_SIZE to 50% of available RAM, but no more than 31g
-#ES_HEAP_SIZE=2g
-
-# Heap new generation
-#ES_HEAP_NEWSIZE=
-
-# max direct memory
-#ES_DIRECT_SIZE=
-
-# Additional Java OPTS
-#ES_JAVA_OPTS=
-
-# Maximum number of open files
-MAX_OPEN_FILES=65535
-
-# Maximum amount of locked memory
-#MAX_LOCKED_MEMORY=
-
-# Elasticsearch log directory
-LOG_DIR=/var/log/$NAME
-
-# Elasticsearch data directory
-DATA_DIR=/var/lib/$NAME
-
-# Elasticsearch configuration directory
-CONF_DIR=/etc/$NAME
-
-# Elasticsearch configuration file (elasticsearch.yml)
-CONF_FILE=$CONF_DIR/elasticsearch.yml
-
-# Maximum number of VMA (Virtual Memory Areas) a process can own
-MAX_MAP_COUNT=262144
-
-# Path to the GC log file
-#ES_GC_LOG_FILE=/var/log/elasticsearch/gc.log
-
-# Elasticsearch PID file directory
-PID_DIR="${packaging.elasticsearch.pid.dir}"
-
-# End of variables that can be overwritten in $DEFAULT
-
-# overwrite settings from default file
-if [ -f "$DEFAULT" ]; then
- . "$DEFAULT"
-fi
-
-# Define other required variables
-PID_FILE="$PID_DIR/$NAME.pid"
-DAEMON=$ES_HOME/bin/elasticsearch
-DAEMON_OPTS="-d -p $PID_FILE --default.config=$CONF_FILE --default.path.home=$ES_HOME --default.path.logs=$LOG_DIR --default.path.data=$DATA_DIR --default.path.conf=$CONF_DIR"
-
-export ES_HEAP_SIZE
-export ES_HEAP_NEWSIZE
-export ES_DIRECT_SIZE
-export ES_JAVA_OPTS
-export ES_GC_LOG_FILE
-
-# Check DAEMON exists
-test -x $DAEMON || exit 0
-
-checkJava() {
- if [ -x "$JAVA_HOME/bin/java" ]; then
- JAVA="$JAVA_HOME/bin/java"
- else
- JAVA=`which java`
- fi
-
- if [ ! -x "$JAVA" ]; then
- echo "Could not find any executable java binary. Please install java in your PATH or set JAVA_HOME"
- exit 1
- fi
-}
-
-case "$1" in
- start)
- checkJava
-
- if [ -n "$MAX_LOCKED_MEMORY" -a -z "$ES_HEAP_SIZE" ]; then
- log_failure_msg "MAX_LOCKED_MEMORY is set - ES_HEAP_SIZE must also be set"
- exit 1
- fi
-
- log_daemon_msg "Starting $DESC"
-
- pid=`pidofproc -p $PID_FILE elasticsearch`
- if [ -n "$pid" ] ; then
- log_begin_msg "Already running."
- log_end_msg 0
- exit 0
- fi
-
- # Prepare environment
- mkdir -p "$LOG_DIR" "$DATA_DIR" && chown "$ES_USER":"$ES_GROUP" "$LOG_DIR" "$DATA_DIR"
-
- # Ensure that the PID_DIR exists (it is cleaned at OS startup time)
- if [ -n "$PID_DIR" ] && [ ! -e "$PID_DIR" ]; then
- mkdir -p "$PID_DIR" && chown "$ES_USER":"$ES_GROUP" "$PID_DIR"
- fi
- if [ -n "$PID_FILE" ] && [ ! -e "$PID_FILE" ]; then
- touch "$PID_FILE" && chown "$ES_USER":"$ES_GROUP" "$PID_FILE"
- fi
-
- if [ -n "$MAX_OPEN_FILES" ]; then
- ulimit -n $MAX_OPEN_FILES
- fi
-
- if [ -n "$MAX_LOCKED_MEMORY" ]; then
- ulimit -l $MAX_LOCKED_MEMORY
- fi
-
- if [ -n "$MAX_MAP_COUNT" -a -f /proc/sys/vm/max_map_count ]; then
- sysctl -q -w vm.max_map_count=$MAX_MAP_COUNT
- fi
-
- # Start Daemon
- start-stop-daemon --start -b --user "$ES_USER" -c "$ES_USER" --pidfile "$PID_FILE" --exec $DAEMON -- $DAEMON_OPTS
- return=$?
- if [ $return -eq 0 ]
- then
- i=0
- timeout=10
- # Wait for the process to be properly started before exiting
- until { cat "$PID_FILE" | xargs kill -0; } >/dev/null 2>&1
- do
- sleep 1
- i=$(($i + 1))
- if [ $i -gt $timeout ]; then
- log_end_msg 1
- exit 1
- fi
- done
- else
- log_end_msg $return
- fi
- ;;
- stop)
- log_daemon_msg "Stopping $DESC"
-
- if [ -f "$PID_FILE" ]; then
- start-stop-daemon --stop --pidfile "$PID_FILE" \
- --user "$ES_USER" \
- --retry=TERM/20/KILL/5 >/dev/null
- if [ $? -eq 1 ]; then
- log_progress_msg "$DESC is not running but pid file exists, cleaning up"
- elif [ $? -eq 3 ]; then
- PID="`cat $PID_FILE`"
- log_failure_msg "Failed to stop $DESC (pid $PID)"
- exit 1
- fi
- rm -f "$PID_FILE"
- else
- log_progress_msg "(not running)"
- fi
- log_end_msg 0
- ;;
- status)
- status_of_proc -p $PID_FILE elasticsearch elasticsearch && exit 0 || exit $?
- ;;
- restart|force-reload)
- if [ -f "$PID_FILE" ]; then
- $0 stop
- sleep 1
- fi
- $0 start
- ;;
- *)
- log_success_msg "Usage: $0 {start|stop|restart|force-reload|status}"
- exit 1
- ;;
-esac
-
-exit 0
diff --git a/core/src/packaging/deb/lintian/elasticsearch b/core/src/packaging/deb/lintian/elasticsearch
deleted file mode 100644
index 1ca52eaed2..0000000000
--- a/core/src/packaging/deb/lintian/elasticsearch
+++ /dev/null
@@ -1,8 +0,0 @@
-# Ignore arch dependent warnings, we chose the right libs on start
-elasticsearch binary: arch-independent-package-contains-binary-or-object
-# Not stripping external libraries
-elasticsearch binary: unstripped-binary-or-object
-# Ignore arch dependent warnings, we chose the right libs on start
-elasticsearch binary: arch-dependent-file-in-usr-share
-# Please check our changelog at http://www.elastic.co/downloads/elasticsearch
-elasticsearch binary: changelog-file-missing-in-native-package
diff --git a/core/src/packaging/deb/packaging.properties b/core/src/packaging/deb/packaging.properties
deleted file mode 100644
index f268cde4ca..0000000000
--- a/core/src/packaging/deb/packaging.properties
+++ /dev/null
@@ -1,16 +0,0 @@
-# Properties used to build to the DEB package
-#
-
-# Environment file
-packaging.env.file=/etc/default/elasticsearch
-
-# Default configuration directory and file to use in bin/plugin script
-packaging.plugin.default.config.dir=${packaging.elasticsearch.conf.dir}
-packaging.plugin.default.config.file=${packaging.elasticsearch.conf.dir}/elasticsearch.yml
-
-# Simple marker to check that properties are correctly overridden
-packaging.type=deb
-
-# Custom header for package scripts
-packaging.scripts.header=#!/bin/sh${line.separator}set -e
-packaging.scripts.footer=exit 0${line.separator}# Built for ${project.name}-${project.version} (${packaging.type})
diff --git a/core/src/packaging/deb/scripts/conffiles b/core/src/packaging/deb/scripts/conffiles
deleted file mode 100644
index 9f65841678..0000000000
--- a/core/src/packaging/deb/scripts/conffiles
+++ /dev/null
@@ -1,5 +0,0 @@
-${packaging.env.file}
-${packaging.elasticsearch.conf.dir}/elasticsearch.yml
-${packaging.elasticsearch.conf.dir}/logging.yml
-/etc/init.d/elasticsearch
-/usr/lib/systemd/system/elasticsearch.service
diff --git a/core/src/packaging/deb/scripts/control b/core/src/packaging/deb/scripts/control
deleted file mode 100644
index b98ce2066c..0000000000
--- a/core/src/packaging/deb/scripts/control
+++ /dev/null
@@ -1,38 +0,0 @@
-Package: elasticsearch
-Version: [[version]]
-Architecture: all
-Maintainer: Elasticsearch Team <info@elastic.co>
-Depends: libc6, adduser
-Section: web
-Priority: optional
-Homepage: https://www.elastic.co/
-Description: Open Source, Distributed, RESTful Search Engine
- Elasticsearch is a distributed RESTful search engine built for the cloud.
- .
- Features include:
- .
- + Distributed and Highly Available Search Engine.
- - Each index is fully sharded with a configurable number of shards.
- - Each shard can have one or more replicas.
- - Read / Search operations performed on either one of the replica shard.
- + Multi Tenant with Multi Types.
- - Support for more than one index.
- - Support for more than one type per index.
- - Index level configuration (number of shards, index storage, ...).
- + Various set of APIs
- - HTTP RESTful API
- - Native Java API.
- - All APIs perform automatic node operation rerouting.
- + Document oriented
- - No need for upfront schema definition.
- - Schema can be defined per type for customization of the indexing process.
- + Reliable, Asynchronous Write Behind for long term persistency.
- + (Near) Real Time Search.
- + Built on top of Lucene
- - Each shard is a fully functional Lucene index
- - All the power of Lucene easily exposed through simple
- configuration/plugins.
- + Per operation consistency
- - Single document level operations are atomic, consistent, isolated and
- durable.
- + Open Source under the Apache License, version 2 ("ALv2").
diff --git a/core/src/packaging/rpm/init.d/elasticsearch b/core/src/packaging/rpm/init.d/elasticsearch
deleted file mode 100644
index da3e5ac8b9..0000000000
--- a/core/src/packaging/rpm/init.d/elasticsearch
+++ /dev/null
@@ -1,182 +0,0 @@
-#!/bin/sh
-#
-# elasticsearch <summary>
-#
-# chkconfig: 2345 80 20
-# description: Starts and stops a single elasticsearch instance on this system
-#
-
-### BEGIN INIT INFO
-# Provides: Elasticsearch
-# Required-Start: $network $named
-# Required-Stop: $network $named
-# Default-Start: 2 3 4 5
-# Default-Stop: 0 1 6
-# Short-Description: This service manages the elasticsearch daemon
-# Description: Elasticsearch is a very scalable, schema-free and high-performance search solution supporting multi-tenancy and near realtime search.
-### END INIT INFO
-
-#
-# init.d / servicectl compatibility (openSUSE)
-#
-if [ -f /etc/rc.status ]; then
- . /etc/rc.status
- rc_reset
-fi
-
-#
-# Source function library.
-#
-if [ -f /etc/rc.d/init.d/functions ]; then
- . /etc/rc.d/init.d/functions
-fi
-
-# Sets the default values for elasticsearch variables used in this script
-ES_USER="${packaging.elasticsearch.user}"
-ES_GROUP="${packaging.elasticsearch.group}"
-ES_HOME="${packaging.elasticsearch.home.dir}"
-MAX_OPEN_FILES=${packaging.os.max.open.files}
-MAX_MAP_COUNT=${packaging.os.max.map.count}
-LOG_DIR="${packaging.elasticsearch.log.dir}"
-DATA_DIR="${packaging.elasticsearch.data.dir}"
-CONF_DIR="${packaging.elasticsearch.conf.dir}"
-CONF_FILE="${packaging.elasticsearch.conf.dir}/elasticsearch.yml"
-PID_DIR="${packaging.elasticsearch.pid.dir}"
-
-# Source the default env file
-ES_ENV_FILE="${packaging.env.file}"
-if [ -f "$ES_ENV_FILE" ]; then
- . "$ES_ENV_FILE"
-fi
-
-exec="$ES_HOME/bin/elasticsearch"
-prog="elasticsearch"
-pidfile="$PID_DIR/${prog}.pid"
-
-export ES_HEAP_SIZE
-export ES_HEAP_NEWSIZE
-export ES_DIRECT_SIZE
-export ES_JAVA_OPTS
-export ES_GC_LOG_FILE
-export JAVA_HOME
-
-lockfile=/var/lock/subsys/$prog
-
-# backwards compatibility for old config sysconfig files, pre 0.90.1
-if [ -n $USER ] && [ -z $ES_USER ] ; then
- ES_USER=$USER
-fi
-
-checkJava() {
- if [ -x "$JAVA_HOME/bin/java" ]; then
- JAVA="$JAVA_HOME/bin/java"
- else
- JAVA=`which java`
- fi
-
- if [ ! -x "$JAVA" ]; then
- echo "Could not find any executable java binary. Please install java in your PATH or set JAVA_HOME"
- exit 1
- fi
-}
-
-start() {
- checkJava
- [ -x $exec ] || exit 5
- [ -f $CONF_FILE ] || exit 6
- if [ -n "$MAX_LOCKED_MEMORY" -a -z "$ES_HEAP_SIZE" ]; then
- echo "MAX_LOCKED_MEMORY is set - ES_HEAP_SIZE must also be set"
- return 7
- fi
- if [ -n "$MAX_OPEN_FILES" ]; then
- ulimit -n $MAX_OPEN_FILES
- fi
- if [ -n "$MAX_LOCKED_MEMORY" ]; then
- ulimit -l $MAX_LOCKED_MEMORY
- fi
- if [ -n "$MAX_MAP_COUNT" -a -f /proc/sys/vm/max_map_count ]; then
- sysctl -q -w vm.max_map_count=$MAX_MAP_COUNT
- fi
- export ES_GC_LOG_FILE
-
- # Ensure that the PID_DIR exists (it is cleaned at OS startup time)
- if [ -n "$PID_DIR" ] && [ ! -e "$PID_DIR" ]; then
- mkdir -p "$PID_DIR" && chown "$ES_USER":"$ES_GROUP" "$PID_DIR"
- fi
- if [ -n "$pidfile" ] && [ ! -e "$pidfile" ]; then
- touch "$pidfile" && chown "$ES_USER":"$ES_GROUP" "$pidfile"
- fi
-
- echo -n $"Starting $prog: "
- # if not running, start it up here, usually something like "daemon $exec"
- daemon --user $ES_USER --pidfile $pidfile $exec -p $pidfile -d -Des.default.path.home=$ES_HOME -Des.default.path.logs=$LOG_DIR -Des.default.path.data=$DATA_DIR -Des.default.path.conf=$CONF_DIR
- retval=$?
- echo
- [ $retval -eq 0 ] && touch $lockfile
- return $retval
-}
-
-stop() {
- echo -n $"Stopping $prog: "
- # stop it here, often "killproc $prog"
- killproc -p $pidfile -d 20 $prog
- retval=$?
- echo
- [ $retval -eq 0 ] && rm -f $lockfile
- return $retval
-}
-
-restart() {
- stop
- start
-}
-
-reload() {
- restart
-}
-
-force_reload() {
- restart
-}
-
-rh_status() {
- # run checks to determine if the service is running or use generic status
- status -p $pidfile $prog
-}
-
-rh_status_q() {
- rh_status >/dev/null 2>&1
-}
-
-
-case "$1" in
- start)
- rh_status_q && exit 0
- $1
- ;;
- stop)
- rh_status_q || exit 0
- $1
- ;;
- restart)
- $1
- ;;
- reload)
- rh_status_q || exit 7
- $1
- ;;
- force-reload)
- force_reload
- ;;
- status)
- rh_status
- ;;
- condrestart|try-restart)
- rh_status_q || exit 0
- restart
- ;;
- *)
- echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
- exit 2
-esac
-exit $?
diff --git a/core/src/packaging/rpm/packaging.properties b/core/src/packaging/rpm/packaging.properties
deleted file mode 100644
index 7aa3228e38..0000000000
--- a/core/src/packaging/rpm/packaging.properties
+++ /dev/null
@@ -1,16 +0,0 @@
-# Properties used to build to the RPM package
-#
-
-# Environment file
-packaging.env.file=/etc/sysconfig/elasticsearch
-
-# Default configuration directory and file to use in bin/plugin script
-packaging.plugin.default.config.dir=${packaging.elasticsearch.conf.dir}
-packaging.plugin.default.config.file=${packaging.elasticsearch.conf.dir}/elasticsearch.yml
-
-# Simple marker to check that properties are correctly overridden
-packaging.type=rpm
-
-# Custom header for package scripts
-packaging.scripts.header=
-packaging.scripts.footer=# Built for ${project.name}-${project.version} (${packaging.type})
diff --git a/core/src/test/java/org/elasticsearch/test/rest/RestIT.java b/core/src/test/java/org/elasticsearch/test/rest/RestIT.java
deleted file mode 100644
index 167a5f04f9..0000000000
--- a/core/src/test/java/org/elasticsearch/test/rest/RestIT.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Licensed to Elasticsearch under one or more contributor
- * license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright
- * ownership. Elasticsearch licenses this file to you under
- * the Apache License, Version 2.0 (the "License"); you may
- * not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.elasticsearch.test.rest;
-
-import com.carrotsearch.randomizedtesting.annotations.ParametersFactory;
-
-import org.elasticsearch.test.rest.parser.RestTestParseException;
-
-import java.io.IOException;
-
-/** Rest integration test. runs against external cluster in 'mvn verify' */
-public class RestIT extends ElasticsearchRestTestCase {
- public RestIT(RestTestCandidate testCandidate) {
- super(testCandidate);
- }
- // we run them all sequentially: start simple!
- @ParametersFactory
- public static Iterable<Object[]> parameters() throws IOException, RestTestParseException {
- return createParameters(0, 1);
- }
-}
diff --git a/core/src/test/resources/packaging/scripts/20_tar_package.bats b/core/src/test/resources/packaging/scripts/20_tar_package.bats
deleted file mode 100644
index b5daaece1d..0000000000
--- a/core/src/test/resources/packaging/scripts/20_tar_package.bats
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/usr/bin/env bats
-
-# This file is used to test the tar gz package.
-
-# WARNING: This testing file must be executed as root and can
-# dramatically change your system. It removes the 'elasticsearch'
-# user/group and also many directories. Do not execute this file
-# unless you know exactly what you are doing.
-
-# The test case can be executed with the Bash Automated
-# Testing System tool available at https://github.com/sstephenson/bats
-# Thanks to Sam Stephenson!
-
-# Licensed to Elasticsearch under one or more contributor
-# license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright
-# ownership. Elasticsearch licenses this file to you under
-# the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-# Load test utilities
-load packaging_test_utils
-
-# Cleans everything for the 1st execution
-setup() {
- if [ "$BATS_TEST_NUMBER" -eq 1 ]; then
- clean_before_test
- fi
-}
-
-##################################
-# Install TAR GZ package
-##################################
-@test "[TAR] tar command is available" {
- skip_not_tar_gz
- run tar --version
- [ "$status" -eq 0 ]
-}
-
-@test "[TAR] archive is available" {
- skip_not_tar_gz
- count=$(find . -type f -name 'elasticsearch*.tar.gz' | wc -l)
- [ "$count" -eq 1 ]
-}
-
-@test "[TAR] archive is not installed" {
- skip_not_tar_gz
- count=$(find /tmp -type d -name 'elasticsearch*' | wc -l)
- [ "$count" -eq 0 ]
-}
-
-@test "[TAR] install archive" {
- skip_not_tar_gz
-
- # Install the archive
- install_archive
-
- count=$(find /tmp -type d -name 'elasticsearch*' | wc -l)
- [ "$count" -eq 1 ]
-}
-
-##################################
-# Check that the archive is correctly installed
-##################################
-@test "[TAR] verify archive installation" {
- skip_not_tar_gz
-
- verify_archive_installation "/tmp/elasticsearch"
-}
-
-##################################
-# Check that Elasticsearch is working
-##################################
-@test "[TAR] test elasticsearch" {
- skip_not_tar_gz
-
- start_elasticsearch_service
-
- run_elasticsearch_tests
-
- stop_elasticsearch_service
-
- run rm -rf "/tmp/elasticsearch"
- [ "$status" -eq 0 ]
-}
diff --git a/core/src/test/resources/packaging/scripts/25_tar_plugins.bats b/core/src/test/resources/packaging/scripts/25_tar_plugins.bats
deleted file mode 100644
index f8f1481699..0000000000
--- a/core/src/test/resources/packaging/scripts/25_tar_plugins.bats
+++ /dev/null
@@ -1,259 +0,0 @@
-#!/usr/bin/env bats
-
-# This file is used to test the installation and removal
-# of plugins with a tar gz archive.
-
-# WARNING: This testing file must be executed as root and can
-# dramatically change your system. It removes the 'elasticsearch'
-# user/group and also many directories. Do not execute this file
-# unless you know exactly what you are doing.
-
-# The test case can be executed with the Bash Automated
-# Testing System tool available at https://github.com/sstephenson/bats
-# Thanks to Sam Stephenson!
-
-# Licensed to Elasticsearch under one or more contributor
-# license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright
-# ownership. Elasticsearch licenses this file to you under
-# the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-# Load test utilities
-load packaging_test_utils
-
-setup() {
- # Cleans everything for every test execution
- clean_before_test
-
- # Download Shield
- SHIELD_ZIP="$PWD/shield.zip"
-
- if [ "$BATS_TEST_NUMBER" -eq 1 ]; then
- if [ ! -e "$SHIELD_ZIP" ]; then
- wget --quiet -O "$SHIELD_ZIP" "http://download.elasticsearch.org/elasticsearch/shield/shield-latest.zip"
- fi
- fi
-}
-
-##################################
-# Install plugins with a tar archive
-##################################
-@test "[TAR] install shield plugin" {
-
- # Install the archive
- install_archive
-
- # Checks that the archive is correctly installed
- verify_archive_installation
-
- # Checks that plugin archive is available
- [ -e "$SHIELD_ZIP" ]
-
- # Install Shield
- run /tmp/elasticsearch/bin/plugin install elasticsearch/shield/latest -u "file://$SHIELD_ZIP"
- [ "$status" -eq 0 ]
-
- # Checks that Shield is correctly installed
- assert_file_exist "/tmp/elasticsearch/bin/shield"
- assert_file_exist "/tmp/elasticsearch/bin/shield/esusers"
- assert_file_exist "/tmp/elasticsearch/bin/shield/syskeygen"
- assert_file_exist "/tmp/elasticsearch/config/shield"
- assert_file_exist "/tmp/elasticsearch/config/shield/role_mapping.yml"
- assert_file_exist "/tmp/elasticsearch/config/shield/roles.yml"
- assert_file_exist "/tmp/elasticsearch/config/shield/users"
- assert_file_exist "/tmp/elasticsearch/config/shield/users_roles"
- assert_file_exist "/tmp/elasticsearch/plugins/shield"
-
- # Remove the plugin
- run /tmp/elasticsearch/bin/plugin remove elasticsearch/shield/latest
- [ "$status" -eq 0 ]
-
- # Checks that the plugin is correctly removed
- assert_file_not_exist "/tmp/elasticsearch/bin/shield"
- assert_file_exist "/tmp/elasticsearch/config/shield"
- assert_file_exist "/tmp/elasticsearch/config/shield/role_mapping.yml"
- assert_file_exist "/tmp/elasticsearch/config/shield/roles.yml"
- assert_file_exist "/tmp/elasticsearch/config/shield/users"
- assert_file_exist "/tmp/elasticsearch/config/shield/users_roles"
- assert_file_not_exist "/tmp/elasticsearch/plugins/shield"
-}
-
-@test "[TAR] install shield plugin with a custom path.plugins" {
-
- # Install the archive
- install_archive
-
- # Checks that the archive is correctly installed
- verify_archive_installation
-
- # Creates a temporary directory
- TEMP_PLUGINS_DIR=`mktemp -d 2>/dev/null || mktemp -d -t 'tmp'`
-
- # Modify the path.plugins setting in configuration file
- echo "path.plugins: $TEMP_PLUGINS_DIR" >> "/tmp/elasticsearch/config/elasticsearch.yml"
-
- run chown -R elasticsearch:elasticsearch "$TEMP_PLUGINS_DIR"
- [ "$status" -eq 0 ]
-
- # Checks that plugin archive is available
- [ -e "$SHIELD_ZIP" ]
-
- # Install Shield
- run /tmp/elasticsearch/bin/plugin install elasticsearch/shield/latest -u "file://$SHIELD_ZIP"
- [ "$status" -eq 0 ]
-
- # Checks that Shield is correctly installed
- assert_file_exist "/tmp/elasticsearch/bin/shield"
- assert_file_exist "/tmp/elasticsearch/bin/shield/esusers"
- assert_file_exist "/tmp/elasticsearch/bin/shield/syskeygen"
- assert_file_exist "/tmp/elasticsearch/config/shield"
- assert_file_exist "/tmp/elasticsearch/config/shield/role_mapping.yml"
- assert_file_exist "/tmp/elasticsearch/config/shield/roles.yml"
- assert_file_exist "/tmp/elasticsearch/config/shield/users"
- assert_file_exist "/tmp/elasticsearch/config/shield/users_roles"
- assert_file_exist "$TEMP_PLUGINS_DIR/shield"
-
- # Remove the plugin
- run /tmp/elasticsearch/bin/plugin remove elasticsearch/shield/latest
- [ "$status" -eq 0 ]
-
- # Checks that the plugin is correctly removed
- assert_file_not_exist "/tmp/elasticsearch/bin/shield"
- assert_file_exist "/tmp/elasticsearch/config/shield"
- assert_file_exist "/tmp/elasticsearch/config/shield/role_mapping.yml"
- assert_file_exist "/tmp/elasticsearch/config/shield/roles.yml"
- assert_file_exist "/tmp/elasticsearch/config/shield/users"
- assert_file_exist "/tmp/elasticsearch/config/shield/users_roles"
- assert_file_not_exist "$TEMP_PLUGINS_DIR/shield"
-
- # Delete the custom plugins directory
- run rm -rf "$TEMP_PLUGINS_DIR"
- [ "$status" -eq 0 ]
-}
-
-@test "[TAR] install shield plugin with a custom CONFIG_DIR" {
-
- # Install the archive
- install_archive
-
- # Checks that the archive is correctly installed
- verify_archive_installation
-
- # Creates a temporary directory
- TEMP_CONFIG_DIR=`mktemp -d 2>/dev/null || mktemp -d -t 'tmp'`
-
- # Move configuration files to the new configuration directory
- run mv /tmp/elasticsearch/config/* $TEMP_CONFIG_DIR
- [ "$status" -eq 0 ]
-
- run chown -R elasticsearch:elasticsearch "$TEMP_CONFIG_DIR"
- [ "$status" -eq 0 ]
-
- assert_file_exist "$TEMP_CONFIG_DIR/elasticsearch.yml"
-
- # Checks that plugin archive is available
- [ -e "$SHIELD_ZIP" ]
-
- # Install Shield with the CONF_DIR environment variable
- run env "CONF_DIR=$TEMP_CONFIG_DIR" /tmp/elasticsearch/bin/plugin install "elasticsearch/shield/latest" -u "file://$SHIELD_ZIP"
- [ "$status" -eq 0 ]
-
- # Checks that Shield is correctly installed
- assert_file_exist "/tmp/elasticsearch/bin/shield"
- assert_file_exist "/tmp/elasticsearch/bin/shield/esusers"
- assert_file_exist "/tmp/elasticsearch/bin/shield/syskeygen"
- assert_file_exist "$TEMP_CONFIG_DIR/shield"
- assert_file_exist "$TEMP_CONFIG_DIR/shield/role_mapping.yml"
- assert_file_exist "$TEMP_CONFIG_DIR/shield/roles.yml"
- assert_file_exist "$TEMP_CONFIG_DIR/shield/users"
- assert_file_exist "$TEMP_CONFIG_DIR/shield/users_roles"
- assert_file_exist "/tmp/elasticsearch/plugins/shield"
-
- # Remove the plugin
- run /tmp/elasticsearch/bin/plugin remove elasticsearch/shield/latest
- [ "$status" -eq 0 ]
-
- # Checks that the plugin is correctly removed
- assert_file_not_exist "/tmp/elasticsearch/bin/shield"
- assert_file_exist "$TEMP_CONFIG_DIR/shield"
- assert_file_exist "$TEMP_CONFIG_DIR/shield/role_mapping.yml"
- assert_file_exist "$TEMP_CONFIG_DIR/shield/roles.yml"
- assert_file_exist "$TEMP_CONFIG_DIR/shield/users"
- assert_file_exist "$TEMP_CONFIG_DIR/shield/users_roles"
- assert_file_not_exist "/tmp/elasticsearch/plugins/shield"
-
- # Delete the custom plugins directory
- run rm -rf "$TEMP_CONFIG_DIR"
- [ "$status" -eq 0 ]
-}
-
-@test "[TAR] install shield plugin with a custom ES_JAVA_OPTS" {
-
- # Install the archive
- install_archive
-
- # Checks that the archive is correctly installed
- verify_archive_installation
-
- # Creates a temporary directory
- TEMP_CONFIG_DIR=`mktemp -d 2>/dev/null || mktemp -d -t 'tmp'`
-
- # Move configuration files to the new configuration directory
- run mv /tmp/elasticsearch/config/* $TEMP_CONFIG_DIR
- [ "$status" -eq 0 ]
-
- run chown -R elasticsearch:elasticsearch "$TEMP_CONFIG_DIR"
- [ "$status" -eq 0 ]
-
- assert_file_exist "$TEMP_CONFIG_DIR/elasticsearch.yml"
-
- # Export ES_JAVA_OPTS
- export ES_JAVA_OPTS="-Des.path.conf=$TEMP_CONFIG_DIR"
- [ "$status" -eq 0 ]
-
- # Checks that plugin archive is available
- [ -e "$SHIELD_ZIP" ]
-
- # Install Shield
- run /tmp/elasticsearch/bin/plugin install elasticsearch/shield/latest -u "file://$SHIELD_ZIP"
- [ "$status" -eq 0 ]
-
- # Checks that Shield is correctly installed
- assert_file_exist "/tmp/elasticsearch/bin/shield"
- assert_file_exist "/tmp/elasticsearch/bin/shield/esusers"
- assert_file_exist "/tmp/elasticsearch/bin/shield/syskeygen"
- assert_file_exist "$TEMP_CONFIG_DIR/shield"
- assert_file_exist "$TEMP_CONFIG_DIR/shield/role_mapping.yml"
- assert_file_exist "$TEMP_CONFIG_DIR/shield/roles.yml"
- assert_file_exist "$TEMP_CONFIG_DIR/shield/users"
- assert_file_exist "$TEMP_CONFIG_DIR/shield/users_roles"
- assert_file_exist "/tmp/elasticsearch/plugins/shield"
-
- # Remove the plugin
- run /tmp/elasticsearch/bin/plugin remove elasticsearch/shield/latest
- [ "$status" -eq 0 ]
-
- # Checks that the plugin is correctly removed
- assert_file_not_exist "/tmp/elasticsearch/bin/shield"
- assert_file_exist "$TEMP_CONFIG_DIR/shield"
- assert_file_exist "$TEMP_CONFIG_DIR/shield/role_mapping.yml"
- assert_file_exist "$TEMP_CONFIG_DIR/shield/roles.yml"
- assert_file_exist "$TEMP_CONFIG_DIR/shield/users"
- assert_file_exist "$TEMP_CONFIG_DIR/shield/users_roles"
- assert_file_not_exist "/tmp/elasticsearch/plugins/shield"
-
- # Delete the custom plugins directory
- run rm -rf "$TEMP_CONFIG_DIR"
- [ "$status" -eq 0 ]
-}
diff --git a/core/src/test/resources/packaging/scripts/30_deb_package.bats b/core/src/test/resources/packaging/scripts/30_deb_package.bats
deleted file mode 100644
index aa7a370d80..0000000000
--- a/core/src/test/resources/packaging/scripts/30_deb_package.bats
+++ /dev/null
@@ -1,177 +0,0 @@
-#!/usr/bin/env bats
-
-# This file is used to test the installation and removal
-# of a Debian package.
-
-# WARNING: This testing file must be executed as root and can
-# dramatically change your system. It removes the 'elasticsearch'
-# user/group and also many directories. Do not execute this file
-# unless you know exactly what you are doing.
-
-# The test case can be executed with the Bash Automated
-# Testing System tool available at https://github.com/sstephenson/bats
-# Thanks to Sam Stephenson!
-
-# Licensed to Elasticsearch under one or more contributor
-# license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright
-# ownership. Elasticsearch licenses this file to you under
-# the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-# Load test utilities
-load packaging_test_utils
-
-# Cleans everything for the 1st execution
-setup() {
- if [ "$BATS_TEST_NUMBER" -eq 1 ]; then
- clean_before_test
- fi
-}
-
-##################################
-# Install DEB package
-##################################
-@test "[DEB] dpkg command is available" {
- skip_not_dpkg
- run dpkg --version
- [ "$status" -eq 0 ]
-}
-
-@test "[DEB] package is available" {
- skip_not_dpkg
- count=$(find . -type f -name 'elastic*.deb' | wc -l)
- [ "$count" -eq 1 ]
-}
-
-@test "[DEB] package is not installed" {
- skip_not_dpkg
- run dpkg -s 'elasticsearch' >&2
- [ "$status" -eq 1 ]
-}
-
-@test "[DEB] install package" {
- skip_not_dpkg
- run dpkg -i elasticsearch*.deb >&2
- [ "$status" -eq 0 ]
-}
-
-@test "[DEB] package is installed" {
- skip_not_dpkg
- run dpkg -s 'elasticsearch' >&2
- [ "$status" -eq 0 ]
-}
-
-##################################
-# Check that the package is correctly installed
-##################################
-@test "[DEB] verify package installation" {
- skip_not_dpkg
-
- verify_package_installation
-}
-
-##################################
-# Check that Elasticsearch is working
-##################################
-@test "[DEB] test elasticsearch" {
- skip_not_dpkg
-
- start_elasticsearch_service
-
- run_elasticsearch_tests
-}
-
-##################################
-# Uninstall DEB package
-##################################
-@test "[DEB] remove package" {
- skip_not_dpkg
- run dpkg -r 'elasticsearch' >&2
- [ "$status" -eq 0 ]
-}
-
-@test "[DEB] package has been removed" {
- skip_not_dpkg
- run dpkg -s 'elasticsearch' >&2
- [ "$status" -eq 0 ]
- echo "$output" | grep -i "status" | grep -i "deinstall ok"
-}
-
-@test "[DEB] verify package removal" {
- skip_not_dpkg
-
- # The removal must stop the service
- count=$(ps | grep Elasticsearch | wc -l)
- [ "$count" -eq 0 ]
-
- # The removal must disable the service
- # see prerm file
- if is_systemd; then
- # Debian systemd distros usually returns exit code 3
- run systemctl status elasticsearch.service
- [ "$status" -eq 3 ]
-
- run systemctl is-enabled elasticsearch.service
- [ "$status" -eq 1 ]
- fi
-
- # Those directories are deleted when removing the package
- # see postrm file
- assert_file_not_exist "/var/log/elasticsearch"
- assert_file_not_exist "/usr/share/elasticsearch/plugins"
- assert_file_not_exist "/var/run/elasticsearch"
-
- # The configuration files are still here
- assert_file_exist "/etc/elasticsearch"
- assert_file_exist "/etc/elasticsearch/elasticsearch.yml"
- assert_file_exist "/etc/elasticsearch/logging.yml"
-
- # The env file is still here
- assert_file_exist "/etc/default/elasticsearch"
-
- # The service files are still here
- assert_file_exist "/etc/init.d/elasticsearch"
- assert_file_exist "/usr/lib/systemd/system/elasticsearch.service"
-}
-
-@test "[DEB] purge package" {
- skip_not_dpkg
- run dpkg --purge 'elasticsearch' >&2
- [ "$status" -eq 0 ]
-}
-
-@test "[DEB] verify package purge" {
- skip_not_dpkg
-
- # all remaining files are deleted by the purge
- assert_file_not_exist "/etc/elasticsearch"
- assert_file_not_exist "/etc/elasticsearch/elasticsearch.yml"
- assert_file_not_exist "/etc/elasticsearch/logging.yml"
-
- assert_file_not_exist "/etc/default/elasticsearch"
-
- assert_file_not_exist "/etc/init.d/elasticsearch"
- assert_file_not_exist "/usr/lib/systemd/system/elasticsearch.service"
-
- assert_file_not_exist "/usr/share/elasticsearch"
-
- assert_file_not_exist "/usr/share/doc/elasticsearch"
- assert_file_not_exist "/usr/share/doc/elasticsearch/copyright"
-}
-
-@test "[DEB] package has been completly removed" {
- skip_not_dpkg
- run dpkg -s 'elasticsearch' >&2
- [ "$status" -eq 1 ]
-}
diff --git a/core/src/test/resources/packaging/scripts/40_rpm_package.bats b/core/src/test/resources/packaging/scripts/40_rpm_package.bats
deleted file mode 100644
index 6a9007e4bb..0000000000
--- a/core/src/test/resources/packaging/scripts/40_rpm_package.bats
+++ /dev/null
@@ -1,142 +0,0 @@
-#!/usr/bin/env bats
-
-# This file is used to test the installation of a RPM package.
-
-# WARNING: This testing file must be executed as root and can
-# dramatically change your system. It removes the 'elasticsearch'
-# user/group and also many directories. Do not execute this file
-# unless you know exactly what you are doing.
-
-# The test case can be executed with the Bash Automated
-# Testing System tool available at https://github.com/sstephenson/bats
-# Thanks to Sam Stephenson!
-
-# Licensed to Elasticsearch under one or more contributor
-# license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright
-# ownership. Elasticsearch licenses this file to you under
-# the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-# Load test utilities
-load packaging_test_utils
-
-# Cleans everything for the 1st execution
-setup() {
- if [ "$BATS_TEST_NUMBER" -eq 1 ]; then
- clean_before_test
- fi
-}
-
-##################################
-# Install RPM package
-##################################
-@test "[RPM] rpm command is available" {
- skip_not_rpm
- run rpm --version
- [ "$status" -eq 0 ]
-}
-
-@test "[RPM] package is available" {
- skip_not_rpm
- count=$(find . -type f -name 'elastic*.rpm' | wc -l)
- [ "$count" -eq 1 ]
-}
-
-@test "[RPM] package is not installed" {
- skip_not_rpm
- run rpm -qe 'elasticsearch' >&2
- [ "$status" -eq 1 ]
-}
-
-@test "[RPM] install package" {
- skip_not_rpm
- run rpm -i elasticsearch*.rpm >&2
- [ "$status" -eq 0 ]
-}
-
-@test "[RPM] package is installed" {
- skip_not_rpm
- run rpm -qe 'elasticsearch' >&2
- [ "$status" -eq 0 ]
-}
-
-##################################
-# Check that the package is correctly installed
-##################################
-@test "[RPM] verify package installation" {
- skip_not_rpm
-
- verify_package_installation
-}
-
-##################################
-# Check that Elasticsearch is working
-##################################
-@test "[RPM] test elasticsearch" {
- skip_not_rpm
-
- start_elasticsearch_service
-
- run_elasticsearch_tests
-}
-
-##################################
-# Uninstall RPM package
-##################################
-@test "[RPM] remove package" {
- skip_not_rpm
- run rpm -e 'elasticsearch' >&2
- [ "$status" -eq 0 ]
-}
-
-@test "[RPM] package has been removed" {
- skip_not_rpm
- run rpm -qe 'elasticsearch' >&2
- [ "$status" -eq 1 ]
-}
-
-@test "[RPM] verify package removal" {
- skip_not_rpm
-
- # The removal must stop the service
- count=$(ps | grep Elasticsearch | wc -l)
- [ "$count" -eq 0 ]
-
- # The removal must disable the service
- # see prerm file
- if is_systemd; then
- # Redhat based systemd distros usually returns exit code 1
- # OpenSUSE13 returns 0
- run systemctl status elasticsearch.service
- [ "$status" -eq 1 ] || [ "$status" -eq 0 ]
-
- run systemctl is-enabled elasticsearch.service
- [ "$status" -eq 1 ]
- fi
-
- # Those directories are deleted when removing the package
- # see postrm file
- assert_file_not_exist "/var/log/elasticsearch"
- assert_file_not_exist "/usr/share/elasticsearch/plugins"
- assert_file_not_exist "/var/run/elasticsearch"
-
- assert_file_not_exist "/etc/elasticsearch"
- assert_file_not_exist "/etc/elasticsearch/elasticsearch.yml"
- assert_file_not_exist "/etc/elasticsearch/logging.yml"
-
- assert_file_not_exist "/etc/init.d/elasticsearch"
- assert_file_not_exist "/usr/lib/systemd/system/elasticsearch.service"
-
- assert_file_not_exist "/etc/sysconfig/elasticsearch"
-}
diff --git a/core/src/test/resources/packaging/scripts/50_plugins.bats b/core/src/test/resources/packaging/scripts/50_plugins.bats
deleted file mode 100644
index 5986a52811..0000000000
--- a/core/src/test/resources/packaging/scripts/50_plugins.bats
+++ /dev/null
@@ -1,291 +0,0 @@
-#!/usr/bin/env bats
-
-# This file is used to test the installation and removal
-# of plugins when Elasticsearch is installed as a DEB/RPM
-# package.
-
-# WARNING: This testing file must be executed as root and can
-# dramatically change your system. It removes the 'elasticsearch'
-# user/group and also many directories. Do not execute this file
-# unless you know exactly what you are doing.
-
-# The test case can be executed with the Bash Automated
-# Testing System tool available at https://github.com/sstephenson/bats
-# Thanks to Sam Stephenson!
-
-# Licensed to Elasticsearch under one or more contributor
-# license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright
-# ownership. Elasticsearch licenses this file to you under
-# the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-# Load test utilities
-load packaging_test_utils
-
-setup() {
- # Cleans everything for every test execution
- clean_before_test
-
- # Download Shield
- SHIELD_ZIP="$PWD/shield.zip"
-
- if [ "$BATS_TEST_NUMBER" -eq 1 ]; then
- if [ ! -e "$SHIELD_ZIP" ]; then
- wget --quiet -O "$SHIELD_ZIP" "http://download.elasticsearch.org/elasticsearch/shield/shield-latest.zip"
- fi
- fi
-}
-
-# Install a deb or rpm package
-install_package() {
- if is_rpm; then
- run rpm -i elasticsearch*.rpm >&2
- [ "$status" -eq 0 ]
-
- elif is_dpkg; then
- run dpkg -i elasticsearch*.deb >&2
- [ "$status" -eq 0 ]
- fi
-}
-
-##################################
-# Install plugins with DEB/RPM package
-##################################
-@test "[PLUGINS] install shield plugin" {
-
- # Install the package
- install_package
-
- # Checks that the package is correctly installed
- verify_package_installation
-
- # Checks that plugin archive is available
- [ -e "$SHIELD_ZIP" ]
-
- # Install Shield
- run /usr/share/elasticsearch/bin/plugin install elasticsearch/shield/latest -u "file://$SHIELD_ZIP"
- [ "$status" -eq 0 ]
-
- # Checks that Shield is correctly installed
- assert_file_exist "/usr/share/elasticsearch/bin/shield"
- assert_file_exist "/usr/share/elasticsearch/bin/shield/esusers"
- assert_file_exist "/usr/share/elasticsearch/bin/shield/syskeygen"
- assert_file_exist "/etc/elasticsearch/shield"
- assert_file_exist "/etc/elasticsearch/shield/role_mapping.yml"
- assert_file_exist "/etc/elasticsearch/shield/roles.yml"
- assert_file_exist "/etc/elasticsearch/shield/users"
- assert_file_exist "/etc/elasticsearch/shield/users_roles"
- assert_file_exist "/usr/share/elasticsearch/plugins/shield"
-
- # Remove the plugin
- run /usr/share/elasticsearch/bin/plugin remove elasticsearch/shield/latest
- [ "$status" -eq 0 ]
-
- # Checks that the plugin is correctly removed
- assert_file_not_exist "/usr/share/elasticsearch/bin/shield"
- assert_file_exist "/etc/elasticsearch/shield"
- assert_file_exist "/etc/elasticsearch/shield/role_mapping.yml"
- assert_file_exist "/etc/elasticsearch/shield/roles.yml"
- assert_file_exist "/etc/elasticsearch/shield/users"
- assert_file_exist "/etc/elasticsearch/shield/users_roles"
- assert_file_not_exist "/usr/share/elasticsearch/plugins/shield"
-}
-
-@test "[PLUGINS] install shield plugin with a custom path.plugins" {
-
- # Install the package
- install_package
-
- # Checks that the package is correctly installed
- verify_package_installation
-
- # Creates a temporary directory
- TEMP_PLUGINS_DIR=`mktemp -d 2>/dev/null || mktemp -d -t 'tmp'`
-
- # Modify the path.plugins setting in configuration file
- echo "path.plugins: $TEMP_PLUGINS_DIR" >> "/etc/elasticsearch/elasticsearch.yml"
-
- # Sets privileges
- run chown -R root:elasticsearch "$TEMP_PLUGINS_DIR"
- [ "$status" -eq 0 ]
-
- run chmod -R 750 "$TEMP_PLUGINS_DIR"
- [ "$status" -eq 0 ]
-
- # Checks that plugin archive is available
- [ -e "$SHIELD_ZIP" ]
-
- # Install Shield
- run /usr/share/elasticsearch/bin/plugin install elasticsearch/shield/latest -u "file://$SHIELD_ZIP"
- [ "$status" -eq 0 ]
-
- # Checks that Shield is correctly installed
- assert_file_exist "/usr/share/elasticsearch/bin/shield"
- assert_file_exist "/usr/share/elasticsearch/bin/shield/esusers"
- assert_file_exist "/usr/share/elasticsearch/bin/shield/syskeygen"
- assert_file_exist "/etc/elasticsearch/shield"
- assert_file_exist "/etc/elasticsearch/shield/role_mapping.yml"
- assert_file_exist "/etc/elasticsearch/shield/roles.yml"
- assert_file_exist "/etc/elasticsearch/shield/users"
- assert_file_exist "/etc/elasticsearch/shield/users_roles"
- assert_file_exist "$TEMP_PLUGINS_DIR/shield"
-
- # Remove the plugin
- run /usr/share/elasticsearch/bin/plugin remove elasticsearch/shield/latest
- [ "$status" -eq 0 ]
-
- # Checks that the plugin is correctly removed
- assert_file_not_exist "/usr/share/elasticsearch/bin/shield"
- assert_file_exist "/etc/elasticsearch/shield"
- assert_file_exist "/etc/elasticsearch/shield/role_mapping.yml"
- assert_file_exist "/etc/elasticsearch/shield/roles.yml"
- assert_file_exist "/etc/elasticsearch/shield/users"
- assert_file_exist "/etc/elasticsearch/shield/users_roles"
- assert_file_not_exist "$TEMP_PLUGINS_DIR/shield"
-
- # Delete the custom plugins directory
- run rm -rf "$TEMP_PLUGINS_DIR"
- [ "$status" -eq 0 ]
-}
-
-@test "[PLUGINS] install shield plugin with a custom CONFIG_DIR" {
-
- # Install the package
- install_package
-
- # Checks that the package is correctly installed
- verify_package_installation
-
- # Creates a temporary directory
- TEMP_CONFIG_DIR=`mktemp -d 2>/dev/null || mktemp -d -t 'tmp'`
-
- # Modify the CONF_DIR variable in environment file
- if is_rpm; then
- echo "CONF_DIR=$TEMP_CONFIG_DIR" >> "/etc/sysconfig/elasticsearch"
- elif is_dpkg; then
- echo "CONF_DIR=$TEMP_CONFIG_DIR" >> "/etc/default/elasticsearch"
- fi
-
- # Move configuration files to the new configuration directory
- run mv /etc/elasticsearch/* $TEMP_CONFIG_DIR
- [ "$status" -eq 0 ]
-
- assert_file_exist "$TEMP_CONFIG_DIR/elasticsearch.yml"
-
- # Sets privileges
- run chown -R root:elasticsearch "$TEMP_CONFIG_DIR"
- [ "$status" -eq 0 ]
-
- run chmod -R 750 "$TEMP_CONFIG_DIR"
- [ "$status" -eq 0 ]
-
- # Checks that plugin archive is available
- [ -e "$SHIELD_ZIP" ]
-
- # Install Shield
- run /usr/share/elasticsearch/bin/plugin install elasticsearch/shield/latest -u "file://$SHIELD_ZIP"
- [ "$status" -eq 0 ]
-
- # Checks that Shield is correctly installed
- assert_file_exist "/usr/share/elasticsearch/bin/shield"
- assert_file_exist "/usr/share/elasticsearch/bin/shield/esusers"
- assert_file_exist "/usr/share/elasticsearch/bin/shield/syskeygen"
- assert_file_exist "$TEMP_CONFIG_DIR/shield"
- assert_file_exist "$TEMP_CONFIG_DIR/shield/role_mapping.yml"
- assert_file_exist "$TEMP_CONFIG_DIR/shield/roles.yml"
- assert_file_exist "$TEMP_CONFIG_DIR/shield/users"
- assert_file_exist "/$TEMP_CONFIG_DIR/shield/users_roles"
- assert_file_exist "/usr/share/elasticsearch/plugins/shield"
-
- # Remove the plugin
- run /usr/share/elasticsearch/bin/plugin remove elasticsearch/shield/latest
- [ "$status" -eq 0 ]
-
- # Checks that the plugin is correctly removed
- assert_file_not_exist "/usr/share/elasticsearch/bin/shield"
- assert_file_exist "$TEMP_CONFIG_DIR/shield"
- assert_file_exist "$TEMP_CONFIG_DIR/shield/role_mapping.yml"
- assert_file_exist "$TEMP_CONFIG_DIR/shield/roles.yml"
- assert_file_exist "$TEMP_CONFIG_DIR/shield/users"
- assert_file_exist "$TEMP_CONFIG_DIR/shield/users_roles"
- assert_file_not_exist "/tmp/elasticsearch/plugins/shield"
-
- # Delete the custom plugins directory
- run rm -rf "$TEMP_CONFIG_DIR"
- [ "$status" -eq 0 ]
-}
-
-@test "[PLUGINS] install shield plugin with a custom ES_JAVA_OPTS" {
-
- # Install the package
- install_package
-
- # Checks that the package is correctly installed
- verify_package_installation
-
- # Creates a temporary directory
- TEMP_CONFIG_DIR=`mktemp -d 2>/dev/null || mktemp -d -t 'tmp'`
-
- # Move configuration files to the new configuration directory
- run mv /etc/elasticsearch/* $TEMP_CONFIG_DIR
- [ "$status" -eq 0 ]
-
- assert_file_exist "$TEMP_CONFIG_DIR/elasticsearch.yml"
-
- # Sets privileges
- run chown -R root:elasticsearch "$TEMP_CONFIG_DIR"
- [ "$status" -eq 0 ]
-
- run chmod -R 750 "$TEMP_CONFIG_DIR"
- [ "$status" -eq 0 ]
-
- # Export ES_JAVA_OPTS
- export ES_JAVA_OPTS="-Des.path.conf=$TEMP_CONFIG_DIR"
- [ "$status" -eq 0 ]
-
- # Checks that plugin archive is available
- [ -e "$SHIELD_ZIP" ]
-
- # Install Shield
- run /usr/share/elasticsearch/bin/plugin install elasticsearch/shield/latest -u "file://$SHIELD_ZIP"
- [ "$status" -eq 0 ]
-
- # Checks that Shield is correctly installed
- assert_file_exist "/usr/share/elasticsearch/bin/shield"
- assert_file_exist "/usr/share/elasticsearch/bin/shield/esusers"
- assert_file_exist "/usr/share/elasticsearch/bin/shield/syskeygen"
- assert_file_exist "$TEMP_CONFIG_DIR/shield"
- assert_file_exist "$TEMP_CONFIG_DIR/shield/role_mapping.yml"
- assert_file_exist "$TEMP_CONFIG_DIR/shield/roles.yml"
- assert_file_exist "$TEMP_CONFIG_DIR/shield/users"
- assert_file_exist "$TEMP_CONFIG_DIR/shield/users_roles"
- assert_file_exist "/usr/share/elasticsearch/plugins/shield"
-
- # Remove the plugin
- run /usr/share/elasticsearch/bin/plugin remove elasticsearch/shield/latest
- [ "$status" -eq 0 ]
-
- # Checks that the plugin is correctly removed
- assert_file_not_exist "/usr/share/elasticsearch/bin/shield"
- assert_file_exist "$TEMP_CONFIG_DIR/shield"
- assert_file_exist "$TEMP_CONFIG_DIR/shield/role_mapping.yml"
- assert_file_exist "$TEMP_CONFIG_DIR/shield/roles.yml"
- assert_file_exist "$TEMP_CONFIG_DIR/shield/users"
- assert_file_exist "$TEMP_CONFIG_DIR/shield/users_roles"
- assert_file_not_exist "/usr/share/elasticsearch/plugins/shield"
-
- # Delete the custom plugins directory
- run rm -rf "$TEMP_CONFIG_DIR"
- [ "$status" -eq 0 ]
-}
diff --git a/core/src/test/resources/packaging/scripts/60_systemd.bats b/core/src/test/resources/packaging/scripts/60_systemd.bats
deleted file mode 100644
index 011b063a16..0000000000
--- a/core/src/test/resources/packaging/scripts/60_systemd.bats
+++ /dev/null
@@ -1,170 +0,0 @@
-#!/usr/bin/env bats
-
-# This file is used to test the elasticsearch Systemd setup.
-
-# WARNING: This testing file must be executed as root and can
-# dramatically change your system. It removes the 'elasticsearch'
-# user/group and also many directories. Do not execute this file
-# unless you know exactly what you are doing.
-
-# The test case can be executed with the Bash Automated
-# Testing System tool available at https://github.com/sstephenson/bats
-# Thanks to Sam Stephenson!
-
-# Licensed to Elasticsearch under one or more contributor
-# license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright
-# ownership. Elasticsearch licenses this file to you under
-# the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-# Load test utilities
-load packaging_test_utils
-
-# Cleans everything for the 1st execution
-setup() {
- if [ "$BATS_TEST_NUMBER" -eq 1 ]; then
- clean_before_test
- fi
-
-
- # Installs a package before test
- if is_dpkg; then
- dpkg -i elasticsearch*.deb >&2 || true
- fi
- if is_rpm; then
- rpm -i elasticsearch*.rpm >&2 || true
- fi
-}
-
-@test "[SYSTEMD] daemon reload" {
- skip_not_systemd
-
- run systemctl daemon-reload
- [ "$status" -eq 0 ]
-}
-
-@test "[SYSTEMD] enable" {
- skip_not_systemd
-
- run systemctl enable elasticsearch.service
- [ "$status" -eq 0 ]
-
- run systemctl is-enabled elasticsearch.service
- [ "$status" -eq 0 ]
-}
-
-@test "[SYSTEMD] start" {
- skip_not_systemd
-
- run systemctl start elasticsearch.service
- [ "$status" -eq 0 ]
-
- wait_for_elasticsearch_status
-
- assert_file_exist "/var/run/elasticsearch/elasticsearch.pid"
-}
-
-@test "[SYSTEMD] start (running)" {
- skip_not_systemd
-
- run systemctl start elasticsearch.service
- [ "$status" -eq 0 ]
-}
-
-@test "[SYSTEMD] is active (running)" {
- skip_not_systemd
-
- run systemctl is-active elasticsearch.service
- [ "$status" -eq 0 ]
- [ "$output" = "active" ]
-}
-
-@test "[SYSTEMD] status (running)" {
- skip_not_systemd
-
- run systemctl status elasticsearch.service
- [ "$status" -eq 0 ]
-}
-
-##################################
-# Check that Elasticsearch is working
-##################################
-@test "[SYSTEMD] test elasticsearch" {
- skip_not_systemd
-
- run_elasticsearch_tests
-}
-
-@test "[SYSTEMD] restart" {
- skip_not_systemd
-
- run systemctl restart elasticsearch.service
- [ "$status" -eq 0 ]
-
- wait_for_elasticsearch_status
-
- run service elasticsearch status
- [ "$status" -eq 0 ]
-}
-
-@test "[SYSTEMD] stop (running)" {
- skip_not_systemd
-
- run systemctl stop elasticsearch.service
- [ "$status" -eq 0 ]
-
- run systemctl status elasticsearch.service
- echo "$output" | grep "Active:" | grep "inactive"
-}
-
-@test "[SYSTEMD] stop (stopped)" {
- skip_not_systemd
-
- run systemctl stop elasticsearch.service
- [ "$status" -eq 0 ]
-
- run systemctl status elasticsearch.service
- echo "$output" | grep "Active:" | grep "inactive"
-}
-
-@test "[SYSTEMD] status (stopped)" {
- skip_not_systemd
-
- run systemctl status elasticsearch.service
- echo "$output" | grep "Active:" | grep "inactive"
-}
-
-# Simulates the behavior of a system restart:
-# the PID directory is deleted by the operating system
-# but it should not block ES from starting
-# see https://github.com/elastic/elasticsearch/issues/11594
-@test "[SYSTEMD] delete PID_DIR and restart" {
- skip_not_systemd
-
- run rm -rf /var/run/elasticsearch
- [ "$status" -eq 0 ]
-
- run systemd-tmpfiles --create
- [ "$status" -eq 0 ]
-
- run systemctl start elasticsearch.service
- [ "$status" -eq 0 ]
-
- wait_for_elasticsearch_status
-
- assert_file_exist "/var/run/elasticsearch/elasticsearch.pid"
-
- run systemctl stop elasticsearch.service
- [ "$status" -eq 0 ]
-} \ No newline at end of file
diff --git a/core/src/test/resources/packaging/scripts/70_sysv_initd.bats b/core/src/test/resources/packaging/scripts/70_sysv_initd.bats
deleted file mode 100644
index 0cd0d652c4..0000000000
--- a/core/src/test/resources/packaging/scripts/70_sysv_initd.bats
+++ /dev/null
@@ -1,123 +0,0 @@
-#!/usr/bin/env bats
-
-# This file is used to test the elasticsearch init.d scripts.
-
-# WARNING: This testing file must be executed as root and can
-# dramatically change your system. It removes the 'elasticsearch'
-# user/group and also many directories. Do not execute this file
-# unless you know exactly what you are doing.
-
-# The test case can be executed with the Bash Automated
-# Testing System tool available at https://github.com/sstephenson/bats
-# Thanks to Sam Stephenson!
-
-# Licensed to Elasticsearch under one or more contributor
-# license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright
-# ownership. Elasticsearch licenses this file to you under
-# the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-# Load test utilities
-load packaging_test_utils
-
-# Cleans everything for the 1st execution
-setup() {
- if [ "$BATS_TEST_NUMBER" -eq 1 ]; then
- clean_before_test
- fi
-
- # Installs a package before test
- if is_dpkg; then
- dpkg -i elasticsearch*.deb >&2 || true
- fi
- if is_rpm; then
- rpm -i elasticsearch*.rpm >&2 || true
- fi
-}
-
-@test "[INIT.D] start" {
- skip_not_sysvinit
-
- run service elasticsearch start
- [ "$status" -eq 0 ]
-
- wait_for_elasticsearch_status
-
- assert_file_exist "/var/run/elasticsearch/elasticsearch.pid"
-}
-
-@test "[INIT.D] status (running)" {
- skip_not_sysvinit
-
- run service elasticsearch status
- [ "$status" -eq 0 ]
-}
-
-##################################
-# Check that Elasticsearch is working
-##################################
-@test "[INIT.D] test elasticsearch" {
- skip_not_sysvinit
-
- run_elasticsearch_tests
-}
-
-@test "[INIT.D] restart" {
- skip_not_sysvinit
-
- run service elasticsearch restart
- [ "$status" -eq 0 ]
-
- wait_for_elasticsearch_status
-
- run service elasticsearch status
- [ "$status" -eq 0 ]
-}
-
-@test "[INIT.D] stop (running)" {
- skip_not_sysvinit
-
- run service elasticsearch stop
- [ "$status" -eq 0 ]
-
-}
-
-@test "[INIT.D] status (stopped)" {
- skip_not_sysvinit
-
- run service elasticsearch status
- [ "$status" -eq 3 ]
-}
-
-# Simulates the behavior of a system restart:
-# the PID directory is deleted by the operating system
-# but it should not block ES from starting
-# see https://github.com/elastic/elasticsearch/issues/11594
-@test "[INIT.D] delete PID_DIR and restart" {
- skip_not_sysvinit
-
- run rm -rf /var/run/elasticsearch
- [ "$status" -eq 0 ]
-
-
- run service elasticsearch start
- [ "$status" -eq 0 ]
-
- wait_for_elasticsearch_status
-
- assert_file_exist "/var/run/elasticsearch/elasticsearch.pid"
-
- run service elasticsearch stop
- [ "$status" -eq 0 ]
-} \ No newline at end of file
diff --git a/core/src/test/resources/packaging/scripts/packaging_test_utils.bash b/core/src/test/resources/packaging/scripts/packaging_test_utils.bash
deleted file mode 100644
index b5fe262efd..0000000000
--- a/core/src/test/resources/packaging/scripts/packaging_test_utils.bash
+++ /dev/null
@@ -1,464 +0,0 @@
-#!/bin/sh
-
-# This file contains some utilities to test the elasticsearch scripts,
-# the .deb/.rpm packages and the SysV/Systemd scripts.
-
-# WARNING: This testing file must be executed as root and can
-# dramatically change your system. It removes the 'elasticsearch'
-# user/group and also many directories. Do not execute this file
-# unless you know exactly what you are doing.
-
-# Licensed to Elasticsearch under one or more contributor
-# license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright
-# ownership. Elasticsearch licenses this file to you under
-# the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-
-# Checks if necessary commands are available to run the tests
-
-if [ ! -x /usr/bin/which ]; then
- echo "'which' command is mandatory to run the tests"
- exit 1
-fi
-
-if [ ! -x "`which wget 2>/dev/null`" ]; then
- echo "'wget' command is mandatory to run the tests"
- exit 1
-fi
-
-if [ ! -x "`which curl 2>/dev/null`" ]; then
- echo "'curl' command is mandatory to run the tests"
- exit 1
-fi
-
-if [ ! -x "`which pgrep 2>/dev/null`" ]; then
- echo "'pgrep' command is mandatory to run the tests"
- exit 1
-fi
-
-if [ ! -x "`which unzip 2>/dev/null`" ]; then
- echo "'unzip' command is mandatory to run the tests"
- exit 1
-fi
-
-if [ ! -x "`which tar 2>/dev/null`" ]; then
- echo "'tar' command is mandatory to run the tests"
- exit 1
-fi
-
-if [ ! -x "`which unzip 2>/dev/null`" ]; then
- echo "'unzip' command is mandatory to run the tests"
- exit 1
-fi
-
-if [ ! -x "`which java 2>/dev/null`" ]; then
- echo "'java' command is mandatory to run the tests"
- exit 1
-fi
-
-# Returns 0 if the 'dpkg' command is available
-is_dpkg() {
- [ -x "`which dpkg 2>/dev/null`" ]
-}
-
-# Returns 0 if the 'rpm' command is available
-is_rpm() {
- [ -x "`which rpm 2>/dev/null`" ]
-}
-
-# Skip test if the 'dpkg' command is not supported
-skip_not_dpkg() {
- if [ ! -x "`which dpkg 2>/dev/null`" ]; then
- skip "dpkg is not supported"
- fi
-}
-
-# Skip test if the 'rpm' command is not supported
-skip_not_rpm() {
- if [ ! -x "`which rpm 2>/dev/null`" ]; then
- skip "rpm is not supported"
- fi
-}
-
-# Returns 0 if the system supports Systemd
-is_systemd() {
- [ -x /bin/systemctl ]
-}
-
-# Skip test if Systemd is not supported
-skip_not_systemd() {
- if [ ! -x /bin/systemctl ]; then
- skip "systemd is not supported"
- fi
-}
-
-# Returns 0 if the system supports SysV
-is_sysvinit() {
- [ -x "`which service 2>/dev/null`" ]
-}
-
-# Skip test if SysV is not supported
-skip_not_sysvinit() {
- if [ -x "`which service 2>/dev/null`" ] && is_systemd; then
- skip "sysvinit is supported, but systemd too"
- fi
- if [ ! -x "`which service 2>/dev/null`" ]; then
- skip "sysvinit is not supported"
- fi
-}
-
-# Skip if tar is not supported
-skip_not_tar_gz() {
- if [ ! -x "`which tar 2>/dev/null`" ]; then
- skip "tar is not supported"
- fi
-}
-
-# Skip if unzip is not supported
-skip_not_zip() {
- if [ ! -x "`which unzip 2>/dev/null`" ]; then
- skip "unzip is not supported"
- fi
-}
-
-assert_file_exist() {
- [ -e "$1" ]
-}
-
-assert_file_not_exist() {
- [ ! -e "$1" ]
-}
-
-assert_file() {
- local file=$1
- local type=$2
- local user=$3
- local privileges=$4
-
- [ -n "$file" ] && [ -e "$file" ]
-
- if [ "$type" = "d" ]; then
- [ -d "$file" ]
- else
- [ -f "$file" ]
- fi
-
- if [ "x$user" != "x" ]; then
- realuser=$(ls -ld "$file" | awk '{print $3}')
- [ "$realuser" = "$user" ]
- fi
-
- if [ "x$privileges" != "x" ]; then
- realprivileges=$(find "$file" -maxdepth 0 -printf "%m")
- [ "$realprivileges" = "$privileges" ]
- fi
-}
-
-assert_output() {
- echo "$output" | grep -E "$1"
-}
-
-# Checks that all directories & files are correctly installed
-# after a package (deb/rpm) install
-verify_package_installation() {
-
- run id elasticsearch
- [ "$status" -eq 0 ]
-
- run getent group elasticsearch
- [ "$status" -eq 0 ]
-
- # Home dir
- assert_file "/usr/share/elasticsearch" d root 755
- # Bin dir
- assert_file "/usr/share/elasticsearch/bin" d root 755
- assert_file "/usr/share/elasticsearch/lib" d root 755
- # Conf dir
- assert_file "/etc/elasticsearch" d root 755
- assert_file "/etc/elasticsearch/elasticsearch.yml" f root 644
- assert_file "/etc/elasticsearch/logging.yml" f root 644
- # Data dir
- assert_file "/var/lib/elasticsearch" d elasticsearch 755
- # Log dir
- assert_file "/var/log/elasticsearch" d elasticsearch 755
- # Plugins dir
- assert_file "/usr/share/elasticsearch/plugins" d elasticsearch 755
- # PID dir
- assert_file "/var/run/elasticsearch" d elasticsearch 755
- # Readme files
- assert_file "/usr/share/elasticsearch/NOTICE.txt" f root 644
- assert_file "/usr/share/elasticsearch/README.textile" f root 644
-
- if is_dpkg; then
- # Env file
- assert_file "/etc/default/elasticsearch" f root 644
-
- # Doc files
- assert_file "/usr/share/doc/elasticsearch" d root 755
- assert_file "/usr/share/doc/elasticsearch/copyright" f root 644
-
- fi
-
- if is_rpm; then
- # Env file
- assert_file "/etc/sysconfig/elasticsearch" f root 644
- # License file
- assert_file "/usr/share/elasticsearch/LICENSE.txt" f root 644
- fi
-
- if is_systemd; then
- assert_file "/usr/lib/systemd/system/elasticsearch.service" f root 644
- assert_file "/usr/lib/tmpfiles.d/elasticsearch.conf" f root 644
- assert_file "/usr/lib/sysctl.d/elasticsearch.conf" f root 644
- fi
-}
-
-
-# Install the tar.gz archive
-install_archive() {
- local eshome="/tmp"
- if [ "x$1" != "x" ]; then
- eshome="$1"
- fi
-
- run tar -xzvf elasticsearch*.tar.gz -C "$eshome" >&2
- [ "$status" -eq 0 ]
-
- run find "$eshome" -depth -type d -name 'elasticsearch*' -exec mv {} "$eshome/elasticsearch" \;
- [ "$status" -eq 0 ]
-
- # ES cannot run as root so create elasticsearch user & group if needed
- if ! getent group "elasticsearch" > /dev/null 2>&1 ; then
- if is_dpkg; then
- run addgroup --system "elasticsearch"
- [ "$status" -eq 0 ]
- else
- run groupadd -r "elasticsearch"
- [ "$status" -eq 0 ]
- fi
- fi
- if ! id "elasticsearch" > /dev/null 2>&1 ; then
- if is_dpkg; then
- run adduser --quiet --system --no-create-home --ingroup "elasticsearch" --disabled-password --shell /bin/false "elasticsearch"
- [ "$status" -eq 0 ]
- else
- run useradd --system -M --gid "elasticsearch" --shell /sbin/nologin --comment "elasticsearch user" "elasticsearch"
- [ "$status" -eq 0 ]
- fi
- fi
-
- run chown -R elasticsearch:elasticsearch "$eshome/elasticsearch"
- [ "$status" -eq 0 ]
-}
-
-
-# Checks that all directories & files are correctly installed
-# after a archive (tar.gz/zip) install
-verify_archive_installation() {
- local eshome="/tmp/elasticsearch"
- if [ "x$1" != "x" ]; then
- eshome="$1"
- fi
-
- assert_file "$eshome" d
- assert_file "$eshome/bin" d
- assert_file "$eshome/bin/elasticsearch" f
- assert_file "$eshome/bin/elasticsearch.in.sh" f
- assert_file "$eshome/bin/plugin" f
- assert_file "$eshome/config" d
- assert_file "$eshome/config/elasticsearch.yml" f
- assert_file "$eshome/config/logging.yml" f
- assert_file "$eshome/config" d
- assert_file "$eshome/lib" d
- assert_file "$eshome/NOTICE.txt" f
- assert_file "$eshome/LICENSE.txt" f
- assert_file "$eshome/README.textile" f
-}
-
-# Deletes everything before running a test file
-clean_before_test() {
-
- # List of files to be deleted
- ELASTICSEARCH_TEST_FILES=("/usr/share/elasticsearch" \
- "/etc/elasticsearch" \
- "/var/lib/elasticsearch" \
- "/var/log/elasticsearch" \
- "/tmp/elasticsearch" \
- "/etc/default/elasticsearch" \
- "/etc/sysconfig/elasticsearch" \
- "/var/run/elasticsearch" \
- "/usr/share/doc/elasticsearch" \
- "/tmp/elasticsearch" \
- "/usr/lib/systemd/system/elasticsearch.conf" \
- "/usr/lib/tmpfiles.d/elasticsearch.conf" \
- "/usr/lib/sysctl.d/elasticsearch.conf")
-
- if [ "$ES_CLEAN_BEFORE_TEST" = "true" ]; then
- # Kills all processes of user elasticsearch
- if id elasticsearch > /dev/null 2>&1; then
- pkill -u elasticsearch 2>/dev/null || true
- fi
-
- # Kills all running Elasticsearch processes
- ps aux | grep -i "org.elasticsearch.bootstrap.Elasticsearch" | awk {'print $2'} | xargs kill -9 > /dev/null 2>&1 || true
-
- # Removes RPM package
- if is_rpm; then
- rpm --quiet -e elasticsearch > /dev/null 2>&1 || true
- fi
-
- if [ -x "`which yum 2>/dev/null`" ]; then
- yum remove -y elasticsearch > /dev/null 2>&1 || true
- fi
-
- # Removes DEB package
- if is_dpkg; then
- dpkg --purge elasticsearch > /dev/null 2>&1 || true
- fi
-
- if [ -x "`which apt-get 2>/dev/null`" ]; then
- apt-get --quiet --yes purge elasticsearch > /dev/null 2>&1 || true
- fi
-
- # Removes user & group
- userdel elasticsearch > /dev/null 2>&1 || true
- groupdel elasticsearch > /dev/null 2>&1 || true
-
-
- # Removes all files
- for d in "${ELASTICSEARCH_TEST_FILES[@]}"; do
- if [ -e "$d" ]; then
- rm -rf "$d"
- fi
- done
- fi
-
- # Checks that all files are deleted
- for d in "${ELASTICSEARCH_TEST_FILES[@]}"; do
- if [ -e "$d" ]; then
- echo "$d should not exist before running the tests" >&2
- exit 1
- fi
- done
-}
-
-start_elasticsearch_service() {
-
- if [ -f "/tmp/elasticsearch/bin/elasticsearch" ]; then
- run /bin/su -s /bin/sh -c '/tmp/elasticsearch/bin/elasticsearch -d -p /tmp/elasticsearch/elasticsearch.pid' elasticsearch
- [ "$status" -eq 0 ]
-
- elif is_systemd; then
- run systemctl daemon-reload
- [ "$status" -eq 0 ]
-
- run systemctl enable elasticsearch.service
- [ "$status" -eq 0 ]
-
- run systemctl is-enabled elasticsearch.service
- [ "$status" -eq 0 ]
-
- run systemctl start elasticsearch.service
- [ "$status" -eq 0 ]
-
- elif is_sysvinit; then
- run service elasticsearch start
- [ "$status" -eq 0 ]
- fi
-
- wait_for_elasticsearch_status
-
- if [ -r "/tmp/elasticsearch/elasticsearch.pid" ]; then
- pid=$(cat /tmp/elasticsearch/elasticsearch.pid)
- [ "x$pid" != "x" ] && [ "$pid" -gt 0 ]
-
- run ps $pid
- [ "$status" -eq 0 ]
-
- elif is_systemd; then
- run systemctl is-active elasticsearch.service
- [ "$status" -eq 0 ]
-
- run systemctl status elasticsearch.service
- [ "$status" -eq 0 ]
-
- elif is_sysvinit; then
- run service elasticsearch status
- [ "$status" -eq 0 ]
- fi
-}
-
-stop_elasticsearch_service() {
-
- if [ -r "/tmp/elasticsearch/elasticsearch.pid" ]; then
- pid=$(cat /tmp/elasticsearch/elasticsearch.pid)
- [ "x$pid" != "x" ] && [ "$pid" -gt 0 ]
-
- run kill -SIGTERM $pid
- [ "$status" -eq 0 ]
-
- elif is_systemd; then
- run systemctl stop elasticsearch.service
- [ "$status" -eq 0 ]
-
- run systemctl is-active elasticsearch.service
- [ "$status" -eq 3 ]
-
- echo "$output" | grep -E 'inactive|failed'
-
- elif is_sysvinit; then
- run service elasticsearch stop
- [ "$status" -eq 0 ]
-
- run service elasticsearch status
- [ "$status" -ne 0 ]
- fi
-}
-
-# Waits for Elasticsearch to reach a given status (defaults to "green")
-wait_for_elasticsearch_status() {
- local status="green"
- if [ "x$1" != "x" ]; then
- status="$1"
- fi
-
- # Try to connect to elasticsearch and wait for expected status
- wget --quiet --retry-connrefused --waitretry=1 --timeout=60 \
- --output-document=/dev/null "http://localhost:9200/_cluster/health?wait_for_status=$status&timeout=60s" || true
-
- # Checks the cluster health
- curl -XGET 'http://localhost:9200/_cat/health?h=status&v=false'
- if [ $? -ne 0 ]; then
- echo "error when checking cluster health" >&2
- exit 1
- fi
-}
-
-# Executes some very basic Elasticsearch tests
-run_elasticsearch_tests() {
- run curl -XGET 'http://localhost:9200/_cat/health?h=status&v=false'
- [ "$status" -eq 0 ]
- echo "$output" | grep -w "green"
-
- run curl -XPOST 'http://localhost:9200/library/book/1?refresh=true' -d '{"title": "Elasticsearch - The Definitive Guide"}' 2>&1
- [ "$status" -eq 0 ]
-
- run curl -XGET 'http://localhost:9200/_cat/count?h=count&v=false'
- [ "$status" -eq 0 ]
- echo "$output" | grep -w "1"
-
- run curl -XDELETE 'http://localhost:9200/_all'
- [ "$status" -eq 0 ]
-}