incubator-opennlp-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject svn commit: r1160259 - /incubator/opennlp/trunk/opennlp-maxent/pom.xml
Date Mon, 22 Aug 2011 13:17:29 GMT
Author: joern
Date: Mon Aug 22 13:17:28 2011
New Revision: 1160259

URL: http://svn.apache.org/viewvc?rev=1160259&view=rev
Log:
OPENNLP-243 Now also generates an OSGi manifest file

Modified:
    incubator/opennlp/trunk/opennlp-maxent/pom.xml

Modified: incubator/opennlp/trunk/opennlp-maxent/pom.xml
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-maxent/pom.xml?rev=1160259&r1=1160258&r2=1160259&view=diff
==============================================================================
--- incubator/opennlp/trunk/opennlp-maxent/pom.xml (original)
+++ incubator/opennlp/trunk/opennlp-maxent/pom.xml Mon Aug 22 13:17:28 2011
@@ -30,7 +30,7 @@
     </parent>
   
 	<artifactId>opennlp-maxent</artifactId>
-	<packaging>jar</packaging>
+	<packaging>bundle</packaging>
 	<version>3.0.2-incubating-SNAPSHOT</version>
 	<name>OpenNLP Maxent</name>
 
@@ -48,6 +48,22 @@
 	<build>
 		<plugins>
 			<plugin>
+				<groupId>org.apache.felix</groupId>
+				<artifactId>maven-bundle-plugin</artifactId>
+				<extensions>true</extensions>
+				<configuration>
+					<instructions>
+					<Export-Package>
+						opennlp.maxent,
+						opennlp.maxent.io,
+						opennlp.model,
+						opennlp.perceptron
+					</Export-Package>
+					</instructions>
+				</configuration>
+			</plugin>
+      
+			<plugin>
 				<groupId>org.apache.rat</groupId>
 				<artifactId>apache-rat-plugin</artifactId>
 				<executions>



Mime
View raw message