You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2011/01/20 17:52:28 UTC

svn commit: r1061387 - /directory/shared/trunk/asn1-api/pom.xml

Author: akarasulu
Date: Thu Jan 20 16:52:27 2011
New Revision: 1061387

URL: http://svn.apache.org/viewvc?rev=1061387&view=rev
Log:
making shared-asn1-api into a bundle

Modified:
    directory/shared/trunk/asn1-api/pom.xml

Modified: directory/shared/trunk/asn1-api/pom.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/asn1-api/pom.xml?rev=1061387&r1=1061386&r2=1061387&view=diff
==============================================================================
--- directory/shared/trunk/asn1-api/pom.xml (original)
+++ directory/shared/trunk/asn1-api/pom.xml Thu Jan 20 16:52:27 2011
@@ -27,6 +27,7 @@
   
   <artifactId>shared-asn1-api</artifactId>
   <name>Apache Directory Shared ASN.1 API</name>
+  <packaging>bundle</packaging>
 
   <description>ASN.1 API</description>
 
@@ -45,6 +46,27 @@
 
   <build>
     <plugins>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <inherited>true</inherited>
+        <extensions>true</extensions>
+        <configuration>
+          <manifestLocation>META-INF</manifestLocation>
+          <instructions>
+            <Bundle-SymbolicName>${project.groupId}.ldap</Bundle-SymbolicName>
+            <Bundle-Name>${project.name}</Bundle-Name>
+            <Import-Package>
+              org.apache.directory.shared.i18n,
+              org.apache.directory.shared.util
+            </Import-Package>
+            <Export-Package>
+              org.apache.directory.shared.asn1,
+              org.apache.directory.shared.asn1.util
+            </Export-Package>
+          </instructions>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 </project>