Author: jbonofre
Date: Fri Jun 28 13:35:18 2013
New Revision: 1497768

URL: http://svn.apache.org/r1497768
Log:
[SMX4-1490] Fix lucene-analyzers-common bundle 4.0.0 to avoid to export package 
provided by lucene-core

Modified:
    servicemix/smx4/bundles/trunk/lucene-analyzers-common-4.0.0/pom.xml

Modified: servicemix/smx4/bundles/trunk/lucene-analyzers-common-4.0.0/pom.xml
URL: 
http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/lucene-analyzers-common-4.0.0/pom.xml?rev=1497768&r1=1497767&r2=1497768&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/lucene-analyzers-common-4.0.0/pom.xml 
(original)
+++ servicemix/smx4/bundles/trunk/lucene-analyzers-common-4.0.0/pom.xml Fri Jun 
28 13:35:18 2013
@@ -39,21 +39,24 @@
         <pkgGroupId>org.apache.lucene</pkgGroupId>
         <pkgArtifactId>lucene-analyzers-common</pkgArtifactId>
         <pkgVersion>4.0.0</pkgVersion>
-        <servicemix.osgi.export.pkg>
-            org.apache.lucene.analysis
-        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.export>
+            !org.apache.lucene.analysis,
+            !org.apache.lucene.analysis.tokenattributes,
+            
org.apache.lucene.analysis*;version=${pkgVersion};-split-package:=merge-first,
+            org.tartarus.snowball*;-split-package:=merge-first
+        </servicemix.osgi.export>
         <servicemix.osgi.import.pkg>
             javax.xml.parsers,
+            org.apache.lucene.analysis,
+            org.apache.lucene.analysis.tokenattributes,
             org.apache.lucene.index,
             org.apache.lucene.store,
             org.apache.lucene.util,
+            org.apache.lucene.util.automaton,
             org.apache.lucene.util.fst,
             org.xml.sax,
             org.xml.sax.helpers
         </servicemix.osgi.import.pkg>
-        <servicemix.osgi.private.pkg>
-            org.tartarus.snowball*
-        </servicemix.osgi.private.pkg>
         <servicemix.osgi.embed.dependency>
             *;inline=META-INF/services/*
         </servicemix.osgi.embed.dependency>


Reply via email to