Test Failures in OpenMRS SDK Build

I’m encountering test failures when running mvn clean install on my PC for the OpenMRS SDK.

[ERROR] Errors: [ERROR] org.openmrs.maven.plugins.utility.SpaInstallerTest.spaInstall_shouldParseConfigUrlsCorrectly [ERROR] Run 1: SpaInstallerTest.setup:36 » IllegalArgument Resource not found: /test-tmp [ERROR] Run 2: SpaInstallerTest.tearDown:43 NullPointer

I believe this issue is unrelated to the SDK codebase since the GitHub build runs without problems. Any help to diagnose and resolve this issue would be greatly appreciated.

Logs: /usr/lib/jvm/java-1.8.0-openjdk-amd64/bin/java -Dmaven.multiModuleProjectDirecto - Pastebin.com

GitHub Build: SDK-295: Multiple invocations of watch for the same project and serve… · wikumChamith/openmrs-sdk@2bd50eb · GitHub

cc: @dkayiwa, @ibacher

I got this issue fixed by changing Maven home from bundled to /usr/share/maven in Intellij.

1 Like