directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r1642979 - in /directory/mavibot/trunk: mavibot/pom.xml pom.xml
Date Mon, 15 Dec 2014 17:11:33 GMT
Author: seelmann
Date: Tue Dec  2 18:18:53 2014
New Revision: 1642979

URL: http://svn.apache.org/r1642979
Log:
Generate manifest by maven-bundle-plugin, switch back to packaging=bundle

Modified:
    directory/mavibot/trunk/mavibot/pom.xml
    directory/mavibot/trunk/pom.xml

Modified: directory/mavibot/trunk/mavibot/pom.xml
URL: http://svn.apache.org/viewvc/directory/mavibot/trunk/mavibot/pom.xml?rev=1642979&r1=1642978&r2=1642979&view=diff
==============================================================================
--- directory/mavibot/trunk/mavibot/pom.xml (original)
+++ directory/mavibot/trunk/mavibot/pom.xml Tue Dec  2 18:18:53 2014
@@ -28,7 +28,7 @@
 
   <artifactId>mavibot</artifactId>
   <name>ApacheDS MVCC BTree implementation</name>
-  <packaging>jar</packaging>
+  <packaging>bundle</packaging>
 
   <description>A MVCC BTree Implementation</description>
 
@@ -65,6 +65,44 @@
       <artifactId>slf4j-log4j12</artifactId>
       <version>${slf4j.log4j12.version}</version>
     </dependency>
-  </dependencies>  
+  </dependencies>
+  
+  <build>
+    <plugins>
+      <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}.mavibot</Bundle-SymbolicName>
+            <Export-Package>
+              org.apache.directory.mavibot.btree;version=${project.version};-noimport:=true,
+              org.apache.directory.mavibot.btree.comparator;version=${project.version};-noimport:=true,
+              org.apache.directory.mavibot.btree.exception;version=${project.version};-noimport:=true,
+              org.apache.directory.mavibot.btree.memory;version=${project.version};-noimport:=true,
+              org.apache.directory.mavibot.btree.persisted;version=${project.version};-noimport:=true,
+              org.apache.directory.mavibot.btree.serializer;version=${project.version};-noimport:=true,
+              org.apache.directory.mavibot.btree.util;version=${project.version};-noimport:=true
+            </Export-Package>
+          </instructions>
+        </configuration>
+      </plugin>
+
+    </plugins>
+  </build>
 </project>
 

Modified: directory/mavibot/trunk/pom.xml
URL: http://svn.apache.org/viewvc/directory/mavibot/trunk/pom.xml?rev=1642979&r1=1642978&r2=1642979&view=diff
==============================================================================
--- directory/mavibot/trunk/pom.xml (original)
+++ directory/mavibot/trunk/pom.xml Tue Dec  2 18:18:53 2014
@@ -202,21 +202,6 @@
       </plugin>
     
       <plugin>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>maven-bundle-plugin</artifactId>
-        <inherited>true</inherited>
-        <extensions>true</extensions>
-        <configuration>
-          <instructions>
-            <Bundle-SymbolicName>${project.groupId}</Bundle-SymbolicName>
-            <Export-Package>
-                {local-packages};version=${project.version};-noimport:=true
-            </Export-Package>
-          </instructions>
-        </configuration>
-      </plugin>
-
-      <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>findbugs-maven-plugin</artifactId>
            <configuration>



Mime
View raw message