Failing to Build OpenMRS 2.4.0-SNAPSHOT due to a maven Error

I’ve recently tried to build openmrs-module-fhir2 and it also breaks at the same point Logs here : https://pastebin.com/sdW1PKuk . I confirm the problem is on Maven