hapi-fhir icon indicating copy to clipboard operation
hapi-fhir copied to clipboard

hapi-fhir-storage-cr has dependency on old/incompatible spring-security-core version

Open XcrigX opened this issue 1 year ago • 1 comments

hapi-fhir-storage-cr has a hardcoded dependency on an older spring-security-core version (5.7.8) - which is not compatible with the springboot version of the overall project.

Offending line: https://github.com/hapifhir/hapi-fhir/blob/master/hapi-fhir-storage-cr/pom.xml#L22

Since hapi-fhir-storage-cr is a dependency in the jpa starter project, this causes app context creation errors when adding spring-boot-starter-security as a dependency in the that project (for instance to support OAuth). see also: https://github.com/hapifhir/hapi-fhir-jpaserver-starter/pull/618

At this time, the version should be 6.2.0, but I think the version should inherit from the BOM and not be specified in hapi-fhir-storage-cr at all.

XcrigX avatar Mar 20 '24 13:03 XcrigX

@Capt-Mac - FYI in case this one "belongs" to you.

XcrigX avatar Mar 20 '24 13:03 XcrigX