Have been trying to build openmrs-sdk module while trying to fix a small issue via mvn clean install by default ,
However i encountered failing integration tests, am not sure if anyone have encountered this before, here is the pastebin link for the error logs nTest[ERROR] deploy_shouldUpgradeDistroTo2_3_1(org.openmrs.maven.plugins.Deplo - Pastebin.com . Am not exactly sure whether this is a problem with maven version am using.which is 3.6.3 which i think its compatible with sdk maven version
The /opt/apache-maven-3.6.3/bin/ comes from your environment, most likely via the M2_HOME environment variables. So likely, you removed the /opt/apache-maven-3.6.3 folder from your machine, but didn’t reset remove it from the M2_HOME. Note that since Maven 3.5.0, Maven itself doesn’t read the M2_HOME variable, but the version of the Maven Verifier Plugin we use in the integration tests still looks at it to determine where Maven is installed. Most likely just unsetting your M2_HOME variable should get passed that issue.
Hello @bistenes I kindly request your help on how to fix the compilation error on this SDK module this is the error on the stack trace and my concentration is on. Failing task since return code of [/usr/share/apache-maven-3.3.9/bin/mvn --batch-mode -Djava.io.tmpdir=/home/bamboo-agent/bamboo-agent/.agent_tmp/SDK-SDK-JOB1 clean install] was 1 while expected 0 which I believe me fix the error.