Uploaded image for project: 'Red Hat build of Apache Camel for Spring Boot'
  1. Red Hat build of Apache Camel for Spring Boot
  2. CSB-467

hapi-fhir artifacts have cyclic dependency in PNC

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • csb-3.20
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • 0

      There are two hapi-fhir projects : 

      They have cyclic dependencies on each other.    hapi-fhir/hapi-fhir produces hapi-fhir-base, which is consumed by org.hl7.fhir.core, but org.hl7.fhir.core produces a utilities that are consumed by hapi-fhir.

      We are getting duplicate artifacts in our MRRC because of this :
      **

      11:46:04 [ERROR] uniqueArtifacts(org.jboss.qa.marete.MavenRepoTest) Time elapsed: 8.21 s <<< FAILURE!11:46:04 java.lang.AssertionError: 11:46:04 [There must be no duplicates for ca.uhn.hapi.fhir:hapi-deployable-pom] 11:46:04 Expected size: 1 but was: 2 in:11:46:04 ["4.1.0.redhat-00002", "4.1.0.redhat-00003"]

      hapi-fhir builds the 4.1.0.redhat-00003 version of this, which is used by camel

      hapi-fhir uses a utility artifact from org.hl7.fhir.core that pulls in the 4.1.0.redhat-00002 version 

      Data from Grzegorz's tracking extension:

      Downloaded artifact ca.uhn.hapi.fhir:hapi-deployable-pom:pom::4.1.0.redhat-00002 (repository: fuse-repository (http://10.0.144.111:8081/repository/maven-public/, default, releases+snapshots))
        Model building for /Users/tcunning/.m2/repository/ca/uhn/hapi/fhir/org.hl7.fhir.utilities/4.1.0.redhat-00002/org.hl7.fhir.utilities-4.1.0.redhat-00002.pom

      We need to rebuild these with some sort of synchronization so that they use the same versions.

      I think this is the issue we're hitting :

      https://docs.engineering.redhat.com/display/JP/Using+a+BOM+to+serve+both+as+input+and+output

       

            fmariani@redhat.com Federico Mariani
            tcunning@redhat.com Thomas Cunningham
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: