From ab62912c3862047c531d8005a852c73808e01b19 Mon Sep 17 00:00:00 2001
From: Robert Munteanu <rombert@apache.org>
Date: Wed, 1 Mar 2017 15:02:28 +0200
Subject: [PATCH] OAK-5867 - Oak Lucene depends on 'org.junit' OSGi package

Be more precise about that classes from oak-core are inlined, otherwise
test classes will be pulled in and generate unneeded imports.

The test classes are probably pulled in via a reactor build.
---
 oak-lucene/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/oak-lucene/pom.xml b/oak-lucene/pom.xml
index fdea0c04d0..9594a4392c 100644
--- a/oak-lucene/pom.xml
+++ b/oak-lucene/pom.xml
@@ -126,7 +126,7 @@
             <Embed-Dependency>
                 lucene-*;inline=true,
               <!-- TODO FIXME OAK-3598 -->
-              oak-core;inline="org/apache/jackrabbit/oak/cache/CacheStats*"
+              oak-core;inline="org/apache/jackrabbit/oak/cache/CacheStats.class"
               <!-- TODO FIXME OAK-3598 -->
             </Embed-Dependency>
           </instructions>
-- 
2.11.1

