Installing reference application 3.0.0 snapshot

Application Name: Reference Application v. 3 - SNAPSHOT Version Number: 3.0.0-SNAPSHOT

Question: I can’t seem to install the ref.app. v.3.0.0 snapshot using the OpenMRS SDK command mvn openmrs-sdk:setup and selecting “Distribution” and then “1) Reference Application 3.0.0-SNAPSHOT”. It returns and error

[ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:4.4.0:setup (default-cli) on project standalone-pom: Failed to setup server: Unable to find/resolve artifact. Could not transfer artifact org.ope                                          enmrs.distro:referenceapplication-package:jar:3.0.0-SNAPSHOT from/to openmrs-repo-thirdparty (https://mavenrepo.openmrs.org/thirdparty): transfer failed for https://mavenrepo.openmrs.org/thirdparty/org/openmrs/distro/referenceapplication-package/3.0.0-SNAPSHOT/referenceapplication-package-3.0.0-SNAPSHOT.jar, status: 409 Conflict -> [Help 1]

Inspecting the url https://openmrs.jfrog.io/ui/native/thirdparty/org/openmrs/distro/referenceapplication-package/3.0.0-SNAPSHOT/referenceapplication-package-3.0.0-SNAPSHOT.jar for the package at jfrog using a browser I get a 404 wrapped in some json:

{
  "errors": [
    {
      "status": 404,
      "message": "Item thirdparty:org/openmrs/distro/referenceapplication-package/3.0.0-SNAPSHOT/referenceapplication-package-3.0.0-SNAPSHOT.jar does not exist"
    }
  ]
}

Is the package missing or is it a problem with my setup?

Yes that has some known issues. Choose version 2.13.0-SNAPSHOT

1 Like

Thanks for a swift reply :slight_smile: