2015-08-07 07:57:30 -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>
|
2015-08-10 08:01:26 -04:00
|
|
|
<groupId>org.elasticsearch.qa</groupId>
|
2015-08-07 07:57:30 -04:00
|
|
|
<artifactId>x-plugins-qa</artifactId>
|
2015-08-17 07:44:33 -04:00
|
|
|
<version>2.1.0-SNAPSHOT</version>
|
2015-08-07 07:57:30 -04:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
This test unzips elasticsearch, installs each plugin,
|
|
|
|
starts elasticsearch, verifies loaded plugin count.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<artifactId>smoke-test-x-plugins</artifactId>
|
|
|
|
<name>QA: Smoke Test X-Plugins</name>
|
|
|
|
<description>Loads up all of our commercial and open-source plugins</description>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<skip.unit.tests>true</skip.unit.tests>
|
|
|
|
<elasticsearch.integ.antfile>${project.basedir}/integration-tests.xml</elasticsearch.integ.antfile>
|
|
|
|
<tests.rest.suite>smoke_test_plugins</tests.rest.suite>
|
|
|
|
<tests.rest.load_packaged>false</tests.rest.load_packaged>
|
2015-08-18 11:29:09 -04:00
|
|
|
<xplugins.list>license,marvel,shield,watcher</xplugins.list>
|
2015-08-07 07:57:30 -04:00
|
|
|
</properties>
|
|
|
|
|
2015-08-11 04:23:46 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.elasticsearch.plugin</groupId>
|
2015-08-17 13:47:10 -04:00
|
|
|
<artifactId>shield</artifactId>
|
2015-08-12 14:55:26 -04:00
|
|
|
<version>${elasticsearch.version}</version>
|
2015-08-11 04:23:46 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
2015-08-07 07:57:30 -04:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>integ-setup-dependencies</id>
|
|
|
|
<phase>pre-integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<skip>${skip.integ.tests}</skip>
|
|
|
|
<useBaseVersion>true</useBaseVersion>
|
|
|
|
<outputDirectory>${integ.deps}/plugins</outputDirectory>
|
|
|
|
|
|
|
|
<artifactItems>
|
|
|
|
<!-- elasticsearch distribution -->
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.elasticsearch.distribution.zip</groupId>
|
|
|
|
<artifactId>elasticsearch</artifactId>
|
|
|
|
<version>${elasticsearch.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
<outputDirectory>${integ.deps}</outputDirectory>
|
|
|
|
</artifactItem>
|
|
|
|
|
|
|
|
<!-- commercial plugins -->
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.elasticsearch.plugin</groupId>
|
2015-08-17 13:47:10 -04:00
|
|
|
<artifactId>license</artifactId>
|
2015-08-07 07:57:30 -04:00
|
|
|
<version>${elasticsearch.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
</artifactItem>
|
|
|
|
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.elasticsearch.plugin</groupId>
|
2015-08-17 13:47:10 -04:00
|
|
|
<artifactId>watcher</artifactId>
|
2015-08-07 07:57:30 -04:00
|
|
|
<version>${elasticsearch.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
</artifactItem>
|
|
|
|
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.elasticsearch.plugin</groupId>
|
2015-08-17 13:47:10 -04:00
|
|
|
<artifactId>shield</artifactId>
|
2015-08-07 07:57:30 -04:00
|
|
|
<version>${elasticsearch.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<overWrite>true</overWrite>
|
2015-08-11 04:23:46 -04:00
|
|
|
</artifactItem>
|
2015-08-07 07:57:30 -04:00
|
|
|
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.elasticsearch.plugin</groupId>
|
2015-08-17 13:47:10 -04:00
|
|
|
<artifactId>marvel</artifactId>
|
2015-08-07 07:57:30 -04:00
|
|
|
<version>${elasticsearch.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
</artifactItem>
|
|
|
|
|
|
|
|
<!-- open-source plugins -->
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.elasticsearch.plugin</groupId>
|
2015-08-17 13:47:10 -04:00
|
|
|
<artifactId>analysis-kuromoji</artifactId>
|
2015-08-07 07:57:30 -04:00
|
|
|
<version>${elasticsearch.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
</artifactItem>
|
|
|
|
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.elasticsearch.plugin</groupId>
|
2015-08-17 13:47:10 -04:00
|
|
|
<artifactId>analysis-smartcn</artifactId>
|
2015-08-07 07:57:30 -04:00
|
|
|
<version>${elasticsearch.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
</artifactItem>
|
|
|
|
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.elasticsearch.plugin</groupId>
|
2015-08-17 13:47:10 -04:00
|
|
|
<artifactId>analysis-stempel</artifactId>
|
2015-08-07 07:57:30 -04:00
|
|
|
<version>${elasticsearch.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
</artifactItem>
|
|
|
|
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.elasticsearch.plugin</groupId>
|
2015-08-17 13:47:10 -04:00
|
|
|
<artifactId>analysis-phonetic</artifactId>
|
2015-08-07 07:57:30 -04:00
|
|
|
<version>${elasticsearch.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
</artifactItem>
|
|
|
|
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.elasticsearch.plugin</groupId>
|
2015-08-17 13:47:10 -04:00
|
|
|
<artifactId>analysis-icu</artifactId>
|
2015-08-07 07:57:30 -04:00
|
|
|
<version>${elasticsearch.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
</artifactItem>
|
|
|
|
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.elasticsearch.plugin</groupId>
|
2015-08-17 13:47:10 -04:00
|
|
|
<artifactId>cloud-gce</artifactId>
|
2015-08-07 07:57:30 -04:00
|
|
|
<version>${elasticsearch.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
</artifactItem>
|
|
|
|
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.elasticsearch.plugin</groupId>
|
2015-08-17 13:47:10 -04:00
|
|
|
<artifactId>cloud-azure</artifactId>
|
2015-08-07 07:57:30 -04:00
|
|
|
<version>${elasticsearch.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
</artifactItem>
|
|
|
|
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.elasticsearch.plugin</groupId>
|
2015-08-17 13:47:10 -04:00
|
|
|
<artifactId>cloud-aws</artifactId>
|
2015-08-07 07:57:30 -04:00
|
|
|
<version>${elasticsearch.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
</artifactItem>
|
|
|
|
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.elasticsearch.plugin</groupId>
|
2015-08-17 13:47:10 -04:00
|
|
|
<artifactId>delete-by-query</artifactId>
|
2015-08-07 07:57:30 -04:00
|
|
|
<version>${elasticsearch.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
</artifactItem>
|
|
|
|
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.elasticsearch.plugin</groupId>
|
2015-08-17 13:47:10 -04:00
|
|
|
<artifactId>lang-python</artifactId>
|
2015-08-07 07:57:30 -04:00
|
|
|
<version>${elasticsearch.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
</artifactItem>
|
|
|
|
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.elasticsearch.plugin</groupId>
|
2015-08-17 13:47:10 -04:00
|
|
|
<artifactId>lang-javascript</artifactId>
|
2015-08-07 07:57:30 -04:00
|
|
|
<version>${elasticsearch.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
</artifactItem>
|
|
|
|
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.elasticsearch.plugin</groupId>
|
2015-08-17 13:47:10 -04:00
|
|
|
<artifactId>mapper-size</artifactId>
|
2015-08-07 07:57:30 -04:00
|
|
|
<version>${elasticsearch.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
</artifactItem>
|
|
|
|
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.elasticsearch.plugin</groupId>
|
2015-08-17 13:47:10 -04:00
|
|
|
<artifactId>site-example</artifactId>
|
2015-08-07 07:57:30 -04:00
|
|
|
<version>${elasticsearch.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
</artifactItem>
|
|
|
|
|
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<!-- 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>
|
|
|
|
<ant antfile="${elasticsearch.integ.antfile}" target="start-external-cluster-with-plugins">
|
|
|
|
<property name="tests.jvm.argline" value="${tests.jvm.argline}"/>
|
|
|
|
<property name="plugins.dir" value="${plugins.dir}"/>
|
|
|
|
<property name="xplugins.list" value="${xplugins.list}"/>
|
|
|
|
</ant>
|
|
|
|
</target>
|
|
|
|
<skip>${skip.integ.tests}</skip>
|
|
|
|
</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>
|
|
|
|
<skip>${skip.integ.tests}</skip>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ant-contrib</groupId>
|
|
|
|
<artifactId>ant-contrib</artifactId>
|
|
|
|
<version>1.0b3</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>ant</groupId>
|
|
|
|
<artifactId>ant</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.ant</groupId>
|
|
|
|
<artifactId>ant-nodeps</artifactId>
|
|
|
|
<version>1.8.1</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|