directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1080177 - in /directory/shared/trunk: all/pom.xml pom.xml
Date Thu, 10 Mar 2011 10:45:36 GMT
Author: pamarcelot
Date: Thu Mar 10 10:45:36 2011
New Revision: 1080177

URL: http://svn.apache.org/viewvc?rev=1080177&view=rev
Log:
Added a 'integration' profile which contains the 'shared-integ' project as module.

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

Modified: directory/shared/trunk/all/pom.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/all/pom.xml?rev=1080177&r1=1080176&r2=1080177&view=diff
==============================================================================
--- directory/shared/trunk/all/pom.xml (original)
+++ directory/shared/trunk/all/pom.xml Thu Mar 10 10:45:36 2011
@@ -27,6 +27,7 @@
   
   <artifactId>shared-all</artifactId>
   <name>Apache Directory Shared All</name>
+  <packaging>bundle</packaging>
 
   <dependencies>
     <dependency>
@@ -127,6 +128,36 @@
           </execution>
         </executions>
       </plugin>
+      
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <configuration>
+          <archive>
+            <manifestFile>META-INF/MANIFEST.MF</manifestFile>
+            <addMavenDescriptor>false</addMavenDescriptor>
+          </archive>
+        </configuration>
+      </plugin>
+      <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}.all</Bundle-SymbolicName>
+            <Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy>
+            <Export-Package>
+              org.apache.directory.shared.ldap.codec.api
+            </Export-Package>
+            <Bundle-Activator>
+              org.apache.directory.shared.ldap.codec.osgi.DefaultActivator
+            </Bundle-Activator>
+          </instructions>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 </project>

Modified: directory/shared/trunk/pom.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/pom.xml?rev=1080177&r1=1080176&r2=1080177&view=diff
==============================================================================
--- directory/shared/trunk/pom.xml (original)
+++ directory/shared/trunk/pom.xml Thu Mar 10 10:45:36 2011
@@ -80,7 +80,6 @@
     <module>i18n</module>
     <module>util</module>
     <module>asn1</module>
-    <module>integ</module>
     <module>all</module>
     <module>ldap</module>
     <module>dsml</module>
@@ -653,6 +652,17 @@
 
   <profiles>
     <profile>
+      <id>integration</id>
+      <activation>
+        <property>
+          <name>integration</name>
+        </property>
+      </activation>
+      <modules>
+        <module>integ</module>
+      </modules>
+    </profile>
+    <profile>
       <id>apache-release</id>
       <build>
         <plugins>



Mime
View raw message