Advertisement
spkabugo

Failure while creating server

Jul 8th, 2019
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 9.85 KB | None | 0 0
  1. Microsoft Windows [Version 10.0.17134.829]
  2. (c) 2018 Microsoft Corporation. All rights reserved.
  3.  
  4. C:\Users\hp>mvn openmrs-sdk:setup
  5. [INFO] Scanning for projects...
  6. Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/apache/maven/plugins/maven-metadata.xml
  7. Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-metadata.xml
  8. Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/maven/plugins/maven-metadata.xml
  9. Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/openmrs/maven/plugins/maven-metadata.xml
  10. Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/codehaus/mojo/maven-metadata.xml
  11. Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/codehaus/mojo/maven-metadata.xml
  12. Downloaded from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/openmrs/maven/plugins/maven-metadata.xml (432 B at 70 B/s)
  13. [WARNING] Could not transfer metadata org.openmrs.maven.plugins/maven-metadata.xml from/to openmrs-repo (http://mavenrepo.openmrs.org/nexus/content/repositories/public): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  14. [WARNING] Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to openmrs-repo (http://mavenrepo.openmrs.org/nexus/content/repositories/public): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  15. [WARNING] Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to openmrs-repo (http://mavenrepo.openmrs.org/nexus/content/repositories/public): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  16. Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/maven-metadata.xml
  17. Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/maven-metadata.xml
  18. Downloaded from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/maven-metadata.xml (1.5 kB at 1.4 kB/s)
  19. [WARNING] Could not transfer metadata org.openmrs.maven.plugins:openmrs-sdk-maven-plugin/maven-metadata.xml from/to openmrs-repo (http://mavenrepo.openmrs.org/nexus/content/repositories/public): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  20. [INFO]
  21. [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
  22. [INFO] Building Maven Stub Project (No POM) 1
  23. [INFO] --------------------------------[ pom ]---------------------------------
  24. [WARNING] Failure to transfer org.openmrs.maven.plugins/maven-metadata.xml from 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. Original error: Could not transfer metadata org.openmrs.maven.plugins/maven-metadata.xml from/to openmrs-repo (http://mavenrepo.openmrs.org/nexus/content/repositories/public): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  25. [WARNING] Failure to transfer org.apache.maven.plugins/maven-metadata.xml from 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. Original error: Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to openmrs-repo (http://mavenrepo.openmrs.org/nexus/content/repositories/public): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  26. [WARNING] Failure to transfer org.codehaus.mojo/maven-metadata.xml from 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. Original error: Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to openmrs-repo (http://mavenrepo.openmrs.org/nexus/content/repositories/public): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  27. [WARNING] Failure to transfer org.openmrs.maven.plugins:openmrs-sdk-maven-plugin/maven-metadata.xml from 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. Original error: Could not transfer metadata org.openmrs.maven.plugins:openmrs-sdk-maven-plugin/maven-metadata.xml from/to openmrs-repo (http://mavenrepo.openmrs.org/nexus/content/repositories/public): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  28. [INFO]
  29. [INFO] --- openmrs-sdk-maven-plugin:3.13.2:setup (default-cli) @ standalone-pom ---
  30.  
  31. Setting up a new server...
  32.  
  33. Specify server id (-DserverId) (default: 'server'): server
  34.  
  35. You can setup the following servers:
  36. 1) Distribution
  37. 2) Platform
  38.  
  39. Which one do you choose? [1/2]: 1
  40. [INFO] artifact org.openmrs.distro:referenceapplication-package: checking for updates from openmrs-repo
  41. [WARNING] repository metadata for: 'artifact org.openmrs.distro:referenceapplication-package' could not be retrieved from repository: openmrs-repo due to an error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  42. [INFO] artifact org.openmrs.distro:referenceapplication-package: checking for updates from openmrs-repo-thirdparty
  43. [WARNING] repository metadata for: 'artifact org.openmrs.distro:referenceapplication-package' could not be retrieved from repository: openmrs-repo-thirdparty due to an error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  44. [INFO] artifact org.openmrs.distro:referenceapplication-package: checking for updates from openmrs-bintray-repo
  45. [INFO] artifact org.openmrs.distro:referenceapplication-package: checking for updates from central
  46.  
  47. You can deploy the following versions of distribution:
  48. 1) Reference Application 2.3.1
  49. 2) Reference Application 2.2
  50. 3) Reference Application 2.1
  51. 4) Other...
  52.  
  53. Which one do you choose? [1/2/3/4]: 1
  54. [INFO] Configured Artifact: org.openmrs.web:openmrs-webapp:1.11.5:war
  55. Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/web/openmrs-webapp/1.11.5/openmrs-webapp-1.11.5.war
  56. Downloading from openmrs-repo-thirdparty: http://mavenrepo.openmrs.org/nexus/content/repositories/thirdparty/org/openmrs/web/openmrs-webapp/1.11.5/openmrs-webapp-1.11.5.war
  57. Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/openmrs/web/openmrs-webapp/1.11.5/openmrs-webapp-1.11.5.war
  58. Downloading from central: https://repo.maven.apache.org/maven2/org/openmrs/web/openmrs-webapp/1.11.5/openmrs-webapp-1.11.5.war
  59. [INFO] ------------------------------------------------------------------------
  60. [INFO] BUILD FAILURE
  61. [INFO] ------------------------------------------------------------------------
  62. [INFO] Total time:  03:13 min
  63. [INFO] Finished at: 2019-07-08T17:23:14+03:00
  64. [INFO] ------------------------------------------------------------------------
  65. [ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:3.13.2:setup (default-cli) on project standalone-pom: Failed to setup server: Unable to execute mojo: Unable to resolve artifact. Could not transfer artifact org.openmrs.web:openmrs-webapp:war:1.11.5 from/to openmrs-repo (http://mavenrepo.openmrs.org/nexus/content/repositories/public): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  66. [ERROR]   org.openmrs.web:openmrs-webapp:war:1.11.5
  67. [ERROR]
  68. [ERROR] from the specified remote repositories:
  69. [ERROR]   openmrs-repo (http://mavenrepo.openmrs.org/nexus/content/repositories/public, releases=true, snapshots=true),
  70. [ERROR]   openmrs-repo-thirdparty (http://mavenrepo.openmrs.org/nexus/content/repositories/thirdparty, releases=true, snapshots=true),
  71. [ERROR]   openmrs-bintray-repo (https://dl.bintray.com/openmrs/maven/, releases=true, snapshots=true),
  72. [ERROR]   central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
  73. [ERROR] -> [Help 1]
  74. [ERROR]
  75. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  76. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  77. [ERROR]
  78. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  79. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  80.  
  81. C:\Users\hp>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement