directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r782976 - /directory/sandbox/slp/pom.xml
Date Tue, 09 Jun 2009 12:31:07 GMT
Author: rjan
Date: Tue Jun  9 12:31:07 2009
New Revision: 782976

URL: http://svn.apache.org/viewvc?rev=782976&view=rev
Log:
turned the build into a bundle again.

Modified:
    directory/sandbox/slp/pom.xml

Modified: directory/sandbox/slp/pom.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/slp/pom.xml?rev=782976&r1=782975&r2=782976&view=diff
==============================================================================
--- directory/sandbox/slp/pom.xml (original)
+++ directory/sandbox/slp/pom.xml Tue Jun  9 12:31:07 2009
@@ -32,7 +32,7 @@
 	<name>SLP</name>
 	<version>0.1.0-SNAPSHOT</version>
 
-	<packaging>jar</packaging>
+	<packaging>bundle</packaging>
 
 	<dependencies>
 		<dependency>
@@ -65,6 +65,27 @@
 		</dependency>
 	</dependencies>
 
+	<build>
+		<plugins>
+			<!-- http://felix.apache.org/site/maven-bundle-plugin-bnd.html -->
+			<plugin>
+				<groupId>org.apache.felix</groupId>
+				<artifactId>maven-bundle-plugin</artifactId>
+				<extensions>true</extensions>
+				<configuration>
+					<instructions>
+						<Include-Resource>{maven-resources},
+							{maven-dependencies}, target/classes</Include-Resource>
+						<Bundle-Version>${pom.version}</Bundle-Version>
+						<Bundle-Name>${pom.groupId}.${pom.artifactId}
+						</Bundle-Name>
+						<Export-Package> org.apache.directory.slp</Export-Package>
+					</instructions>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+
 	<repositories>
 		<repository>
 			<id>iks-repository</id>



Mime
View raw message