From f25db7bc6eab263f17ace0d6b7deb9e8e7acf409 Mon Sep 17 00:00:00 2001
From: Maxim Thomas <maxim.thomas@gmail.com>
Date: Thu, 18 Sep 2025 08:14:31 +0000
Subject: [PATCH] Update target JDK to 11 and move to JakartaEE 9 (#532)

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

diff --git a/opendj-server-legacy/pom.xml b/opendj-server-legacy/pom.xml
index 121d60b..d1c6d33 100644
--- a/opendj-server-legacy/pom.xml
+++ b/opendj-server-legacy/pom.xml
@@ -21,7 +21,7 @@
   <parent>
     <groupId>org.openidentityplatform.opendj</groupId>
     <artifactId>opendj-parent</artifactId>
-    <version>4.10.3-SNAPSHOT</version>
+    <version>5.0.0-SNAPSHOT</version>
   </parent>
   <artifactId>opendj-server-legacy</artifactId>
   <packaging>jar</packaging>
@@ -208,7 +208,7 @@
     <!-- mail -->
     <dependency>
       <groupId>com.sun.mail</groupId>
-      <artifactId>javax.mail</artifactId>
+      <artifactId>jakarta.mail</artifactId>
     </dependency>
 
     <dependency>
@@ -231,8 +231,8 @@
     </dependency>
 
     <dependency>
-      <groupId>com.github.stephenc.jcip</groupId>
-      <artifactId>jcip-annotations</artifactId>
+      <groupId>com.io7m.jcip</groupId>
+      <artifactId>com.io7m.jcip.annotations</artifactId>
     </dependency>
 
     <dependency>
@@ -712,7 +712,7 @@
                 <Embed-Dependency>
                   org.openidentityplatform.commons.persistit:core,
                   <!--je,-->
-                  jcip-annotations
+                  com.io7m.jcip.annotations
                 </Embed-Dependency>
               </instructions>
             </configuration>
@@ -828,6 +828,7 @@
               <includes>
                 <include>**/org/slf4j/**</include>
                 <include>**/org/opends/server/loggers/slf4j/**</include>
+                <include>**/META-INF/services/org.slf4j.spi.SLF4JServiceProvider</include>
               </includes>
               <archive>
                 <index>false</index>

--
Gitblit v1.10.0