I’m using the following OpenMRS implementations in the development environments:
Platform 1.11.5
Reference Application 2.3
Bundled modules that came along with Reference Application 2.3
I’ve noticed a strange behavior of the modules especially while building them. The modules which used to build successfully without any errors the previous day, all of a sudden stop building even when there’s no change made to the implementation.
Few generic errors/exceptions I found in the build failure logs are:
package ‘package-name’ doesn’t exist
cannot find symbol/class
Modules like referencemetadata and formentryapp has reported the above build failure issues even when they were untouched and used to build without running into any issues earlier.
Note: I suspect the distro dependency loading the modules and api automatically as there are no version tag defined for various dependencies
Hello. I’m real new here, trying to grok openmrs, maven, etc. I replicated the build error for formentryapp and have been trying to understand why FormEntryContext.class is not found. It looks to me like a dependency has been missed, namely org.openmrs.module.web, which is where this class should be found, I think. I’m also new to nexus repositories but browsing them, I don’t find this package. Am I barking up the wrong tree?
@dkayiwa, @themoonraker13, @r0bby I have pulled the latest and build (mvn install) completes with no errors. Tests also completed without error.
Could you please tell me what was changed? Was it the distro version? I’m trying to get a handle on maven and openmrs dependencies.
thanks!
On the missing dependencies, we had a hiccup in our internal nexus (where
the artefacts are stored) after an upgrade, so we had to fix on the server.
Sorry for that.
The other error, the tests failing, I cannot tell, butcheck the latest
commits.
Yes @cintiadr is correct…I messed up but not in a way that is irreversible. All configuration – all data is still there. I spent all morning dealing with it.
@themoonraker13 i think some builds of 2.5-SNAPSHOT (Reference Application running on platform 2.0) have once in a while stollen the show for being the LATEST. We need to fix this though.