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:42 UTC

svn commit: r1061388 - /directory/shared/trunk/asn1-ber/pom.xml

Author: akarasulu
Date: Thu Jan 20 16:52:42 2011
New Revision: 1061388

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

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

Modified: directory/shared/trunk/asn1-ber/pom.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/asn1-ber/pom.xml?rev=1061388&r1=1061387&r2=1061388&view=diff
==============================================================================
--- directory/shared/trunk/asn1-ber/pom.xml (original)
+++ directory/shared/trunk/asn1-ber/pom.xml Thu Jan 20 16:52:42 2011
@@ -27,6 +27,7 @@
   
   <artifactId>shared-asn1-ber</artifactId>
   <name>Apache Directory Shared ASN.1 BER</name>
+  <packaging>bundle</packaging>
 
   <description>A BER Codec Implementation for ASN.1</description>
 
@@ -55,6 +56,29 @@
 
   <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}.asn1.ber
+            </Bundle-SymbolicName>
+            <Bundle-Name>${project.name}</Bundle-Name>
+            <Import-Package>
+              org.apache.directory.shared.i18n,
+              org.apache.directory.shared.asn1,
+              org.apache.directory.shared.asn1.util
+            </Import-Package>
+            <Export-Package>
+              org.apache.directory.shared.asn1.ber.*
+            </Export-Package>
+          </instructions>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 </project>