2015-08-11 12:03:07 -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.qa</groupId>
|
|
|
|
<artifactId>x-plugins-qa</artifactId>
|
2015-08-17 07:44:33 -04:00
|
|
|
<version>2.1.0-SNAPSHOT</version>
|
2015-08-11 12:03:07 -04:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
This test unzips elasticsearch, installs each plugin,
|
|
|
|
starts elasticsearch, verifies loaded plugin count.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<artifactId>smoke-test-x-plugins-ssl</artifactId>
|
|
|
|
<name>QA: Smoke Test X-Plugins</name>
|
|
|
|
<description>Loads up all of our commercial and open-source plugins with ssl enabled</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_ssl</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-11 12:03:07 -04:00
|
|
|
<ssl.antfile>${project.basedir}/ssl-setup.xml</ssl.antfile>
|
|
|
|
<keystore.path>${project.build.outputDirectory}/test-node.jks</keystore.path>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<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 12:03:07 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<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-11 12:03:07 -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-11 12:03:07 -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-11 12:03:07 -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>marvel</artifactId>
|
2015-08-11 12:03:07 -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-11 12:03:07 -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-11 12:03:07 -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-11 12:03:07 -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-11 12:03:07 -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-11 12:03:07 -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-11 12:03:07 -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-11 12:03:07 -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-11 12:03:07 -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-11 12:03:07 -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-11 12:03:07 -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-11 12:03:07 -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-11 12:03:07 -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-11 12:03:07 -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>
|
|
|
|
<!-- generate certificates/keys -->
|
|
|
|
<execution>
|
|
|
|
<id>certificate-setup</id>
|
|
|
|
<phase>generate-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
|
|
|
<ant antfile="${ssl.antfile}" target="generate-keystore">
|
|
|
|
</ant>
|
|
|
|
</target>
|
|
|
|
<skip>${skip.integ.tests}</skip>
|
|
|
|
</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-with-plugins">
|
|
|
|
<property name="tests.jvm.argline" value="${tests.jvm.argline}"/>
|
|
|
|
<property name="plugins.dir" value="${plugins.dir}"/>
|
|
|
|
</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>
|