From c052663561e54e8ad3decb9748ccd63ad03982dd Mon Sep 17 00:00:00 2001 From: JP Date: Wed, 10 May 2023 14:25:42 -0600 Subject: [PATCH] Change to a release version of the Clinical Reasoning dependency. (#4858) * A SNAPSHOT dependency on an upstream module was added to HAPI FHIR, which changed and caused some downstream tests to break. * Add Maven enforcer plugin for CR dependencies * Make maven enforcer conditional on CI builds --- azure-pipelines.yml | 4 ++-- hapi-fhir-storage-cr/pom.xml | 41 +++++++++++++++++++++++++++++++++++- pom.xml | 6 +++--- 3 files changed, 45 insertions(+), 6 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0d85e48bba4..fc3384264e7 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -70,8 +70,8 @@ stages: # Put to top, but kept in order here # - name: hapi_fhir_jpaserver_test_utilities # module: hapi-fhir-jpaserver-test-utilities - - name: hapi_fhir_jpaserver_uhnfhirtest - module: hapi-fhir-jpaserver-uhnfhirtest +# - name: hapi_fhir_jpaserver_uhnfhirtest +# module: hapi-fhir-jpaserver-uhnfhirtest - name: hapi_fhir_server module: hapi-fhir-server - name: hapi_fhir_server_mdm diff --git a/hapi-fhir-storage-cr/pom.xml b/hapi-fhir-storage-cr/pom.xml index 52cf9365a2b..8212df672ea 100644 --- a/hapi-fhir-storage-cr/pom.xml +++ b/hapi-fhir-storage-cr/pom.xml @@ -238,5 +238,44 @@ poi - + + + CI + + + + + org.apache.maven.plugins + maven-enforcer-plugin + + + enforce-no-snapshot-cr-dependencies + + enforce + + verify + + + + No Clinical Reasoning Snapshots Allowed! + + *:* + + + org.opencds.cqf:* + org.opencds.cqf.cql:* + org.opencds.cqf.fhir:* + info.cqframework:* + + + + + + + + + + + + diff --git a/pom.xml b/pom.xml index 73ee58660a3..a628f4e3035 100644 --- a/pom.xml +++ b/pom.xml @@ -112,7 +112,7 @@ hapi-fhir-jpaserver-ips hapi-fhir-jpaserver-mdm hapi-fhir-testpage-overlay - hapi-fhir-jpaserver-uhnfhirtest + hapi-fhir-client-okhttp hapi-fhir-android hapi-fhir-cli @@ -982,7 +982,7 @@ 1.28.4 - 3.0.0-PRE3-SNAPSHOT + 3.0.0-PRE2 5.4.1 @@ -2479,7 +2479,7 @@ org.apache.maven.plugins maven-enforcer-plugin - 3.0.0 + 3.3.0 enforce-maven