I’m trying to do something pretty standard with the SDK (that I’m pretty sure I’ve done before) and it failed confusingly.
I did setup for a new server with platform version 188.8.131.52.
Then I did
mvn openmrs-sdk:run -e and I got the error:
[ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:3.8.1:run-tomcat (default-cli) on project standalone-pom: Invalid server platform version: 184.108.40.206 -> [Help 1] … Caused by: org.apache.maven.plugin.MojoExecutionException: Invalid server platform version: 220.127.116.11 at org.openmrs.maven.plugins.RunTomcat.execute(RunTomcat.java:114)
Looking at the SDK code it seems like the SDK thinks this is neither a 1.x or 2.x platform line.
Has anyone seen this before?
(Could it be that it doesn’t handle version numbers with 4 components?)
EDIT: looking at https://github.com/apache/maven/blob/master/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java it appears this doesn’t support our 18.104.22.168 version number. In other words you can’t run the latest OpenMRS platform release via the SDK, as far as I can tell.