From 06382009ceffd19f6de712fb96f8609c4337ec19 Mon Sep 17 00:00:00 2001 From: dotasek Date: Wed, 9 Feb 2022 14:08:24 -0500 Subject: [PATCH 1/7] Bump mockito and bytebuddy versions for Java 17 compatibility --- org.hl7.fhir.validation/pom.xml | 7 +++++++ pom.xml | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/org.hl7.fhir.validation/pom.xml b/org.hl7.fhir.validation/pom.xml index 1a2f1a09f..c200b03b1 100644 --- a/org.hl7.fhir.validation/pom.xml +++ b/org.hl7.fhir.validation/pom.xml @@ -218,6 +218,13 @@ test + + net.bytebuddy + byte-buddy + 1.10.21 + test + + org.seleniumhq.selenium diff --git a/pom.xml b/pom.xml index 3b85795e4..acdfffdd6 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.1.0 + 5.4.0 - - org.apache.httpcomponents - httpclient - true - com.squareup.okhttp3 okhttp diff --git a/org.hl7.fhir.r4/pom.xml b/org.hl7.fhir.r4/pom.xml index 781bafa2d..3e2e58c83 100644 --- a/org.hl7.fhir.r4/pom.xml +++ b/org.hl7.fhir.r4/pom.xml @@ -104,13 +104,6 @@ true - - - org.apache.httpcomponents - httpclient - true - - com.fasterxml.jackson.core diff --git a/org.hl7.fhir.r4b/pom.xml b/org.hl7.fhir.r4b/pom.xml index a9373f2fb..e83fd328a 100644 --- a/org.hl7.fhir.r4b/pom.xml +++ b/org.hl7.fhir.r4b/pom.xml @@ -58,11 +58,6 @@ - - org.apache.httpcomponents - httpclient - true - com.squareup.okhttp3 okhttp From 1905035d7b2880a61174174da032001e80a165c3 Mon Sep 17 00:00:00 2001 From: dotasek Date: Thu, 10 Feb 2022 13:45:45 -0500 Subject: [PATCH 6/7] Move bytebuddy to managed dependency --- org.hl7.fhir.validation/pom.xml | 19 ++++++------------- pom.xml | 7 +++++++ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/org.hl7.fhir.validation/pom.xml b/org.hl7.fhir.validation/pom.xml index c200b03b1..9f12a881b 100644 --- a/org.hl7.fhir.validation/pom.xml +++ b/org.hl7.fhir.validation/pom.xml @@ -217,14 +217,12 @@ ${junit_jupiter_version} test - - - net.bytebuddy - byte-buddy - 1.10.21 - test - - + + net.bytebuddy + byte-buddy + true + test + org.seleniumhq.selenium @@ -252,11 +250,6 @@ test - - - org/hl7/fhir/validation/cli/services/ValidationServiceTest.java - - diff --git a/pom.xml b/pom.xml index acdfffdd6..ffb18644c 100644 --- a/pom.xml +++ b/pom.xml @@ -27,6 +27,7 @@ 0.8.7 1.5.1 1.18.22 + 1.10.21 HL7 Core Artifacts @@ -139,6 +140,12 @@ ${junit_jupiter_version} test + + net.bytebuddy + byte-buddy + ${byte_buddy_version} + test + From 37c1e7e72002d8cacdc7fbfec24fd171c02489d4 Mon Sep 17 00:00:00 2001 From: dotasek Date: Thu, 10 Feb 2022 13:48:00 -0500 Subject: [PATCH 7/7] Fix validation.cli jar build Removes any signature files that could cause the module to become invalid Also bumps exec-maven plugin --- org.hl7.fhir.validation.cli/pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/org.hl7.fhir.validation.cli/pom.xml b/org.hl7.fhir.validation.cli/pom.xml index 437e5ed46..85e5a66fc 100644 --- a/org.hl7.fhir.validation.cli/pom.xml +++ b/org.hl7.fhir.validation.cli/pom.xml @@ -76,7 +76,7 @@ unpack-dependencies - **/module-info.class + **/module-info.class,META-INF/*.SF,META-INF/*.DSA,META-INF/*.RSA ${project.build.directory}/classes false true @@ -121,7 +121,7 @@ org.codehaus.mojo exec-maven-plugin - 1.2.1 + 1.6.0 default-cli @@ -134,7 +134,7 @@ /tmp -jar - ${basedir}/target/org.hl7.fhir.validation.cli-${project.version}.jar + ${project.basedir}/target/org.hl7.fhir.validation.cli-${project.version}.jar