Package test-framework as individual jar

This commit causes all classes under 'org.elasticsearch.test.*'
to be included in a 'elasticsearch-${version}-test.jar' that can be
inclued by 3rd party projects or plugins via:

```
 <dependency>
    <groupId>org.elasticsearch</groupId>
    <artifactId>elasticsearch</artifactId>
    <version>${elasticsearch.version}</version>
    <type>test-jar</type>
    <scope>test</scope>
 </dependency>
```
This commit is contained in:
Simon Willnauer 2013-11-08 10:51:26 +01:00
parent 97bdc8f9c2
commit a824f69d21
1 changed files with 17 additions and 0 deletions

17
pom.xml
View File

@ -975,6 +975,23 @@
</arguments>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.2</version>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
<configuration>
<includes>
<include>org/elasticsearch/test/**/*</include>
</includes>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>