From b3f7cfe263e26f66ac24c64f802f65b8ca0305f3 Mon Sep 17 00:00:00 2001
From: maximthomas <maxim.thomas@gmail.com>
Date: Tue, 29 Jul 2025 15:02:27 +0000
Subject: [PATCH] Build OpenDJ Server as an OSGI bundle

---
 opendj-server/pom.xml |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/opendj-server/pom.xml b/opendj-server/pom.xml
index 34a3e805..bb71c17 100644
--- a/opendj-server/pom.xml
+++ b/opendj-server/pom.xml
@@ -26,7 +26,7 @@
   <description>
     OpenDJ LDAP embedded directory server.
   </description>
-  <packaging>jar</packaging>
+  <packaging>bundle</packaging>
   <properties>
     <!-- Product information properties -->
     <patchFixIds />
@@ -126,6 +126,10 @@
         </executions>
       </plugin>
       <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+      </plugin>
+      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-plugin</artifactId>
       </plugin>

--
Gitblit v1.10.0