Hi,I just noticed this. It's a way of telling maven via a plugin to set up the manifest for OSGi.
It might be only usable for maven 2 though... Craig Begin forwarded message:
From: [EMAIL PROTECTED] Date: October 31, 2007 8:45:12 AM PDT To: [EMAIL PROTECTED] Subject: svn commit: r590722 - /incubator/sanselan/trunk/pom.xml Reply-To: [EMAIL PROTECTED] Author: cziegeler Date: Wed Oct 31 08:45:11 2007 New Revision: 590722 URL: http://svn.apache.org/viewvc?rev=590722&view=rev Log:Add bundle plugin to directly provide a jar usable in an OSGi environment.Modified: incubator/sanselan/trunk/pom.xml Modified: incubator/sanselan/trunk/pom.xmlURL: http://svn.apache.org/viewvc/incubator/sanselan/trunk/pom.xml? rev=590722&r1=590721&r2=590722&view=diff ====================================================================== ========--- incubator/sanselan/trunk/pom.xml (original) +++ incubator/sanselan/trunk/pom.xml Wed Oct 31 08:45:11 2007 @@ -36,9 +36,9 @@ <artifactId>sanselan</artifactId> <name>Apache Sanselan</name> - <packaging>jar</packaging> <version>0.87-incubator-SNAPSHOT</version> - + <packaging>bundle</packaging> + <!--Keep the description on a single line. Otherwise Maven might generate a corrupted MANIFEST.MF (see http://jira.codehaus.org/browse/ MJAR-4)@@ -74,6 +74,20 @@ <source>1.4</source> </configuration> </plugin> + <!-- Add manifest entries for OSGi environments --> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <version>1.0.0</version> + <extensions>true</extensions> + <configuration> + <instructions>+ <Bundle-SymbolicName>${pom.groupId}.${pom.artifactId}</ Bundle-SymbolicName>+ <Export-Package>org.apache.sanselan.*</Export-Package>+ <DynamicImport- Package>sun.misc,edu.stanford.ejalbert,net.n3.nanoxml,uk.co.wilson.xml </DynamicImport-Package>+ </instructions> + </configuration> + </plugin> </plugins> </build> @@ -81,7 +95,7 @@ <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> - <version>3.8.1</version> + <version>3.8.2</version> <scope>test</scope> </dependency> </dependencies>
Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp!
smime.p7s
Description: S/MIME cryptographic signature
