directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r1647575 - /directory/apacheds/trunk/mavibot-partition/pom.xml
Date Tue, 23 Dec 2014 13:53:51 GMT
Author: seelmann
Date: Tue Dec 23 13:53:51 2014
New Revision: 1647575

URL: http://svn.apache.org/r1647575
Log:
Configure generation of MANIFEST.mf and attach sources

Modified:
    directory/apacheds/trunk/mavibot-partition/pom.xml

Modified: directory/apacheds/trunk/mavibot-partition/pom.xml
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/mavibot-partition/pom.xml?rev=1647575&r1=1647574&r2=1647575&view=diff
==============================================================================
--- directory/apacheds/trunk/mavibot-partition/pom.xml (original)
+++ directory/apacheds/trunk/mavibot-partition/pom.xml Tue Dec 23 13:53:51 2014
@@ -24,6 +24,7 @@
   </parent>
   <artifactId>apacheds-mavibot-partition</artifactId>
   <name>ApacheDS Mavibot Partition</name>
+  <packaging>bundle</packaging>
 
   <dependencies>
     <dependency>
@@ -101,4 +102,49 @@
       <artifactId>api-util</artifactId>
     </dependency>
   </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>attach-sources</id>
+            <phase>verify</phase>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+          </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}.mavibot.partition</Bundle-SymbolicName>
+            <Export-Package>
+                org.apache.directory.server.core.partition.impl.btree.mavibot;version=${project.version};-noimport:=true
+            </Export-Package>
+          </instructions>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
 </project>



Mime
View raw message