From 15336903af96db8da65b7527aa65c821b562dd53 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Thu, 19 May 2011 21:22:09 +0000
Subject: [PATCH] Fix OpenDJ-32 - Maven: add OSGi meta data generation to modules
---
opendj-sdk/opendj3/opendj-sdk/pom.xml | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/opendj-sdk/opendj3/opendj-sdk/pom.xml b/opendj-sdk/opendj3/opendj-sdk/pom.xml
index 5c53f1c..f43ab97 100644
--- a/opendj-sdk/opendj3/opendj-sdk/pom.xml
+++ b/opendj-sdk/opendj3/opendj-sdk/pom.xml
@@ -38,7 +38,7 @@
<description>
This module includes the core OpenDJ Java APIs for implementing LDAP Directory client and server applications.
</description>
- <packaging>jar</packaging>
+ <packaging>bundle</packaging>
<dependencies>
<dependency>
<groupId>org.forgerock.commons</groupId>
@@ -80,6 +80,16 @@
</executions>
</plugin>
<plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Export-Package>org.opends.sdk.*</Export-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
</plugin>
--
Gitblit v1.10.0