FHIR Chat · Maven Problem · hapi

Stream: hapi

Topic: Maven Problem


view this post on Zulip Grahame Grieve (Jan 01 2022 at 07:14):

I'm trying to add R4B code for HAPI. My PR is failing quickly with a maven error I don't understand - and don't get locally. Does anyone have any good ideas what's going on with maven here?

https://github.com/hapifhir/org.hl7.fhir.core/pull/702

view this post on Zulip JP (Jan 01 2022 at 16:10):

Hi Grahame,

Looks like the master branch has already revisioned to 5.6.22-SNAPSHOT while the gg-202201-r4b branch has not. The build is running on the post-merge version of the branch so all the other maven modules are at 5.6.22-SNAPSHOT. R4B is not because it's new and wasn't updated on master, so it's looking for a non-existent (from the perspective of the post-merge branch) 5.6.21-SNAPSHOT parent pom. If you merge in the changes from master (or rebase onto master) and then update the rb4 version to 5.6.22-SNAPSHOT it should work. I debugged this by checking to see which branch was actually being built by the CI in the logs here:

https://dev.azure.com/fhir-pipelines/fhir-core-library/_build/results?buildId=5363&view=logs&j=011e1ec8-6569-5e69-4f06-baf193d1351e&t=28cbacfb-5312-5cce-4e9c-30e7286e4c6d&l=648

view this post on Zulip Grahame Grieve (Jan 01 2022 at 19:25):

thanks. I should've thought of that

view this post on Zulip Grahame Grieve (Jan 01 2022 at 22:52):

ok merged. @James Agnew HAPI can support R4B whenever you want now


Last updated: Apr 12 2022 at 19:14 UTC