Failure running Test while building PIH on fresh clone

Hello @mogoodrich, @dkayiwa.

On a fresh clone of the PIH core module when I compile I run into failures if I allow the tests to run. but on skipping the tests the compilations goes on well, Its actually not test failures but failure in running the tests. here is the link to the errors https://pastebin.com/T9w2eSh8.

I am using Java version: 1.8.0_181 , maven 3.3.9 I have been googling and reading though talk to see if I can find something related to that but haven’t find any that works. Thanks for any instructions on how to proceed.

Can you share a link of the exact repository that you are cloning?

I cloned the code from here https://github.com/PIH/openmrs-module-pihcore.git

@harisu … strange. It works for me locally, but of course I have a whole PIH dev environment set up… it looks like it’s not finding some classes with OpenMRS Core.

PIH Core builds against OpenMRS Core 2.2.0-SNAPSHOT, so can you check out the 2.2.x branch of OpenMRS Core and do a mvn install and then retry the PIH Core build and see if that works?

Take care, Mark