shared
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.elasticsearch.qa.backwards</groupId>
<artifactId>shared</artifactId>
<version>2.4.6</version>
</dependency><?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">
<parent>
<groupId>org.elasticsearch.qa.backwards</groupId>
<artifactId>parent</artifactId>
<version>2.4.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>shared</artifactId>
<name>QA: BWC: Shared</name>
<description>Code and tools shared by backwards compatibility tests</description>
<properties>
<!-- The tests in this project are meant to be used by the backwards
compatibility tests for each version. -->
<skipTests>true</skipTests>
</properties>
<dependencies>
<dependency>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch</artifactId>
<type>test-jar</type>
</dependency>
<dependency>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch</artifactId>
</dependency>
<dependency>
<groupId>org.elasticsearch.module</groupId>
<artifactId>reindex</artifactId>
<version>${project.version}</version>
</dependency>
<!-- These are automatically a dependency with test scope - but we need
them in compile scope. -->
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-test-framework</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<scope>compile</scope>
</dependency>
</dependencies>
<build>
<testResources>
<testResource>
<directory>src/test/resources</directory>
</testResource>
<!-- shared test resources like log4j.properties -->
<testResource>
<directory>${elasticsearch.tools.directory}/shared-test-resources</directory>
<filtering>false</filtering>
</testResource>
</testResources>
</build>
<profiles>
<profile>
<id>kill</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.4.0</version>
<executions>
<execution>
<id>kill-all-backwards-nodes</id>
<goals>
<goal>java</goal>
</goals>
<phase>test</phase>
<configuration>
<mainClass>org.elasticsearch.test.ExternalNodeService</mainClass>
<arguments>
<argument>kill</argument>
</arguments>
<!-- Use the test scope to pick up log4j configuration -->
<classpathScope>test</classpathScope>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>