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 2009/05/22 21:26:15 UTC
svn commit: r777667 - /lucene/tika/trunk/tika-core/pom.xml
Author: jukka
Date: Fri May 22 19:26:15 2009
New Revision: 777667
URL: http://svn.apache.org/viewvc?rev=777667&view=rev
Log:
TIKA-228: Add OSGi metadata to Tika
Applied the patch contributed by Jeremias Maerki.
Modified:
lucene/tika/trunk/tika-core/pom.xml
Modified: lucene/tika/trunk/tika-core/pom.xml
URL: http://svn.apache.org/viewvc/lucene/tika/trunk/tika-core/pom.xml?rev=777667&r1=777666&r2=777667&view=diff
==============================================================================
--- lucene/tika/trunk/tika-core/pom.xml (original)
+++ lucene/tika/trunk/tika-core/pom.xml Fri May 22 19:26:15 2009
@@ -33,9 +33,9 @@
</parent>
<artifactId>tika-core</artifactId>
+ <packaging>bundle</packaging>
<name>Apache Tika core</name>
- <!-- Keep on a single line, see http://jira.codehaus.org/browse/MJAR-39 -->
- <description>Tika is a toolkit for detecting and extracting metadata and structured text content from various documents using existing parser libraries.</description>
+ <url>http://lucene.apache.org/tika/</url>
<dependencies>
<dependency>
@@ -61,5 +61,29 @@
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Export-Package>
+ org.apache.tika.*;version=${project.version}
+ </Export-Package>
+ <Import-Package>
+ org.apache.commons.io.*;version="[1.4,2.0)",
+ org.apache.commons.lang.*;version="[2.1,3.0)",
+ org.apache.commons.logging.*;version="[1.0.4,2.0)",
+ *
+ </Import-Package>
+ <Bundle-DocURL>${project.url}</Bundle-DocURL>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
</project>