2015-06-03 04:39:31 -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.distribution</groupId>
|
|
|
|
<artifactId>elasticsearch-distribution</artifactId>
|
2015-08-04 15:38:21 -04:00
|
|
|
<version>2.0.0-beta1-SNAPSHOT</version>
|
2015-06-03 04:39:31 -04:00
|
|
|
</parent>
|
|
|
|
|
2015-08-04 06:30:39 -04:00
|
|
|
<groupId>org.elasticsearch.distribution.tar</groupId>
|
|
|
|
<artifactId>elasticsearch</artifactId>
|
2015-06-03 04:39:31 -04:00
|
|
|
<name>Elasticsearch TAR Distribution</name>
|
2015-08-04 06:30:39 -04:00
|
|
|
<!--
|
|
|
|
We should use pom packaging here because we don't want to publish any jar.
|
|
|
|
But if you do this, then maven lifecycle does not execute any test (nor compile any test)
|
|
|
|
-->
|
|
|
|
<!--packaging>pom</packaging-->
|
2015-08-10 08:18:39 -04:00
|
|
|
<description>The TAR distribution of Elasticsearch</description>
|
2015-06-03 04:39:31 -04:00
|
|
|
|
2015-08-01 14:02:14 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2015-08-04 06:30:39 -04:00
|
|
|
<groupId>org.elasticsearch.distribution.fully-loaded</groupId>
|
|
|
|
<artifactId>elasticsearch</artifactId>
|
2015-08-01 14:02:14 -04:00
|
|
|
<version>${elasticsearch.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
2015-06-03 04:39:31 -04:00
|
|
|
<build>
|
|
|
|
<filters>
|
|
|
|
<filter>${project.basedir}/../src/main/packaging/packaging.properties</filter>
|
|
|
|
</filters>
|
|
|
|
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
|
|
<outputDirectory>${project.build.directory}/releases/</outputDirectory>
|
|
|
|
<descriptors>
|
|
|
|
<descriptor>${project.basedir}/src/main/assemblies/targz-bin.xml</descriptor>
|
|
|
|
</descriptors>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
2015-07-29 15:33:29 -04:00
|
|
|
<!-- integration tests -->
|
|
|
|
<!-- start up external cluster -->
|
|
|
|
<execution>
|
|
|
|
<id>integ-setup</id>
|
|
|
|
<phase>pre-integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2015-07-29 21:34:46 -04:00
|
|
|
<skip>${skip.integ.tests}</skip>
|
2015-07-29 15:33:29 -04:00
|
|
|
<target>
|
2015-08-06 14:48:27 -04:00
|
|
|
<ant antfile="${elasticsearch.integ.antfile}" target="start-external-cluster-tar">
|
|
|
|
<property name="tests.jvm.argline" value="${tests.jvm.argline}"/>
|
|
|
|
</ant>
|
2015-07-29 15:33:29 -04:00
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<!-- shut down external cluster -->
|
|
|
|
<execution>
|
|
|
|
<id>integ-teardown</id>
|
|
|
|
<phase>post-integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2015-07-29 21:34:46 -04:00
|
|
|
<skip>${skip.integ.tests}</skip>
|
2015-07-29 15:33:29 -04:00
|
|
|
<target>
|
|
|
|
<ant antfile="${elasticsearch.integ.antfile}" target="stop-external-cluster"/>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2015-06-03 04:39:31 -04:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|