[java-parent-project] branch main updated: JPAR-240 - Remove Jakarta mail library

Codeberg noreply at shibboleth.net
Fri May 1 16:21:20 UTC 2026


This is an automated email from the git hooks/post-receive script.

codeberg pushed a commit to branch main
in repository java-parent-project.

View the commit online:
https://codeberg.org/Shibboleth/java-parent-project/commit/de0442493d5df4c6ec02c4fb439bf8ce1853c850

The following commit(s) were added to refs/heads/main by this push:
     new de04424  JPAR-240 - Remove Jakarta mail library
de04424 is described below

commit de0442493d5df4c6ec02c4fb439bf8ce1853c850
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Fri May 1 12:21:08 2026 -0400

    JPAR-240 - Remove Jakarta mail library
    
    https://shibboleth.atlassian.net/browse/JPAR-240
    
    Missed a second dependency reference.
    Add exclusions to logback jar decls.
---
 pom.xml | 35 +++++++++++++++++++++--------------
 1 file changed, 21 insertions(+), 14 deletions(-)

diff --git a/pom.xml b/pom.xml
index 1e3550e..d5c31ad 100644
--- a/pom.xml
+++ b/pom.xml
@@ -33,8 +33,8 @@
 
 
         <ant.version>1.10.14</ant.version>
-        <bouncycastle.version>1.82</bouncycastle.version>
-        <bouncycastle.pg.version>1.78.1</bouncycastle.pg.version>
+        <bouncycastle.version>1.84</bouncycastle.version>
+        <bouncycastle.pg.version>1.84</bouncycastle.pg.version>
         <commons.codec.version>1.16.1</commons.codec.version>
         <!-- IMPORTANT: commons-compress and commons-io versions need to be updated with the -io version coming from -compress.  -->
         <commons.compress.version>1.26.2</commons.compress.version>
@@ -52,7 +52,8 @@
         <httpclient.httpcore.version>5.2.5</httpclient.httpcore.version>
         <graalvm.version>21.2.0</graalvm.version>
         <guava.version>33.0.0-jre</guava.version>
-        <jackson.version>2.16.2</jackson.version>
+        <jackson.version>2.21.3</jackson.version>
+        <jackson-annotation.version>2.21</jackson-annotation.version>
         <jakarta.ee.version>11</jakarta.ee.version>
         <jakarta.servlet.version>6.1.0</jakarta.servlet.version>
         <jakarta.pages.version>4.0.0</jakarta.pages.version>
@@ -239,11 +240,6 @@
                 <artifactId>jackson-core</artifactId>
                 <version>${jackson.version}</version>
             </dependency>
-            <dependency>
-                <groupId>com.fasterxml.jackson.core</groupId>
-                <artifactId>jackson-annotations</artifactId>
-                <version>${jackson.version}</version>
-            </dependency>
             <dependency>
                 <groupId>com.fasterxml.jackson.core</groupId>
                 <artifactId>jackson-databind</artifactId>
@@ -254,6 +250,11 @@
                 <artifactId>jackson-datatype-jsr310</artifactId>
                 <version>${jackson.version}</version>
             </dependency>
+            <dependency>
+                <groupId>com.fasterxml.jackson.core</groupId>
+                <artifactId>jackson-annotations</artifactId>
+                <version>${jackson-annotation.version}</version>
+            </dependency>
             <dependency>
               <groupId>com.github.jasminb</groupId>
               <artifactId>jsonapi-converter</artifactId>
@@ -387,12 +388,6 @@
                 <version>${jakarta.json.version}</version>
                 <scope>provided</scope>
             </dependency>
-            <dependency>
-                <groupId>jakarta.mail</groupId>
-                <artifactId>jakarta.mail-api</artifactId>
-                <version>${jakarta.mail.version}</version>
-                <scope>runtime</scope>
-            </dependency>
             <dependency>
                 <groupId>jakarta.servlet.jsp</groupId>
                 <artifactId>jakarta.servlet.jsp-api</artifactId>
@@ -449,6 +444,10 @@
                         <groupId>javax.mail</groupId>
                         <artifactId>mail</artifactId>
                     </exclusion>
+                    <exclusion>
+                        <groupId>jakarta.mail</groupId>
+                        <artifactId>jakarta.mail-api</artifactId>
+                    </exclusion>
                 </exclusions>
             </dependency>
             <dependency>
@@ -461,6 +460,10 @@
                         <groupId>javax.mail</groupId>
                         <artifactId>mail</artifactId>
                     </exclusion>
+                    <exclusion>
+                        <groupId>jakarta.mail</groupId>
+                        <artifactId>jakarta.mail-api</artifactId>
+                    </exclusion>
                 </exclusions>
             </dependency>
             <dependency>
@@ -473,6 +476,10 @@
                         <groupId>javax.mail</groupId>
                         <artifactId>mail</artifactId>
                     </exclusion>
+                    <exclusion>
+                        <groupId>jakarta.mail</groupId>
+                        <artifactId>jakarta.mail-api</artifactId>
+                    </exclusion>
                 </exclusions>
             </dependency>
             <dependency>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list