Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mvn openmrs-sdk:setup -DserverId=distro-2-1-2 -Ddistro=referenceapplication:2.1.2 -DdbUri=jdbc:mysql://localhost:3306/distro-2-1-2 -DdbUser=root -DdbPassword=@123456dM -DjavaHome="/usr/lib/jvm/java-8-oracle"
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building Maven Stub Project (No POM) 1
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- openmrs-sdk-maven-plugin:3.13.1:setup (default-cli) @ standalone-pom ---
- Setting up a new server...
- [INFO] Configured Artifact: org.openmrs.distro:referenceapplication-package:2.1.2:jar
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 2.344s
- [INFO] Finished at: Mon Jul 23 09:19:12 IST 2018
- [INFO] Final Memory: 20M/212M
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:3.13.1:setup (default-cli) on project standalone-pom: Unable to execute mojo: Unable to find artifact. Failure to find org.openmrs.distro:referenceapplication-package:jar:2.1.2 in http://mavenrepo.openmrs.org/nexus/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of openmrs-repo has elapsed or updates are forced
- [ERROR]
- [ERROR] Try downloading the file manually from the project website.
- [ERROR]
- [ERROR] Then, install it using the command:
- [ERROR] mvn install:install-file -DgroupId=org.openmrs.distro -DartifactId=referenceapplication-package -Dversion=2.1.2 -Dpackaging=jar -Dfile=/path/to/file
- [ERROR]
- [ERROR] Alternatively, if you host your own repository you can deploy the file there:
- [ERROR] mvn deploy:deploy-file -DgroupId=org.openmrs.distro -DartifactId=referenceapplication-package -Dversion=2.1.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
- [ERROR]
- [ERROR]
- [ERROR] org.openmrs.distro:referenceapplication-package:jar:2.1.2
- [ERROR]
- [ERROR] from the specified remote repositories:
- [ERROR] openmrs-repo (http://mavenrepo.openmrs.org/nexus/content/repositories/public, releases=true, snapshots=true),
- [ERROR] openmrs-repo-thirdparty (http://mavenrepo.openmrs.org/nexus/content/repositories/thirdparty, releases=true, snapshots=true),
- [ERROR] openmrs-bintray-repo (https://dl.bintray.com/openmrs/maven/, releases=true, snapshots=true),
- [ERROR] central (http://repo.maven.apache.org/maven2, releases=true, snapshots=false)
- [ERROR] -> [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] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement