You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2014/12/23 14:53:51 UTC
svn commit: r1647575 - /directory/apacheds/trunk/mavibot-partition/pom.xml
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>