directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r1061386 - /directory/shared/trunk/util/pom.xml
Date Thu, 20 Jan 2011 16:52:06 GMT
Author: akarasulu
Date: Thu Jan 20 16:52:05 2011
New Revision: 1061386

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

Modified:
    directory/shared/trunk/util/pom.xml

Modified: directory/shared/trunk/util/pom.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/util/pom.xml?rev=1061386&r1=1061385&r2=1061386&view=diff
==============================================================================
--- directory/shared/trunk/util/pom.xml (original)
+++ directory/shared/trunk/util/pom.xml Thu Jan 20 16:52:05 2011
@@ -27,6 +27,7 @@
   
   <artifactId>shared-util</artifactId>
   <name>Apache Directory Shared Utilities</name>
+  <packaging>bundle</packaging>
 
   <description>Utilities shared across this top level project</description>
 
@@ -45,6 +46,26 @@
 
   <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
+            </Import-Package>
+            <Export-Package>
+              org.apache.directory.shared.util,
+              org.apache.directory.shared.util.exception
+            </Export-Package>
+          </instructions>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 </project>



Mime
View raw message