You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ju...@apache.org on 2011/08/15 23:23:36 UTC
svn commit: r1158018 - /tika/trunk/tika-core/pom.xml
Author: jukka
Date: Mon Aug 15 21:23:36 2011
New Revision: 1158018
URL: http://svn.apache.org/viewvc?rev=1158018&view=rev
Log:
TIKA-565: Improved OSGi bundling
Patch by Jeremias Maerki
Modified:
tika/trunk/tika-core/pom.xml
Modified: tika/trunk/tika-core/pom.xml
URL: http://svn.apache.org/viewvc/tika/trunk/tika-core/pom.xml?rev=1158018&r1=1158017&r2=1158018&view=diff
==============================================================================
--- tika/trunk/tika-core/pom.xml (original)
+++ tika/trunk/tika-core/pom.xml Mon Aug 15 21:23:36 2011
@@ -60,11 +60,18 @@
<extensions>true</extensions>
<configuration>
<instructions>
- <Import-Package>*</Import-Package>
<Bundle-DocURL>${project.url}</Bundle-DocURL>
<Bundle-Activator>
org.apache.tika.config.TikaActivator
</Bundle-Activator>
+ <Export-Package>
+ org.apache.tika.*;version=${project.version},
+ </Export-Package>
+ <Import-Package>
+ org.apache.tika.*;version=${project.version},
+ org.osgi.framework;version="[1.4,2)",
+ *
+ </Import-Package>
</instructions>
</configuration>
</plugin>