Dependencies of ca.uhn.hapi.fhir.hapi-fhir-base/6.0.3 & R5 jars

31 views
Skip to first unread message

Paul Fraser

unread,
Aug 6, 2022, 3:41:36 AM8/6/22
to HAPI FHIR
Hi,

New to Hapi-Fhir and just interested at this stage in the Hapi-Fhir
models. (base and structure jars R5).

When the base and structure jars are included in a Karaf feature I get
the following problem.

karaf@root()> org.apache.felix.resolver.reason.ReasonException: Unable
to resolve root: missing requirement [root] osgi.identity;
osgi.identity=addonsystem; type=karaf.feature; version="[0.0.1,0.0.1]";
filter:="(&(osgi.identity=addonsystem)(type=karaf.feature)(version>=0.0.1)(version<=0.0.1))"
[caused by: Unable to resolve addonsystem/0.0.1: missing requirement
[addonsystem/0.0.1] osgi.identity;
osgi.identity=ca.uhn.hapi.fhir.hapi-fhir-structures-r5;
type=osgi.bundle; version="[6.0.3,6.0.3]"; resolution:=mandatory [caused
by: Unable to resolve ca.uhn.hapi.fhir.hapi-fhir-structures-r5/6.0.3:
missing requirement [ca.uhn.hapi.fhir.hapi-fhir-structures-r5/6.0.3]
osgi.wiring.package;
filter:="(&(osgi.wiring.package=ca.uhn.fhir.context)(version>=6.0.0)(!(version>=7.0.0)))"
[caused by: Unable to resolve ca.uhn.hapi.fhir.hapi-fhir-base/6.0.3:
missing requirement [ca.uhn.hapi.fhir.hapi-fhir-base/6.0.3]
osgi.wiring.package;
filter:="(&(osgi.wiring.package=com.fasterxml.jackson.annotation)(version>=2.13.0)(!(version>=3.0.0)))"]]]


Also after adding the required jackson jars I have problem with guava
not finding an internal package.

I have also tried using the Karaf feature included in the Hapi-Fhir
github repo but this gives some problems as well.

The maven entry for the Hapi-Fhir base and structure do not mention any
runtime requirements.

My question is what dependencies are needed in a simple feature just to
use the base and structure jars?

Thanks,

Paul Fraser


Reply all
Reply to author
Forward
0 new messages