Advertisement
geofreys

Error while Creating my first Module

Mar 9th, 2022
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.19 KB | None | 0 0
  1. Microsoft Windows [Version 6.3.9600]
  2. (c) 2013 Microsoft Corporation. All rights reserved.
  3.  
  4. C:\Users\GEOFREY>cd C:\Users\GEOFREY\patient
  5.  
  6. C:\Users\GEOFREY\patient>mvn openmrs-sdk:run
  7. [INFO] Scanning for projects...
  8. [WARNING]
  9. [WARNING] Some problems were encountered while building the effective model for
  10. org.openmrs.module:patient-api:jar:1.0.0-SNAPSHOT
  11. [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.m
  12. odule:dataexchange-omod:jar:tests must be one of [provided, compile, runtime, te
  13. st, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.
  14. 4, C:\Users\GEOFREY\.m2\repository\org\openmrs\distro\referenceapplication\2.4\r
  15. eferenceapplication-2.4.pom, line 814, column 12
  16. [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.m
  17. odule:allergyui-api:jar:tests must be one of [provided, compile, runtime, test,
  18. system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.4, C
  19. :\Users\GEOFREY\.m2\repository\org\openmrs\distro\referenceapplication\2.4\refer
  20. enceapplication-2.4.pom, line 848, column 12
  21. [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.m
  22. odule:formentryapp-api:jar:tests must be one of [provided, compile, runtime, tes
  23. t, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.4
  24. , C:\Users\GEOFREY\.m2\repository\org\openmrs\distro\referenceapplication\2.4\re
  25. ferenceapplication-2.4.pom, line 868, column 12
  26. [WARNING]
  27. [WARNING] Some problems were encountered while building the effective model for
  28. org.openmrs.module:patient-omod:jar:1.0.0-SNAPSHOT
  29. [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.m
  30. odule:dataexchange-omod:jar:tests must be one of [provided, compile, runtime, te
  31. st, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.
  32. 4, C:\Users\GEOFREY\.m2\repository\org\openmrs\distro\referenceapplication\2.4\r
  33. eferenceapplication-2.4.pom, line 814, column 12
  34. [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.m
  35. odule:allergyui-api:jar:tests must be one of [provided, compile, runtime, test,
  36. system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.4, C
  37. :\Users\GEOFREY\.m2\repository\org\openmrs\distro\referenceapplication\2.4\refer
  38. enceapplication-2.4.pom, line 848, column 12
  39. [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.m
  40. odule:formentryapp-api:jar:tests must be one of [provided, compile, runtime, tes
  41. t, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.4
  42. , C:\Users\GEOFREY\.m2\repository\org\openmrs\distro\referenceapplication\2.4\re
  43. ferenceapplication-2.4.pom, line 868, column 12
  44. [WARNING]
  45. [WARNING] Some problems were encountered while building the effective model for
  46. org.openmrs.module:patient:pom:1.0.0-SNAPSHOT
  47. [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.m
  48. odule:dataexchange-omod:jar:tests must be one of [provided, compile, runtime, te
  49. st, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.
  50. 4, C:\Users\GEOFREY\.m2\repository\org\openmrs\distro\referenceapplication\2.4\r
  51. eferenceapplication-2.4.pom, line 814, column 12
  52. [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.m
  53. odule:allergyui-api:jar:tests must be one of [provided, compile, runtime, test,
  54. system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.4, C
  55. :\Users\GEOFREY\.m2\repository\org\openmrs\distro\referenceapplication\2.4\refer
  56. enceapplication-2.4.pom, line 848, column 12
  57. [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.m
  58. odule:formentryapp-api:jar:tests must be one of [provided, compile, runtime, tes
  59. t, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.4
  60. , C:\Users\GEOFREY\.m2\repository\org\openmrs\distro\referenceapplication\2.4\re
  61. ferenceapplication-2.4.pom, line 868, column 12
  62. [WARNING]
  63. [WARNING] It is highly recommended to fix these problems because they threaten t
  64. he stability of your build.
  65. [WARNING]
  66. [WARNING] For this reason, future Maven versions might no longer support buildin
  67. g such malformed projects.
  68. [WARNING]
  69. [INFO] ------------------------------------------------------------------------
  70. [INFO] Reactor Build Order:
  71. [INFO]
  72. [INFO] Patient [pom]
  73. [INFO] Patient API [jar]
  74. [INFO] Patient OMOD [jar]
  75. [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no
  76. dependency information available
  77. [WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-map
  78. ping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its depende
  79. ncies could not be resolved: org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 was not
  80. found in https://mavenrepo.openmrs.org/public during a previous attempt. This f
  81. ailure was cached in the local repository and resolution is not reattempted unti
  82. l the update interval of openmrs-repo has elapsed or updates are forced
  83. [INFO]
  84. [INFO] ---------------------< org.openmrs.module:patient >---------------------
  85. [INFO] Building Patient 1.0.0-SNAPSHOT [1/3]
  86. [INFO] --------------------------------[ pom ]---------------------------------
  87. [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no
  88. dependency information available
  89. [WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-map
  90. ping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its depende
  91. ncies could not be resolved: org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 was not
  92. found in https://mavenrepo.openmrs.org/public during a previous attempt. This f
  93. ailure was cached in the local repository and resolution is not reattempted unti
  94. l the update interval of openmrs-repo has elapsed or updates are forced
  95. [INFO]
  96. [INFO] --- openmrs-sdk-maven-plugin:4.4.0:run (default-cli) @ patient ---
  97. Mar 09, 2022 7:11:21 PM org.jline.utils.Log logr
  98. WARNING: Unable to create a system terminal, creating a dumb terminal (enable de
  99. bug logging for more information)
  100.  
  101. You have the following servers::
  102. 1) myserver
  103.  
  104. Which one do you choose? [1]: 1
  105.  
  106. Checking if port 8080 is in use... [free]
  107. [INFO] OpenMRS module detected, installing before run...
  108. [INFO] Configured Artifact: org.openmrs.module:patient-omod:1.0.0-SNAPSHOT:jar
  109. Downloading from openmrs-repo-thirdparty: https://mavenrepo.openmrs.org/thirdpar
  110. ty/org/openmrs/module/patient-omod/1.0.0-SNAPSHOT/patient-omod-1.0.0-SNAPSHOT.ja
  111. r
  112. [INFO] ------------------------------------------------------------------------
  113. [INFO] Reactor Summary for Patient 1.0.0-SNAPSHOT:
  114. [INFO]
  115. [INFO] Patient ............................................ FAILURE [ 11.669 s]
  116. [INFO] Patient API ........................................ SKIPPED
  117. [INFO] Patient OMOD ....................................... SKIPPED
  118. [INFO] ------------------------------------------------------------------------
  119. [INFO] BUILD FAILURE
  120. [INFO] ------------------------------------------------------------------------
  121. [INFO] Total time: 12.771 s
  122. [INFO] Finished at: 2022-03-09T19:11:31-08:00
  123. [INFO] ------------------------------------------------------------------------
  124. [ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugi
  125. n:4.4.0:run (default-cli) on project patient: Unable to find/resolve artifact.:
  126. Could not transfer artifact org.openmrs.module:patient-omod:jar:1.0.0-SNAPSHOT f
  127. rom/to openmrs-repo-thirdparty (https://mavenrepo.openmrs.org/thirdparty): trans
  128. fer failed for https://mavenrepo.openmrs.org/thirdparty/org/openmrs/module/patie
  129. nt-omod/1.0.0-SNAPSHOT/patient-omod-1.0.0-SNAPSHOT.jar, status: 409 Conflict ->
  130. [Help 1]
  131. [ERROR]
  132. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
  133. ch.
  134. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  135. [ERROR]
  136. [ERROR] For more information about the errors and possible solutions, please rea
  137. d the following articles:
  138. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
  139. xception
  140.  
  141. C:\Users\GEOFREY\patient>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement