226 lines
10 KiB
XML
226 lines
10 KiB
XML
<?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>
|
|
<artifactId>elasticsearch-parent</artifactId>
|
|
<version>2.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<groupId>org.elasticsearch</groupId>
|
|
<artifactId>elasticsearch-cloud-aws</artifactId>
|
|
<version>3.0.0-SNAPSHOT</version>
|
|
<packaging>jar</packaging>
|
|
<name>Elasticsearch AWS cloud plugin</name>
|
|
<description>The Amazon Web Service (AWS) Cloud plugin allows to use AWS API for the unicast discovery mechanism and add S3 repositories.</description>
|
|
<url>https://github.com/elasticsearch/elasticsearch-cloud-aws/</url>
|
|
<inceptionYear>2009</inceptionYear>
|
|
<licenses>
|
|
<license>
|
|
<name>The Apache Software License, Version 2.0</name>
|
|
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
<distribution>repo</distribution>
|
|
</license>
|
|
</licenses>
|
|
<scm>
|
|
<connection>scm:git:git@github.com:elasticsearch/elasticsearch-cloud-aws.git</connection>
|
|
<developerConnection>scm:git:git@github.com:elasticsearch/elasticsearch-cloud-aws.git</developerConnection>
|
|
<url>http://github.com/elasticsearch/elasticsearch-cloud-aws</url>
|
|
</scm>
|
|
|
|
<properties>
|
|
<amazonaws.version>1.9.8</amazonaws.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.hamcrest</groupId>
|
|
<artifactId>hamcrest-all</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.carrotsearch.randomizedtesting</groupId>
|
|
<artifactId>randomizedtesting-runner</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.lucene</groupId>
|
|
<artifactId>lucene-test-framework</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.elasticsearch</groupId>
|
|
<artifactId>elasticsearch</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.lucene</groupId>
|
|
<artifactId>lucene-core</artifactId>
|
|
<version>${lucene.maven.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- AWS SDK -->
|
|
<dependency>
|
|
<groupId>com.amazonaws</groupId>
|
|
<artifactId>aws-java-sdk-ec2</artifactId>
|
|
<version>${amazonaws.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.amazonaws</groupId>
|
|
<artifactId>aws-java-sdk-s3</artifactId>
|
|
<version>${amazonaws.version}</version>
|
|
</dependency>
|
|
|
|
<!-- We need to explicitly set the common codec version since aws-java-sdk pulls the wrong version -->
|
|
<!-- See https://github.com/elasticsearch/elasticsearch-cloud-aws/issues/29 -->
|
|
<dependency>
|
|
<groupId>commons-codec</groupId>
|
|
<artifactId>commons-codec</artifactId>
|
|
<version>1.4</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.elasticsearch</groupId>
|
|
<artifactId>elasticsearch</artifactId>
|
|
<type>test-jar</type>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.carrotsearch.randomizedtesting</groupId>
|
|
<artifactId>junit4-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>tests</id>
|
|
<phase>test</phase>
|
|
<goals>
|
|
<goal>junit4</goal>
|
|
</goals>
|
|
<configuration>
|
|
<heartbeat>20</heartbeat>
|
|
<jvmOutputAction>pipe,warn</jvmOutputAction>
|
|
<leaveTemporary>true</leaveTemporary>
|
|
<listeners>
|
|
<report-ant-xml mavenExtensions="true"
|
|
dir="${project.build.directory}/surefire-reports"/>
|
|
<report-text
|
|
showThrowable="true"
|
|
showStackTraces="true"
|
|
showOutput="${tests.output}"
|
|
showStatusOk="false"
|
|
showStatusError="true"
|
|
showStatusFailure="true"
|
|
showStatusIgnored="true"
|
|
showSuiteSummary="true"
|
|
timestamps="false"/>
|
|
<report-execution-times file="${basedir}/.local-execution-hints.log"/>
|
|
</listeners>
|
|
<assertions>
|
|
<enable/>
|
|
</assertions>
|
|
<parallelism>1</parallelism>
|
|
<balancers>
|
|
<execution-times>
|
|
<fileset dir="${basedir}" includes=".local-execution-hints.log"/>
|
|
</execution-times>
|
|
</balancers>
|
|
<includes>
|
|
<include>**/*Tests.class</include>
|
|
<include>**/*Test.class</include>
|
|
</includes>
|
|
<excludes>
|
|
<exclude>**/Abstract*.class</exclude>
|
|
<exclude>**/*StressTest.class</exclude>
|
|
</excludes>
|
|
<argLine>
|
|
${tests.jvm.argline}
|
|
</argLine>
|
|
<jvmArgs>
|
|
<param>-Xmx512m</param>
|
|
<param>-Xss256k</param>
|
|
<param>-XX:MaxDirectMemorySize=512m</param>
|
|
<param>-Des.logger.prefix=</param>
|
|
</jvmArgs>
|
|
<shuffleOnSlave>${tests.shuffle}</shuffleOnSlave>
|
|
<sysouts>${tests.verbose}</sysouts>
|
|
<seed>${tests.seed}</seed>
|
|
<haltOnFailure>${tests.failfast}</haltOnFailure>
|
|
<systemProperties>
|
|
<!-- RandomizedTesting library system properties -->
|
|
<tests.jvm.argline>${tests.jvm.argline}</tests.jvm.argline>
|
|
<tests.iters>${tests.iters}</tests.iters>
|
|
<tests.maxfailures>${tests.maxfailures}</tests.maxfailures>
|
|
<tests.failfast>${tests.failfast}</tests.failfast>
|
|
<tests.class>${tests.class}</tests.class>
|
|
<tests.method>${tests.method}</tests.method>
|
|
<tests.nightly>${tests.nightly}</tests.nightly>
|
|
<tests.badapples>${tests.badapples}</tests.badapples>
|
|
<tests.weekly>${tests.weekly}</tests.weekly>
|
|
<tests.slow>${tests.slow}</tests.slow>
|
|
<tests.aws>${tests.aws}</tests.aws>
|
|
<tests.config>${tests.config}</tests.config>
|
|
<tests.awaitsfix>${tests.awaitsfix}</tests.awaitsfix>
|
|
<tests.slow>${tests.slow}</tests.slow>
|
|
<tests.timeoutSuite>${tests.timeoutSuite}</tests.timeoutSuite>
|
|
<tests.showSuccess>${tests.showSuccess}</tests.showSuccess>
|
|
<tests.integration>${tests.integration}</tests.integration>
|
|
<tests.cluster_seed>${tests.cluster_seed}</tests.cluster_seed>
|
|
<tests.client.ratio>${tests.client.ratio}</tests.client.ratio>
|
|
<es.logger.level>${es.logger.level}</es.logger.level>
|
|
<java.awt.headless>true</java.awt.headless>
|
|
</systemProperties>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
</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>${basedir}/src/main/assemblies/plugin.xml</descriptor>
|
|
</descriptors>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|