Advertisement
Dileka

Untitled

Jul 22nd, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.07 KB | None | 0 0
  1. 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"
  2. [INFO] Scanning for projects...
  3. [INFO]
  4. [INFO] ------------------------------------------------------------------------
  5. [INFO] Building Maven Stub Project (No POM) 1
  6. [INFO] ------------------------------------------------------------------------
  7. [INFO]
  8. [INFO] --- openmrs-sdk-maven-plugin:3.13.1:setup (default-cli) @ standalone-pom ---
  9.  
  10. Setting up a new server...
  11. [INFO] Configured Artifact: org.openmrs.distro:referenceapplication-package:2.1.2:jar
  12. [INFO] ------------------------------------------------------------------------
  13. [INFO] BUILD FAILURE
  14. [INFO] ------------------------------------------------------------------------
  15. [INFO] Total time: 2.344s
  16. [INFO] Finished at: Mon Jul 23 09:19:12 IST 2018
  17. [INFO] Final Memory: 20M/212M
  18. [INFO] ------------------------------------------------------------------------
  19. [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
  20. [ERROR]
  21. [ERROR] Try downloading the file manually from the project website.
  22. [ERROR]
  23. [ERROR] Then, install it using the command:
  24. [ERROR] mvn install:install-file -DgroupId=org.openmrs.distro -DartifactId=referenceapplication-package -Dversion=2.1.2 -Dpackaging=jar -Dfile=/path/to/file
  25. [ERROR]
  26. [ERROR] Alternatively, if you host your own repository you can deploy the file there:
  27. [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]
  28. [ERROR]
  29. [ERROR]
  30. [ERROR] org.openmrs.distro:referenceapplication-package:jar:2.1.2
  31. [ERROR]
  32. [ERROR] from the specified remote repositories:
  33. [ERROR] openmrs-repo (http://mavenrepo.openmrs.org/nexus/content/repositories/public, releases=true, snapshots=true),
  34. [ERROR] openmrs-repo-thirdparty (http://mavenrepo.openmrs.org/nexus/content/repositories/thirdparty, releases=true, snapshots=true),
  35. [ERROR] openmrs-bintray-repo (https://dl.bintray.com/openmrs/maven/, releases=true, snapshots=true),
  36. [ERROR] central (http://repo.maven.apache.org/maven2, releases=true, snapshots=false)
  37. [ERROR] -> [Help 1]
  38. [ERROR]
  39. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  40. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  41. [ERROR]
  42. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  43. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement