As part of the last OpenMRS 2.3 release, we have released emr-api:1.11.1 with the referenceapplication:2.3-SNAPSHOT dependency. As a result emr-api:1.11.1 cannot be used as a dependency in any module, because it requires at build time referenceapplication:2.3-SNAPSHOT, which no longer exists. The issue is we couldn’t have released emr-api:1.11.1 with the referenceapplication:2.2 dependency, because it needed some dependencies declared in referenceapplication:2.3-SNAPSHOT. At the same time referenceapplicatoin:2.3-SNAPSHOT could not have been released before emr-api:1.11.1 was released. We have pretty much the same issue in all our modules importing the referenceapplication pom.
We need to change how we release the Reference Application. First we need to release a pom that we import in all Reference Application modules (let’s call it the distro pom), next we release all modules and finally the distro (zip).
It means that the distro pom would be released with versions of modules that have not been released yet, but it is “ok”, since it is just a pom declaration. The distro pom would also have to be released independently from the project that assembles the distro zip, which would be the actual release of the Reference Application. It’s not ideal so I am hoping someone has a better idea