Author: elecharny
Date: Sun Oct 16 18:23:05 2011
New Revision: 1184897
URL: http://svn.apache.org/viewvc?rev=1184897&view=rev
Log:
Applied Göktürk patch for DIRSERVER-1668
Modified:
directory/buildtools/junit-addons/trunk/pom.xml
Modified: directory/buildtools/junit-addons/trunk/pom.xml
URL: http://svn.apache.org/viewvc/directory/buildtools/junit-addons/trunk/pom.xml?rev=1184897&r1=1184896&r2=1184897&view=diff
==============================================================================
--- directory/buildtools/junit-addons/trunk/pom.xml (original)
+++ directory/buildtools/junit-addons/trunk/pom.xml Sun Oct 16 18:23:05 2011
@@ -28,6 +28,7 @@
<artifactId>junit-addons</artifactId>
<version>0.2-SNAPSHOT</version>
<name>Apache Directory JUnit Add-ons</name>
+ <packaging>bundle</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -59,4 +60,23 @@
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/directory/buildtools/junit-addons/trunk</developerConnection>
<url>http://svn.apache.org/viewvc/directory/buildtools/trunk/junit-addons</url>
</scm>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <inherited>true</inherited>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
+ <Export-Package>
+ {local-packages};version=${project.version};-noimport:=true
+ </Export-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
|