james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r667160 - /james/mime4j/trunk/pom.xml
Date Thu, 12 Jun 2008 17:02:22 GMT
Author: rdonkin
Date: Thu Jun 12 10:02:21 2008
New Revision: 667160

URL: http://svn.apache.org/viewvc?rev=667160&view=rev
Log:
Support for OSGI

Modified:
    james/mime4j/trunk/pom.xml

Modified: james/mime4j/trunk/pom.xml
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/pom.xml?rev=667160&r1=667159&r2=667160&view=diff
==============================================================================
--- james/mime4j/trunk/pom.xml (original)
+++ james/mime4j/trunk/pom.xml Thu Jun 12 10:02:21 2008
@@ -99,6 +99,7 @@
         <version>2.1</version>
         <configuration>
           <archive>
+          <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
             <manifestEntries>
               <Specification-Title>Apache Mime4j</Specification-Title>
               <Specification-Version>${pom.version}</Specification-Version>
@@ -191,6 +192,27 @@
         <artifactId>maven-javadoc-plugin</artifactId>
       </plugin>
       -->
+      <plugin>
+      	<groupId>org.apache.felix</groupId>
+      	<artifactId>maven-bundle-plugin</artifactId>
+      	<version>1.4.1</version>
+      	<executions>
+      		<execution>
+      			<id>bundle-manifest</id>
+      			<phase>process-classes</phase>
+      			<goals>
+      				<goal>manifest</goal>
+      			</goals>
+      		</execution>
+      	</executions>
+      	<extensions>true</extensions>
+      	<configuration>
+      		<instructions>
+      			<Export-Package>org.apache.james.mime4j.*</Export-Package>
+      			<Embed-Dependency>*;scope=runtime</Embed-Dependency>
+      		</instructions>
+      	</configuration>
+      </plugin>
     </plugins>
   </build>
   <repositories>



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message