directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r1059531 - in /directory/shared/branches/shared-AP: dsml-engine/pom.xml dsml-parser/pom.xml
Date Sun, 16 Jan 2011 10:56:07 GMT
Author: akarasulu
Date: Sun Jan 16 10:56:06 2011
New Revision: 1059531

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

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

Modified: directory/shared/branches/shared-AP/dsml-engine/pom.xml
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-AP/dsml-engine/pom.xml?rev=1059531&r1=1059530&r2=1059531&view=diff
==============================================================================
--- directory/shared/branches/shared-AP/dsml-engine/pom.xml (original)
+++ directory/shared/branches/shared-AP/dsml-engine/pom.xml Sun Jan 16 10:56:06 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/branches/shared-AP/dsml-parser/pom.xml
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-AP/dsml-parser/pom.xml?rev=1059531&r1=1059530&r2=1059531&view=diff
==============================================================================
--- directory/shared/branches/shared-AP/dsml-parser/pom.xml (original)
+++ directory/shared/branches/shared-AP/dsml-parser/pom.xml Sun Jan 16 10:56:06 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>



Mime
View raw message