Skip to content

Apache Lucene open-source search software

LUCENE-3690: Maven configuration: Added test resources solr/core/src/test/**/* (except *.java) to the solr-core module, to allow LegacyHTMLStripCharFilterTest to find its test resource htmlStripReaderTest.html. (Jenkins builds were failing because of this.)

Steven Roweedd8b91895f9
diff --git a/dev-tools/maven/solr/core/pom.xml.template b/dev-tools/maven/solr/core/pom.xml.template
index 75bf2bef1b7..894a5a79204 100644
--- a/dev-tools/maven/solr/core/pom.xml.template
+++ b/dev-tools/maven/solr/core/pom.xml.template
@@ -202,6 +202,12 @@
<testResource>
<directory>src/test-files</directory>
</testResource>
+ <testResource>
+ <directory>${project.build.testSourceDirectory}</directory>
+ <excludes>
+ <exclude>**/*.java</exclude>
+ </excludes>
+ </testResource>
<testResource>
<directory>../solrj/src/test-files</directory>
</testResource>