EMR-API build failing after RA 2.3 release?

EMR-API build failing after my commit, but I don’t think it’s me… looks like (I’m guessing), we need to upgrade to reference app distro 2.4-SNAPSHOT after the release today?

build 26-Oct-2015 22:47:03 [ERROR] The build could not read 1 project -> [Help 1] build 26-Oct-2015 22:47:03 [ERROR]
build 26-Oct-2015 22:47:03 [ERROR] The project org.openmrs.module:emrapi:1.12-SNAPSHOT (/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/pom.xml) has 7 errors build 26-Oct-2015 22:47:03 [ERROR] Non-resolvable import POM: Could not find artifact org.openmrs.distro:referenceapplication:pom:2.3-SNAPSHOT in openmrs-repo (http://mavenrepo.openmrs.org/nexus/content/repositories/public) @ line 55, column 25 -> [Help 2] build 26-Oct-2015 22:47:03 [ERROR] ‘dependencies.dependency.version’ for org.openmrs.module:reporting-api:jar is missing. @ line 68, column 20 build 26-Oct-2015 22:47:03 [ERROR] ‘dependencies.dependency.version’ for org.openmrs.module:serialization.xstream-api:jar is missing. @ line 73, column 21 build 26-Oct-2015 22:47:03 [ERROR] ‘dependencies.dependency.version’ for org.openmrs.module:calculation-api:jar is missing. @ line 78, column 21 build 26-Oct-2015 22:47:03 [ERROR] ‘dependencies.dependency.version’ for org.openmrs.module:providermanagement-api:jar is missing. @ line 83, column 21 build 26-Oct-2015 22:47:03 [ERROR] ‘dependencies.dependency.version’ for org.openmrs.module:metadatasharing-api:jar is missing. @ line 88, column 21 build 26-Oct-2015 22:47:03 [ERROR] ‘dependencies.dependency.version’ for org.openmrs:event-api:jar is missing. @ line 93, column 21 build 26-Oct-2015 22:47:03 [ERROR] build 26-Oct-2015 22:47:03 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. build 26-Oct-2015 22:47:03 [ERROR] Re-run Maven using the -X switch to enable full debug logging. build 26-Oct-2015 22:47:03 [ERROR] build 26-Oct-2015 22:47:03 [ERROR] For more information about the errors and possible solutions, please read the following articles: build 26-Oct-2015 22:47:03 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException build 26-Oct-2015 22:47:03 [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException simple 26-Oct-2015 22:47:03 Failing task since return code of [/usr/share/apache-maven-3.2.3/bin/mvn --batch-mode -Djava.io.tmpdir=/home/bamboo-agent-2/bamboo-agent/.agent_tmp/EMRAPI-EMRAPI-JOB1 clean deploy] was 1 while expected 0 simple 26-Oct-2015 22:47:03 Parsing test results under /home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1… simple 26-Oct-2015 22:47:03 Finished task ‘test and deploy’ with result: Failed simple 26-Oct-2015 22:47:03 Running post build plugin ‘Artifact Copier’ simple 26-Oct-2015 22:47:03 Running post build plugin ‘npm Cache Cleanup’ simple 26-Oct-2015 22:47:03 Running post build plugin ‘NCover Results Collector’ simple 26-Oct-2015 22:47:03 Running post build plugin ‘Clover Results Collector’ simple 26-Oct-2015 22:47:03 Finalising the build… simple 26-Oct-2015 22:47:03 Stopping timer. simple 26-Oct-2015 22:47:03 Build EMRAPI-EMRAPI-JOB1-1305 completed. simple 26-Oct-2015 22:47:03 Running on server: post build plugin ‘Clover Delta Calculator’ simple 26-Oct-2015 22:47:03 Running on server: post build plugin ‘Build Hanging Detection Configuration’ simple 26-Oct-2015 22:47:03 Running on server: post build plugin ‘NCover Results Collector’ simple 26-Oct-2015 22:47:03 Running on server: post build plugin ‘Sonar Build Log Password Obfuscator’ simple 26-Oct-2015 22:47:03 Running on server: post build plugin ‘Maven Dependencies Postprocessor’ simple 26-Oct-2015 22:47:03 All post build plugins have finished simple 26-Oct-2015 22:47:03 Generating build results summary… simple 26-Oct-2015 22:47:03 Saving build results to disk… simple 26-Oct-2015 22:47:03 Indexing build results… simple 26-Oct-2015 22:47:03 Finished building EMRAPI-EMRAPI-JOB1-1305.

Hi @mogoodrich :slight_smile:

The error’s mention that the dependencies are missing but they are rightly mentioned in distro pom according to my knowledge. Can you please guide me if there is something else conveyed here by the log, that is against my understanding?

Reference app is already upgraded to the next development iteration - if that was the guess. If not, I am open to know, understand and do what else has to be done in terms of keeping everything else in place? :smiley:

Also, I would be happy to know if there’s anything to be done by me to clear this build failure ASAP :slight_smile:

Thank you

Fixed in:

The reason is that 2.3-SNAPSHOT does no longer exist once 2.3 is released.

1 Like