Apache Solr open-source search software
LUCENE-6997: Maven config: build a spatial module test-jar, and add a test dependency on it to the sandbox module
Steve Rowe8e0f7ff7bbe2
diff --git a/dev-tools/maven/lucene/sandbox/pom.xml.template b/dev-tools/maven/lucene/sandbox/pom.xml.templateindex baa8a3c04db..d357c6465e4 100644--- a/dev-tools/maven/lucene/sandbox/pom.xml.template+++ b/dev-tools/maven/lucene/sandbox/pom.xml.template@@ -48,6 +48,13 @@<artifactId>lucene-test-framework</artifactId><scope>test</scope></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.external.dependencies@@lucene-sandbox.internal.test.dependencies@diff --git a/dev-tools/maven/lucene/spatial/pom.xml.template b/dev-tools/maven/lucene/spatial/pom.xml.templateindex 0b1e96a6b00..d4c5cd2b0b4 100644--- a/dev-tools/maven/lucene/spatial/pom.xml.template+++ b/dev-tools/maven/lucene/spatial/pom.xml.template@@ -58,5 +58,18 @@<directory>${module-path}/src/test-files</directory></testResource></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></project>