Today I’m announcing the release of OpenMRS SDK 4.2.0. As I previously teased, this involves a large number of upgrades to components used by the SDK to more up-to-date versions. While I’ve been using the SDK with these changes for a while personally (and if you’ve used any of the SNAPSHOT builds, you will have done so as well), there may be issues that I haven’t encountered, so please report them here.
In addition to those changes, 4.2.0 includes the following enhancements:
- When building a distro, it is now possible to specify the version of the appshell to use by setting the
spa.coreproperty in the distro.properties file to the appropriate version. Previously, the
nextversion of the appshell was always used.
- The SDK now defaults to using Tomcat 9 when using the
- The SDK now properly supports passing Maven proxy settings to Node, so that if you’re using Maven to build a distribution behind a proxy, Node should use the same proxy settings as those configured for Maven.
Note that if you run into any blocking issues, previous versions of the SDK are still available and can be used. For instance, to run a server using the previous release (4.1.1) the command looks like this:
mvn org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:4.1.1:run <usual arguments here if any>