From 3e0353ffabe635d30d1713d5ddf0134a9272d729 Mon Sep 17 00:00:00 2001
From: Uwe Schindler <uschindler@apache.org>
Date: Sat, 22 Feb 2014 21:14:38 +0000
Subject: [PATCH] SOLR-5764: Add workaround to make Maven work (shared
 test-files does not seem to be included when the test-jar dependency is
 resolved).

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1570928 13f79535-47bb-0310-9956-ffa450edef68
---
 dev-tools/maven/solr/contrib/map-reduce/pom.xml.template     | 5 +++++
 .../maven/solr/contrib/morphlines-cell/pom.xml.template      | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/dev-tools/maven/solr/contrib/map-reduce/pom.xml.template b/dev-tools/maven/solr/contrib/map-reduce/pom.xml.template
index b45f0732cbf..6875ba2c652 100644
--- a/dev-tools/maven/solr/contrib/map-reduce/pom.xml.template
+++ b/dev-tools/maven/solr/contrib/map-reduce/pom.xml.template
@@ -74,6 +74,11 @@
       <testResource>
         <directory>${module-path}/src/test-files</directory>
       </testResource>
+      <testResource>
+        <!-- TODO: This is a hack, because the shared test-files folder seems not to be
+          included by the dependency, maybe because the dependency test-jar is not unpacked? -->
+        <directory>${module-path}/../morphlines-core/src/test-files</directory>
+      </testResource>
       <testResource>
         <directory>${top-level}/dev-tools/maven/solr</directory>
         <includes>
diff --git a/dev-tools/maven/solr/contrib/morphlines-cell/pom.xml.template b/dev-tools/maven/solr/contrib/morphlines-cell/pom.xml.template
index 9bf9588e590..f8a50c3a208 100644
--- a/dev-tools/maven/solr/contrib/morphlines-cell/pom.xml.template
+++ b/dev-tools/maven/solr/contrib/morphlines-cell/pom.xml.template
@@ -74,6 +74,11 @@
       <testResource>
         <directory>${module-path}/src/test-files</directory>
       </testResource>
+      <testResource>
+        <!-- TODO: This is a hack, because the shared test-files folder seems not to be
+          included by the dependency, maybe because the dependency test-jar is not unpacked? -->
+        <directory>${module-path}/../morphlines-core/src/test-files</directory>
+      </testResource>
       <testResource>
         <directory>${top-level}/dev-tools/maven/solr</directory>
         <includes>