From 1ba6850ba40b70f2aac460b8355e97be9feb44b7 Mon Sep 17 00:00:00 2001 From: Rune Flobakk Date: Tue, 14 Oct 2025 13:21:22 +0200 Subject: [PATCH 1/5] Add back httpcore5-h2 Used by httpclient5, and can not be excluded --- NOTICE | 1 + pom.xml | 12 ++---------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/NOTICE b/NOTICE index 75b0f2cf..206e8790 100644 --- a/NOTICE +++ b/NOTICE @@ -14,6 +14,7 @@ This software includes third party software subject to the following licenses: Apache FontBox under Apache-2.0 Apache HttpClient under Apache License, Version 2.0 Apache HttpComponents Core HTTP/1.1 under Apache License, Version 2.0 + Apache HttpComponents Core HTTP/2 under Apache License, Version 2.0 Apache PDFBox under Apache-2.0 Apache PDFBox io under Apache-2.0 Bouncy Castle ASN.1 Extension and Utility APIs under Bouncy Castle Licence diff --git a/pom.xml b/pom.xml index 70e0c03f..7db780a6 100644 --- a/pom.xml +++ b/pom.xml @@ -76,10 +76,6 @@ commons-logging commons-logging - - org.apache.httpcomponents.core5 - httpcore5-h2 - @@ -389,13 +385,9 @@ com.google.guava:failureaccess commons-codec:commons-codec org.apache.commons:commons-lang3 - org.apache.httpcomponents.client5:httpclient5 - org.apache.httpcomponents.core5:httpcore5 + org.apache.httpcomponents.* no.digipost:digipost-data-types - com.fasterxml.jackson.core:jackson-core - com.fasterxml.jackson.core:jackson-databind - com.fasterxml.jackson.core:jackson-annotations - com.fasterxml.jackson.datatype:jackson-datatype-jsr310 + com.fasterxml.jackson.* net.bytebuddy:byte-buddy jakarta.validation:jakarta.validation-api com.googlecode.owasp-java-html-sanitizer From 23feb8a6d9a4ae47e98c5ad478277e0810653497 Mon Sep 17 00:00:00 2001 From: Rune Flobakk Date: Tue, 14 Oct 2025 13:23:46 +0200 Subject: [PATCH 2/5] Upgrade Apache HTTP Components --- pom.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 7db780a6..509fc394 100644 --- a/pom.xml +++ b/pom.xml @@ -70,7 +70,7 @@ org.apache.httpcomponents.client5 httpclient5 - 5.4.4 + 5.5.1 commons-logging @@ -79,9 +79,9 @@ - org.apache.httpcomponents.core5 - httpcore5 - 5.3.4 + org.apache.httpcomponents.core5 + httpcore5 + 5.3.6 no.digipost From d30c8e5637a2a80dc5635fbff24125a467b927c7 Mon Sep 17 00:00:00 2001 From: Rune Flobakk Date: Tue, 14 Oct 2025 13:33:55 +0200 Subject: [PATCH 3/5] Upgrade dependencies --- pom.xml | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/pom.xml b/pom.xml index 509fc394..64cb3859 100644 --- a/pom.xml +++ b/pom.xml @@ -33,8 +33,6 @@ 11 11 - - 1.81 @@ -46,7 +44,7 @@ no.digipost digipost-html-validator - 1.1.1 + 1.1.3 no.digipost @@ -96,17 +94,15 @@ org.apache.commons commons-lang3 - 3.18.0 + 3.19.0 org.bouncycastle bcprov-jdk18on - ${bouncycastle.version} org.bouncycastle bcpkix-jdk18on - ${bouncycastle.version} org.junit.jupiter @@ -121,7 +117,7 @@ org.hamcrest hamcrest - 2.2 + 3.0 test @@ -149,7 +145,7 @@ nl.jqno.equalsverifier equalsverifier - 3.16.1 + 3.19.4 test @@ -167,7 +163,7 @@ no.digipost digipost-data-types - 1.2.2 + 1.3.0 org.glassfish.jaxb @@ -188,6 +184,13 @@ pom import + + org.bouncycastle + bc-jdk18on-bom + 1.82 + import + pom + org.slf4j slf4j-bom @@ -198,7 +201,7 @@ org.junit junit-bom - 5.13.4 + 5.14.0 pom import @@ -210,19 +213,19 @@ org.mockito mockito-bom - 5.18.0 + 5.20.0 pom import jakarta.xml.bind jakarta.xml.bind-api - 4.0.2 + 4.0.4 org.glassfish.jaxb jaxb-runtime - 4.0.5 + 4.0.6 runtime From 7bb29264bec2fe4fac0077e472334610ffc79fa2 Mon Sep 17 00:00:00 2001 From: Rune Flobakk Date: Tue, 14 Oct 2025 13:37:17 +0200 Subject: [PATCH 4/5] Upgrade Maven plugins --- pom.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index 64cb3859..48e1cbeb 100644 --- a/pom.xml +++ b/pom.xml @@ -252,11 +252,11 @@ maven-compiler-plugin - 3.14.0 + 3.14.1 maven-surefire-plugin - 3.5.3 + 3.5.4 maven-source-plugin @@ -264,7 +264,7 @@ maven-javadoc-plugin - 3.11.2 + 3.12.0 maven-deploy-plugin @@ -276,7 +276,7 @@ maven-dependency-plugin - 3.8.1 + 3.9.0 maven-jar-plugin @@ -300,17 +300,17 @@ maven-enforcer-plugin - 3.6.1 + 3.6.2 org.codehaus.mojo versions-maven-plugin - 2.18.0 + 2.19.1 com.github.siom79.japicmp japicmp-maven-plugin - 0.23.1 + 0.24.2 From b9175812a157e492e856bb9df504fb30d0dfdbdd Mon Sep 17 00:00:00 2001 From: Rune Flobakk Date: Tue, 14 Oct 2025 13:40:00 +0200 Subject: [PATCH 5/5] Change version to LOCAL-SNAPSHOT To be consistent with other libs --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 48e1cbeb..4d74aad2 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ digipost-api-client-java - 16.0-SNAPSHOT + LOCAL-SNAPSHOT Digipost API Client Java library for interacting with the Digipost REST API