Advertisement
jamanikoff

the maven build failed for the sync module

Dec 29th, 2020
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.46 KB | None | 0 0
  1. the maven build failed for the sync module:
  2.  
  3. C:\Users\jaman\git\openmrs-module-sync>mvn package
  4. Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
  5. [INFO] Scanning for projects...
  6. [INFO] ------------------------------------------------------------------------
  7. [INFO] Reactor Build Order:
  8. [INFO]
  9. [INFO] Synchronization Module [pom]
  10. [INFO] Synchronization Module API [jar]
  11. [INFO] Synchronization Module OMOD [jar]
  12. [INFO]
  13. [INFO] ----------------------< org.openmrs.module:sync >-----------------------
  14. [INFO] Building Synchronization Module 2.0.0-SNAPSHOT [1/3]
  15. [INFO] --------------------------------[ pom ]---------------------------------
  16. [INFO]
  17. [INFO] --------------------< org.openmrs.module:sync-api >---------------------
  18. [INFO] Building Synchronization Module API 2.0.0-SNAPSHOT [2/3]
  19. [INFO] --------------------------------[ jar ]---------------------------------
  20. Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/api/openmrs-api/2.3.0/openmrs-api-2.3.0.pom
  21. Downloading from archetype: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/api/openmrs-api/2.3.0/openmrs-api-2.3.0.pom
  22. Downloading from openmrs-repo-thirdparty: http://mavenrepo.openmrs.org/nexus/content/repositories/thirdparty/org/openmrs/api/openmrs-api/2.3.0/openmrs-api-2.3.0.pom
  23. Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/web/openmrs-web/2.3.0/openmrs-web-2.3.0.pom
  24. Downloading from archetype: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/web/openmrs-web/2.3.0/openmrs-web-2.3.0.pom
  25. Downloading from openmrs-repo-thirdparty: http://mavenrepo.openmrs.org/nexus/content/repositories/thirdparty/org/openmrs/web/openmrs-web/2.3.0/openmrs-web-2.3.0.pom
  26. Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/test/openmrs-test/2.3.0/openmrs-test-2.3.0.pom
  27. Downloading from archetype: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/test/openmrs-test/2.3.0/openmrs-test-2.3.0.pom
  28. Downloading from openmrs-repo-thirdparty: http://mavenrepo.openmrs.org/nexus/content/repositories/thirdparty/org/openmrs/test/openmrs-test/2.3.0/openmrs-test-2.3.0.pom
  29. [INFO] ------------------------------------------------------------------------
  30. [INFO] Reactor Summary for Synchronization Module 2.0.0-SNAPSHOT:
  31. [INFO]
  32. [INFO] Synchronization Module ............................. SUCCESS [ 0.068 s]
  33. [INFO] Synchronization Module API ......................... FAILURE [ 17.079 s]
  34. [INFO] Synchronization Module OMOD ........................ SKIPPED
  35. [INFO] ------------------------------------------------------------------------
  36. [INFO] BUILD FAILURE
  37. [INFO] ------------------------------------------------------------------------
  38. [INFO] Total time: 19.281 s
  39. [INFO] Finished at: 2020-12-29T19:01:44Z
  40. [INFO] ------------------------------------------------------------------------
  41. [ERROR] Failed to execute goal on project sync-api: Could not resolve dependencies for project org.openmrs.module:sync-api:jar:2.0.0-SNAPSHOT: Failed to collect dependencies at org.openmrs.api:openmrs-api:jar:2.3.0: Failed to read artifact descriptor for org.openmrs.api:openmrs-api:jar:2.3.0: Could not transfer artifact org.openmrs.api:openmrs-api:pom:2.3.0 from/to openmrs-repo (http://mavenrepo.openmrs.org/nexus/content/repositories/public): Transfer failed for http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/api/openmrs-api/2.3.0/openmrs-api-2.3.0.pom: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1]
  42. [ERROR]
  43. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  44. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  45. [ERROR]
  46. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  47. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
  48. [ERROR]
  49. [ERROR] After correcting the problems, you can resume the build with the command
  50. [ERROR] mvn <args> -rf :sync-api
  51.  
  52. C:\Users\jaman\git\openmrs-module-sync>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement