Dependency problems when building EMRAPI

Switching to 2.4-SNAPSHOT distro is a good option. Another possibility is to use provided scope for any openmrs dependencies as in this fix:

We’ll keep hitting that issue until we fix building the distro and release a new version. See: