mvn openmrs-sdk:setup Version Number: 3.3.0-SNAPSHOT
Question: I am following these instructions. https://openmrs.atlassian.net/wiki/spaces/docs/pages/25477418/Set+Up+OpenMRS+Server+with+OpenMRS+SDK+and+Docker
I am using jdk 1.8.0 and for purposes of this note am directly setting JAVA_HOME below (normally it’s aliased)
JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64 mvn openmrs-sdk:setup
In the section Set Up OpenMRS Server, when running the openmrs-sdk:setup target, instruction 3 says “Select 1 for distribution”. This could use an image or something specific. It’s covered in the picture for instruction 4, except that doesn’t match the prompt.
I am selecting O3 Distribution, which isn’t listed
The image under item 4, a different instruction, shows the available choices, but only shows “Distribution” and “Platform”.
Under version choice, I then select 3.3.0-SNAPSHOT.
Maven runs for a bit and then reports Build Failure.
[INFO] Configured Artifact: org.openmrs.content:referenceapplication:1.0.0-SNAPSHOT:zip [INFO] Unpacking /root/.m2/repository/org/openmrs/content/referenceapplication/1.0.0-SNAPSHOT/referenceapplication-1.0.0-SNAPSHOT.zip to /tmp/openmrs-sdk-referenceapplication5931784586745135491 with includes “” and excludes “” [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 09:52 min [INFO] Finished at: 2025-01-24T10:03:03-05:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:6.0.0:setup (default-cli) on project standalone-pom: Failed to setup server: Error: Frontend configuration folder not found. → [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] MojoExecutionException - Apache Maven - Apache Software Foundation root@pop-os:~#
Rerunning it with -X gives me a stack trace to go with that but not much else.
Selecting a 2.x Server does not run into this problem.
Selecting 3.2.1-rc4 does not run into this problem either.
I can make progress with 3.2.1-rc4 for the moment. I am just starting out.