2015-06-05 07:12:03 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.elasticsearch</groupId>
|
2015-08-18 05:02:23 -04:00
|
|
|
<artifactId>parent</artifactId>
|
2015-08-14 17:43:47 -04:00
|
|
|
<version>2.1.0-SNAPSHOT</version>
|
2015-06-05 07:12:03 -04:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<groupId>org.elasticsearch</groupId>
|
|
|
|
<artifactId>elasticsearch</artifactId>
|
|
|
|
|
2015-08-17 05:19:27 -04:00
|
|
|
<name>Elasticsearch: Core</name>
|
2015-06-05 07:12:03 -04:00
|
|
|
<description>Elasticsearch - Open Source, Distributed, RESTful Search Engine</description>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-all</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.carrotsearch.randomizedtesting</groupId>
|
|
|
|
<artifactId>randomizedtesting-runner</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-test-framework</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.jimfs</groupId>
|
|
|
|
<artifactId>jimfs</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
2015-08-13 09:21:06 -04:00
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-core</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-backward-codecs</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-analyzers-common</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-queries</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-memory</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-highlighter</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-queryparser</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-suggest</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-join</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-spatial</artifactId>
|
2015-06-05 07:12:03 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-expressions</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.spatial4j</groupId>
|
|
|
|
<artifactId>spatial4j</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.vividsolutions</groupId>
|
|
|
|
<artifactId>jts</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<!-- needed for templating -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.spullara.mustache.java</groupId>
|
|
|
|
<artifactId>compiler</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<!-- Lucene spatial -->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.carrotsearch</groupId>
|
|
|
|
<artifactId>hppc</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>joda-time</groupId>
|
|
|
|
<artifactId>joda-time</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.joda</groupId>
|
|
|
|
<artifactId>joda-convert</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-core</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
|
|
|
<artifactId>jackson-dataformat-smile</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
|
|
|
<artifactId>jackson-dataformat-yaml</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
|
|
|
<artifactId>jackson-dataformat-cbor</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.ning</groupId>
|
|
|
|
<artifactId>compress-lzf</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.tdunning</groupId>
|
|
|
|
<artifactId>t-digest</artifactId>
|
|
|
|
</dependency>
|
2015-07-20 07:23:21 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.hdrhistogram</groupId>
|
|
|
|
<artifactId>HdrHistogram</artifactId>
|
|
|
|
</dependency>
|
2015-06-05 07:12:03 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-cli</groupId>
|
|
|
|
<artifactId>commons-cli</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
|
|
<artifactId>groovy-all</artifactId>
|
|
|
|
<classifier>indy</classifier>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>apache-log4j-extras</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.java.dev.jna</groupId>
|
|
|
|
<artifactId>jna</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
|
2015-06-26 20:40:42 -04:00
|
|
|
<!-- remove this for java 8 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.twitter</groupId>
|
|
|
|
<artifactId>jsr166e</artifactId>
|
|
|
|
<version>1.1.0</version>
|
|
|
|
</dependency>
|
|
|
|
|
2015-06-05 07:12:03 -04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${project.basedir}/src/main/java</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.json</include>
|
|
|
|
<include>**/*.yml</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>${project.basedir}/src/main/resources</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.*</include>
|
|
|
|
</includes>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
|
|
|
|
<testResources>
|
|
|
|
<testResource>
|
|
|
|
<directory>${project.basedir}/src/test/java</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.json</include>
|
|
|
|
<include>**/*.yml</include>
|
|
|
|
<include>**/*.txt</include>
|
|
|
|
<include>**/*.properties</include>
|
|
|
|
</includes>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</testResource>
|
|
|
|
<testResource>
|
|
|
|
<directory>${project.basedir}/src/test/java</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.gz</include>
|
|
|
|
</includes>
|
|
|
|
</testResource>
|
|
|
|
<testResource>
|
|
|
|
<directory>${project.basedir}/src/test/resources</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.*</include>
|
|
|
|
</includes>
|
|
|
|
</testResource>
|
|
|
|
<testResource>
|
2015-06-18 10:05:42 -04:00
|
|
|
<directory>${elasticsearch.tools.directory}/rest-api-spec</directory>
|
2015-06-05 07:12:03 -04:00
|
|
|
<targetPath>rest-api-spec</targetPath>
|
|
|
|
<includes>
|
|
|
|
<include>api/*.json</include>
|
|
|
|
<include>test/**/*.yaml</include>
|
|
|
|
</includes>
|
|
|
|
</testResource>
|
|
|
|
<!-- shared test resources like log4j.properties -->
|
|
|
|
<testResource>
|
|
|
|
<directory>${elasticsearch.tools.directory}/shared-test-resources</directory>
|
|
|
|
<filtering>false</filtering>
|
|
|
|
</testResource>
|
|
|
|
</testResources>
|
|
|
|
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-test-sources</id>
|
|
|
|
<goals>
|
|
|
|
<goal>test-jar</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<includes>
|
|
|
|
<include>org/elasticsearch/test/**/*</include>
|
|
|
|
<include>org/elasticsearch/bootstrap/BootstrapForTesting.class</include>
|
|
|
|
<include>org/elasticsearch/common/cli/CliToolTestCase.class</include>
|
|
|
|
<include>org/elasticsearch/common/cli/CliToolTestCase$*.class</include>
|
|
|
|
</includes>
|
|
|
|
<excludes>
|
|
|
|
<!-- unit tests for yaml suite parser & rest spec parser need to be excluded -->
|
|
|
|
<exclude>org/elasticsearch/test/rest/test/**/*</exclude>
|
|
|
|
<!-- unit tests for test framework classes-->
|
|
|
|
<exclude>org/elasticsearch/test/test/**/*</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>test-jar</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<includes>
|
|
|
|
<include>rest-api-spec/**/*</include>
|
|
|
|
<include>org/elasticsearch/test/**/*</include>
|
|
|
|
<include>org/elasticsearch/bootstrap/BootstrapForTesting.class</include>
|
|
|
|
<include>org/elasticsearch/common/cli/CliToolTestCase.class</include>
|
|
|
|
<include>org/elasticsearch/common/cli/CliToolTestCase$*.class</include>
|
2015-08-13 18:16:16 -04:00
|
|
|
<include>org/elasticsearch/cluster/MockInternalClusterInfoService.class</include>
|
|
|
|
<include>org/elasticsearch/cluster/MockInternalClusterInfoService$*.class</include>
|
|
|
|
<include>org/elasticsearch/index/shard/MockEngineFactoryPlugin.class</include>
|
|
|
|
<include>org/elasticsearch/search/MockSearchService.class</include>
|
|
|
|
<include>org/elasticsearch/search/MockSearchService$*.class</include>
|
2015-08-13 18:32:03 -04:00
|
|
|
<include>org/elasticsearch/cache/recycler/MockPageCacheRecycler.class</include>
|
2015-08-13 22:40:31 -04:00
|
|
|
<include>org/elasticsearch/cache/recycler/MockPageCacheRecycler$*.class</include>
|
2015-08-13 18:32:03 -04:00
|
|
|
<include>org/elasticsearch/common/util/MockBigArrays.class</include>
|
2015-08-13 19:28:38 -04:00
|
|
|
<include>org/elasticsearch/common/util/MockBigArrays$*.class</include>
|
2015-08-13 18:32:03 -04:00
|
|
|
<include>org/elasticsearch/node/NodeMocksPlugin.class</include>
|
2015-08-22 03:21:13 -04:00
|
|
|
<include>org/elasticsearch/node/MockNode.class</include>
|
2015-06-05 07:12:03 -04:00
|
|
|
</includes>
|
|
|
|
<excludes>
|
|
|
|
<!-- unit tests for yaml suite parser & rest spec parser need to be excluded -->
|
|
|
|
<exclude>org/elasticsearch/test/rest/test/**/*</exclude>
|
|
|
|
<!-- unit tests for test framework classes-->
|
|
|
|
<exclude>org/elasticsearch/test/test/**/*</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2015-08-09 12:18:59 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<!-- Don't run the license checker in core -->
|
|
|
|
<id>check-license</id>
|
|
|
|
<phase>none</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2015-06-05 07:12:03 -04:00
|
|
|
</plugins>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>org/apache/lucene/**</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.mycila</groupId>
|
|
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<!-- Guice -->
|
|
|
|
<exclude>src/main/java/org/elasticsearch/common/inject/**</exclude>
|
|
|
|
<exclude>src/main/java/org/elasticsearch/common/geo/GeoHashUtils.java</exclude>
|
|
|
|
<exclude>src/main/java/org/apache/lucene/**/X*.java</exclude>
|
|
|
|
<!-- t-digest -->
|
|
|
|
<exclude>src/main/java/org/elasticsearch/search/aggregations/metrics/percentiles/tdigest/TDigestState.java</exclude>
|
|
|
|
<!-- netty pipelining -->
|
|
|
|
<exclude>src/main/java/org/elasticsearch/http/netty/pipelining/**</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
<profiles>
|
|
|
|
<!-- license profile, to generate third party license file -->
|
|
|
|
<profile>
|
|
|
|
<id>license</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>license.generation</name>
|
|
|
|
<value>true</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<!-- not including license-maven-plugin is sufficent to expose default license -->
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
</project>
|