2015-06-05 07:12:05 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2015-07-09 00:39:28 -04:00
|
|
|
|
2015-06-05 07:12:05 -04:00
|
|
|
<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>
|
|
|
|
|
2015-07-03 14:00:32 -04:00
|
|
|
<groupId>org.elasticsearch.plugin</groupId>
|
2015-06-05 07:12:05 -04:00
|
|
|
<artifactId>elasticsearch-plugin</artifactId>
|
2015-07-09 06:52:02 -04:00
|
|
|
<version>2.0.0.beta1-SNAPSHOT</version>
|
2015-06-05 07:12:05 -04:00
|
|
|
<packaging>pom</packaging>
|
|
|
|
<name>Elasticsearch Plugin POM</name>
|
|
|
|
<inceptionYear>2009</inceptionYear>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>org.elasticsearch</groupId>
|
|
|
|
<artifactId>elasticsearch-parent</artifactId>
|
2015-07-09 06:52:02 -04:00
|
|
|
<version>2.0.0.beta1-SNAPSHOT</version>
|
2015-06-05 07:12:05 -04:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<elasticsearch.assembly.descriptor>${basedir}/src/main/assemblies/plugin.xml</elasticsearch.assembly.descriptor>
|
|
|
|
<elasticsearch.assembly.appendId>false</elasticsearch.assembly.appendId>
|
2015-07-09 00:39:28 -04:00
|
|
|
<elasticsearch.integ.antfile.default>${elasticsearch.tools.directory}/ant/integration-tests.xml</elasticsearch.integ.antfile.default>
|
|
|
|
<elasticsearch.integ.antfile>${elasticsearch.integ.antfile.default}</elasticsearch.integ.antfile>
|
2015-06-05 07:12:05 -04:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
2015-06-12 12:57:21 -04:00
|
|
|
<!-- elasticsearch and its test framework -->
|
2015-06-05 07:12:05 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-all</artifactId>
|
2015-06-15 11:08:15 -04:00
|
|
|
<scope>test</scope>
|
2015-06-05 07:12:05 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-test-framework</artifactId>
|
2015-06-15 11:08:15 -04:00
|
|
|
<scope>test</scope>
|
2015-06-05 07:12:05 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.elasticsearch</groupId>
|
|
|
|
<artifactId>elasticsearch</artifactId>
|
2015-06-12 12:57:21 -04:00
|
|
|
<type>test-jar</type>
|
|
|
|
<scope>test</scope>
|
2015-06-05 07:12:05 -04:00
|
|
|
</dependency>
|
2015-07-06 12:29:30 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.elasticsearch</groupId>
|
|
|
|
<artifactId>elasticsearch</artifactId>
|
|
|
|
<type>zip</type>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2015-06-12 12:57:21 -04:00
|
|
|
|
|
|
|
<!-- Provided dependencies by elasticsearch itself -->
|
2015-06-05 07:12:05 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.elasticsearch</groupId>
|
|
|
|
<artifactId>elasticsearch</artifactId>
|
2015-06-12 12:57:21 -04:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-core</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-backward-codecs</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-analyzers-common</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-queries</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-memory</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-highlighter</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-queryparser</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-suggest</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-join</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-spatial</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-expressions</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.spatial4j</groupId>
|
|
|
|
<artifactId>spatial4j</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.vividsolutions</groupId>
|
|
|
|
<artifactId>jts</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.spullara.mustache.java</groupId>
|
|
|
|
<artifactId>compiler</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.carrotsearch</groupId>
|
|
|
|
<artifactId>hppc</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>joda-time</groupId>
|
|
|
|
<artifactId>joda-time</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.joda</groupId>
|
|
|
|
<artifactId>joda-convert</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-core</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
|
|
|
<artifactId>jackson-dataformat-smile</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
|
|
|
<artifactId>jackson-dataformat-yaml</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
|
|
|
<artifactId>jackson-dataformat-cbor</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.ning</groupId>
|
|
|
|
<artifactId>compress-lzf</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.tdunning</groupId>
|
|
|
|
<artifactId>t-digest</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-cli</groupId>
|
|
|
|
<artifactId>commons-cli</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
|
|
<artifactId>groovy-all</artifactId>
|
|
|
|
<classifier>indy</classifier>
|
|
|
|
<scope>provided</scope>
|
2015-06-05 07:12:05 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
2015-06-12 12:57:21 -04:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>apache-log4j-extras</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.java.dev.jna</groupId>
|
|
|
|
<artifactId>jna</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2015-07-08 10:17:27 -04:00
|
|
|
|
|
|
|
<!-- Required by the REST test framework -->
|
|
|
|
<!-- TODO: remove this dependency when we will have a REST Test module -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2015-06-05 07:12:05 -04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<!-- typical layout for plugins -->
|
|
|
|
<build>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.properties</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
|
|
|
|
<testResources>
|
|
|
|
<testResource>
|
|
|
|
<directory>src/test/java</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.json</include>
|
|
|
|
<include>**/*.txt</include>
|
|
|
|
</includes>
|
|
|
|
</testResource>
|
|
|
|
<testResource>
|
|
|
|
<directory>src/test/resources</directory>
|
|
|
|
<excludes>
|
|
|
|
<exclude>elasticsearch.yml</exclude>
|
|
|
|
<exclude>**/*.properties</exclude>
|
|
|
|
</excludes>
|
|
|
|
</testResource>
|
|
|
|
<testResource>
|
|
|
|
<directory>src/test/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<includes>
|
|
|
|
<include>elasticsearch.yml</include>
|
|
|
|
<include>**/*.properties</include>
|
|
|
|
</includes>
|
|
|
|
</testResource>
|
2015-06-05 12:34:15 -04:00
|
|
|
<!-- REST API specification and test suites -->
|
|
|
|
<testResource>
|
|
|
|
<directory>${project.basedir}/rest-api-spec</directory>
|
|
|
|
<targetPath>rest-api-spec</targetPath>
|
|
|
|
<includes>
|
|
|
|
<include>api/*.json</include>
|
|
|
|
<include>test/**/*.yaml</include>
|
|
|
|
</includes>
|
|
|
|
</testResource>
|
|
|
|
<!-- REST API specifications copied from main Elasticsearch specs
|
|
|
|
because they are required to execute the REST tests in plugins -->
|
|
|
|
<testResource>
|
2015-06-18 10:05:42 -04:00
|
|
|
<directory>${elasticsearch.tools.directory}/rest-api-spec</directory>
|
2015-06-05 12:34:15 -04:00
|
|
|
<targetPath>rest-api-spec</targetPath>
|
|
|
|
<includes>
|
|
|
|
<!-- required by the test framework -->
|
|
|
|
<include>api/info.json</include>
|
|
|
|
<include>api/cluster.health.json</include>
|
2015-07-07 13:03:37 -04:00
|
|
|
<include>api/cluster.state.json</include>
|
2015-06-05 12:34:15 -04:00
|
|
|
<!-- used in plugin REST tests -->
|
|
|
|
<include>api/index.json</include>
|
2015-07-08 09:22:43 -04:00
|
|
|
<include>api/get.json</include>
|
|
|
|
<include>api/update.json</include>
|
2015-07-07 06:00:10 -04:00
|
|
|
<include>api/search.json</include>
|
2015-07-07 00:15:49 -04:00
|
|
|
<include>api/indices.analyze.json</include>
|
2015-07-07 06:00:10 -04:00
|
|
|
<include>api/indices.create.json</include>
|
2015-06-05 12:34:15 -04:00
|
|
|
<include>api/indices.refresh.json</include>
|
2015-07-07 13:03:37 -04:00
|
|
|
<include>api/nodes.info.json</include>
|
2015-06-05 12:34:15 -04:00
|
|
|
<include>api/count.json</include>
|
|
|
|
</includes>
|
|
|
|
</testResource>
|
2015-06-05 07:12:05 -04:00
|
|
|
<!-- shared test resources like log4j.properties -->
|
|
|
|
<testResource>
|
|
|
|
<directory>${elasticsearch.tools.directory}/shared-test-resources</directory>
|
|
|
|
<filtering>false</filtering>
|
|
|
|
</testResource>
|
|
|
|
</testResources>
|
|
|
|
|
2015-07-06 15:13:50 -04:00
|
|
|
<plugins>
|
|
|
|
<!-- integration tests -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<!-- start up external cluster -->
|
|
|
|
<execution>
|
|
|
|
<id>integ-setup</id>
|
|
|
|
<phase>pre-integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
2015-07-09 00:39:28 -04:00
|
|
|
<ant antfile="${elasticsearch.integ.antfile}"
|
2015-07-06 15:13:50 -04:00
|
|
|
target="start-external-cluster-with-plugin"/>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<!-- shut down external cluster -->
|
|
|
|
<execution>
|
|
|
|
<id>integ-teardown</id>
|
|
|
|
<phase>post-integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
2015-07-09 00:39:28 -04:00
|
|
|
<ant antfile="${elasticsearch.integ.antfile}"
|
2015-07-06 15:13:50 -04:00
|
|
|
target="stop-external-cluster"/>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<tests.cluster>127.0.0.1:9300</tests.cluster>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
|
2015-06-05 07:12:05 -04:00
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<appendAssemblyId>${elasticsearch.assembly.appendId}</appendAssemblyId>
|
|
|
|
<outputDirectory>${project.build.directory}/releases/</outputDirectory>
|
|
|
|
<descriptors>
|
|
|
|
<descriptor>${elasticsearch.assembly.descriptor}</descriptor>
|
|
|
|
</descriptors>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
|
2015-06-05 07:12:05 -04:00
|
|
|
<modules>
|
2015-06-05 07:12:09 -04:00
|
|
|
<module>analysis-kuromoji</module>
|
2015-06-05 07:12:14 -04:00
|
|
|
<module>analysis-smartcn</module>
|
2015-06-05 07:12:18 -04:00
|
|
|
<module>analysis-stempel</module>
|
2015-06-05 07:12:22 -04:00
|
|
|
<module>analysis-phonetic</module>
|
2015-06-05 07:12:26 -04:00
|
|
|
<module>analysis-icu</module>
|
2015-06-05 07:12:30 -04:00
|
|
|
<module>cloud-gce</module>
|
2015-06-05 07:12:34 -04:00
|
|
|
<module>cloud-azure</module>
|
2015-06-05 07:12:38 -04:00
|
|
|
<module>cloud-aws</module>
|
2015-06-09 09:17:23 -04:00
|
|
|
<module>lang-python</module>
|
2015-06-09 09:17:27 -04:00
|
|
|
<module>lang-javascript</module>
|
2015-06-05 12:34:15 -04:00
|
|
|
<module>delete-by-query</module>
|
2015-06-05 07:12:05 -04:00
|
|
|
</modules>
|
2015-06-05 07:12:05 -04:00
|
|
|
</project>
|