LUCENE-6997: Maven config: build a spatial module test-jar, and add a test dependency on it to the sandbox module

This commit is contained in:
Steve Rowe 2016-02-11 06:21:18 -08:00
parent f6098148ae
commit 8e0f7ff7bb
2 changed files with 20 additions and 0 deletions

View File

@ -48,6 +48,13 @@
<artifactId>lucene-test-framework</artifactId> <artifactId>lucene-test-framework</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-spatial</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
@lucene-sandbox.internal.dependencies@ @lucene-sandbox.internal.dependencies@
@lucene-sandbox.external.dependencies@ @lucene-sandbox.external.dependencies@
@lucene-sandbox.internal.test.dependencies@ @lucene-sandbox.internal.test.dependencies@

View File

@ -58,5 +58,18 @@
<directory>${module-path}/src/test-files</directory> <directory>${module-path}/src/test-files</directory>
</testResource> </testResource>
</testResources> </testResources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build> </build>
</project> </project>