From cda84c4b3a37fbde6ba7fb90384002372a86c48b Mon Sep 17 00:00:00 2001 From: jpoth Date: Fri, 14 Dec 2018 17:11:28 +0100 Subject: [PATCH] Karaf related fixes for jdk11 --- osgi/hapi-fhir-karaf-features/pom.xml | 22 +++++++++++-------- .../hapi-fhir-karaf-integration-tests/pom.xml | 2 +- .../karaf/dstu3/Dstu3XmlParserTest.java | 5 +++-- pom.xml | 8 +++---- 4 files changed, 21 insertions(+), 16 deletions(-) diff --git a/osgi/hapi-fhir-karaf-features/pom.xml b/osgi/hapi-fhir-karaf-features/pom.xml index 79738f6f4a8..9aa3455e4d4 100644 --- a/osgi/hapi-fhir-karaf-features/pom.xml +++ b/osgi/hapi-fhir-karaf-features/pom.xml @@ -17,8 +17,12 @@ features.xml - 1.8.6 - 3.2.2 + 1.10.1 + 3.2.2 + 6.0.0 + 1.9.10 + 1.0.1 + 1.10.1 @@ -87,43 +91,43 @@ org.osgi org.osgi.core - 4.3.1 + ${osgi_version} provided org.ops4j.pax.logging pax-logging-api - ${pax-logging-version} + ${pax_logging_version} provided org.ops4j.pax.logging pax-logging-service - ${pax-logging-version} + ${pax_logging_version} provided org.apache.felix org.apache.felix.framework - ${felix-framework-version} + ${felix_framework_version} provided org.apache.felix org.apache.felix.configadmin - 1.8.8 + ${configadmin_version} provided org.apache.aries.blueprint org.apache.aries.blueprint.api - 1.0.1 + ${aries_blueprint_api_version} provided org.apache.aries.blueprint org.apache.aries.blueprint.core - 1.0.1 + ${aries_blueprint_core_version} provided diff --git a/osgi/hapi-fhir-karaf-integration-tests/pom.xml b/osgi/hapi-fhir-karaf-integration-tests/pom.xml index 3e63459153c..3a06288d1f8 100644 --- a/osgi/hapi-fhir-karaf-integration-tests/pom.xml +++ b/osgi/hapi-fhir-karaf-integration-tests/pom.xml @@ -33,7 +33,7 @@ - 4.12.0 + 4.13.1 diff --git a/osgi/hapi-fhir-karaf-integration-tests/src/test/java/ca/uhn/fhir/tests/integration/karaf/dstu3/Dstu3XmlParserTest.java b/osgi/hapi-fhir-karaf-integration-tests/src/test/java/ca/uhn/fhir/tests/integration/karaf/dstu3/Dstu3XmlParserTest.java index 0f1e15c2108..272f1eb8858 100644 --- a/osgi/hapi-fhir-karaf-integration-tests/src/test/java/ca/uhn/fhir/tests/integration/karaf/dstu3/Dstu3XmlParserTest.java +++ b/osgi/hapi-fhir-karaf-integration-tests/src/test/java/ca/uhn/fhir/tests/integration/karaf/dstu3/Dstu3XmlParserTest.java @@ -74,6 +74,7 @@ import org.hl7.fhir.dstu3.model.SimpleQuantity; import org.hl7.fhir.dstu3.model.StringType; import org.hl7.fhir.dstu3.model.UriType; import org.hl7.fhir.dstu3.model.ValueSet; +import org.hl7.fhir.exceptions.FHIRFormatError; import org.hl7.fhir.instance.model.api.IBaseResource; import org.hl7.fhir.instance.model.api.IIdType; import org.junit.Assert; @@ -3196,8 +3197,8 @@ public class Dstu3XmlParserTest { try { ourCtx.newXmlParser().parseResource(Patient.class, input); fail(); - } catch (DataFormatException e) { - assertThat(e.toString(), containsString("Undeclared general entity")); + } catch (FHIRFormatError e) { + assertThat(e.toString(), containsString("unable to parse character reference ")); } } diff --git a/pom.xml b/pom.xml index 6f1169a74f7..5feaac0036f 100644 --- a/pom.xml +++ b/pom.xml @@ -503,13 +503,13 @@ 1.2.0 - 4.1.6 - 1.0.10 + 4.2.2-SNAPSHOT + 1.2 2.6.2 1.11 - 1.4 + 1.6 2.6 - 3.8 + 3.8.1 10.14.2.0 2.0.18 25.0-jre