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/16 11:55:04 UTC

svn commit: r1059530 - in /directory/shared/trunk: dsml-engine/pom.xml dsml-parser/pom.xml

Author: akarasulu
Date: Sun Jan 16 10:55:04 2011
New Revision: 1059530

URL: http://svn.apache.org/viewvc?rev=1059530&view=rev
Log:
making dsml modules into OSGi bundles

Modified:
    directory/shared/trunk/dsml-engine/pom.xml
    directory/shared/trunk/dsml-parser/pom.xml

Modified: directory/shared/trunk/dsml-engine/pom.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-engine/pom.xml?rev=1059530&r1=1059529&r2=1059530&view=diff
==============================================================================
--- directory/shared/trunk/dsml-engine/pom.xml (original)
+++ directory/shared/trunk/dsml-engine/pom.xml Sun Jan 16 10:55:04 2011
@@ -27,6 +27,7 @@
 
   <artifactId>shared-dsml-engine</artifactId>
   <name>Apache Directory Shared DSML Engine</name>
+  <packaging>bundle</packaging>
 
   <dependencies>
     <dependency>
@@ -54,4 +55,23 @@
       <artifactId>xpp3</artifactId>
     </dependency>
   </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <inherited>true</inherited>
+        <extensions>true</extensions>
+        <configuration>
+          <instructions>
+            <Bundle-SymbolicName>${pom.groupId}.dsmlv2.engine</Bundle-SymbolicName>
+            <Bundle-Name>${pom.artifactId}</Bundle-Name>
+            <Bundle-Version>${pom.version}</Bundle-Version>
+            <Export-Package>org.apache.directory.shared.dsmlv2.engine</Export-Package>
+          </instructions>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
 </project>

Modified: directory/shared/trunk/dsml-parser/pom.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/pom.xml?rev=1059530&r1=1059529&r2=1059530&view=diff
==============================================================================
--- directory/shared/trunk/dsml-parser/pom.xml (original)
+++ directory/shared/trunk/dsml-parser/pom.xml Sun Jan 16 10:55:04 2011
@@ -27,6 +27,7 @@
 
   <artifactId>shared-dsml-parser</artifactId>
   <name>Apache Directory Shared DSML Parser</name>
+  <packaging>bundle</packaging>
 
   <dependencies>
     <dependency>
@@ -60,4 +61,23 @@
       <artifactId>xpp3</artifactId>
     </dependency>
   </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <inherited>true</inherited>
+        <extensions>true</extensions>
+        <configuration>
+          <instructions>
+            <Bundle-SymbolicName>${pom.groupId}.dsmlv2.parser</Bundle-SymbolicName>
+            <Bundle-Name>${pom.artifactId}</Bundle-Name>
+            <Bundle-Version>${pom.version}</Bundle-Version>
+            <Export-Package>org.apache.directory.shared.dsmlv2.*</Export-Package>
+          </instructions>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
 </project>