Guest User

openmrs-module-coreapps

a guest
Feb 17th, 2021
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.30 KB | None | 0 0
  1. C:\Users\admin\myOpenmrs\openmrs-module-coreapps>mvn clean install
  2. [INFO] Scanning for projects...
  3. [WARNING]
  4. [WARNING] Some problems were encountered while building the effective model for org.openmrs.module:coreapps-omod:jar:1.32.0-SNAPSHOT
  5. [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-dependency-plugin @ line 450, column 21
  6. [WARNING] 'build.plugins.plugin.version' for de.saumya.mojo:gem-maven-plugin is missing. @ line 476, column 21
  7. [WARNING]
  8. [WARNING] Some problems were encountered while building the effective model for org.openmrs.module:coreapps-api-2.2:jar:1.32.0-SNAPSHOT
  9. [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.openmrs.module:serialization.xstream-api:jar -> duplicate declaration of version (?) @ line 154, column 16
  10. [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.openmrs.module:serialization.xstream-api-1.9:jar -> duplicate declaration of version (?) @ line 160, column 16
  11. [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.openmrs.module:serialization.xstream-api-1.10:jar -> duplicate declaration of version (?) @ line 166, column 16
  12. [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.openmrs.module:serialization.xstream-api-2.0:jar -> duplicate declaration of version (?) @ line 172, column 16
  13. [WARNING]
  14. [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
  15. [WARNING]
  16. [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
  17. [WARNING]
  18. [INFO] ------------------------------------------------------------------------
  19. [INFO] Reactor Build Order:
  20. [INFO]
  21. [INFO] Core Apps Module [pom]
  22. [INFO] Core Apps Module API-pre2.2 [jar]
  23. [INFO] Core Apps Module API [jar]
  24. [INFO] coreapps Module web 1.9 [jar]
  25. [INFO] coreapps Module web 2.0 [jar]
  26. [INFO] Core Apps Module API 2.2 [jar]
  27. [INFO] Core Apps Module OMOD [jar]
  28. [INFO]
  29. [INFO] --------------------< org.openmrs.module:coreapps >---------------------
  30. [INFO] Building Core Apps Module 1.32.0-SNAPSHOT [1/7]
  31. [INFO] --------------------------------[ pom ]---------------------------------
  32. [INFO]
  33. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ coreapps ---
  34. [INFO]
  35. [INFO] --- maven-install-plugin:2.4:install (default-install) @ coreapps ---
  36. [INFO] Installing C:\Users\admin\myOpenmrs\openmrs-module-coreapps\pom.xml to C:\Users\admin\.m2\repository\org\openmrs\module\coreapps\1.32.0-SNAPSHOT\coreapps-1.32.0-SNAPSHOT.pom
  37. [INFO]
  38. [INFO] ---------------< org.openmrs.module:coreapps-api-pre2.2 >---------------
  39. [INFO] Building Core Apps Module API-pre2.2 1.32.0-SNAPSHOT [2/7]
  40. [INFO] --------------------------------[ jar ]---------------------------------
  41. [INFO]
  42. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ coreapps-api-pre2.2 ---
  43. [INFO] Deleting C:\Users\admin\myOpenmrs\openmrs-module-coreapps\api-pre2.2\target
  44. [INFO]
  45. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ coreapps-api-pre2.2 ---
  46. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  47. [INFO] skip non existing resourceDirectory C:\Users\admin\myOpenmrs\openmrs-module-coreapps\api-pre2.2\src\main\resources
  48. [INFO]
  49. [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ coreapps-api-pre2.2 ---
  50. [INFO] Changes detected - recompiling the module!
  51. [INFO] Compiling 1 source file to C:\Users\admin\myOpenmrs\openmrs-module-coreapps\api-pre2.2\target\classes
  52. [WARNING] /C:/Users/admin/myOpenmrs/openmrs-module-coreapps/api-pre2.2/src/main/java/org/openmrs/module/coreapps/htmlformentry/EncounterDiagnosesElement.java: C:\Users\admin\myOpenmrs\openmrs-module-coreapps\api-pre2.2\src\main\java\org\openmrs\module\coreapps\htmlformentry\EncounterDiagnosesElement.java uses or overrides a deprecated API.
  53. [WARNING] /C:/Users/admin/myOpenmrs/openmrs-module-coreapps/api-pre2.2/src/main/java/org/openmrs/module/coreapps/htmlformentry/EncounterDiagnosesElement.java: Recompile with -Xlint:deprecation for details.
  54. [WARNING] /C:/Users/admin/myOpenmrs/openmrs-module-coreapps/api-pre2.2/src/main/java/org/openmrs/module/coreapps/htmlformentry/EncounterDiagnosesElement.java: C:\Users\admin\myOpenmrs\openmrs-module-coreapps\api-pre2.2\src\main\java\org\openmrs\module\coreapps\htmlformentry\EncounterDiagnosesElement.java uses unchecked or unsafe operations.
  55. [WARNING] /C:/Users/admin/myOpenmrs/openmrs-module-coreapps/api-pre2.2/src/main/java/org/openmrs/module/coreapps/htmlformentry/EncounterDiagnosesElement.java: Recompile with -Xlint:unchecked for details.
  56. [INFO]
  57. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ coreapps-api-pre2.2 ---
  58. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  59. [INFO] skip non existing resourceDirectory C:\Users\admin\myOpenmrs\openmrs-module-coreapps\api-pre2.2\src\test\resources
  60. [INFO]
  61. [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ coreapps-api-pre2.2 ---
  62. [INFO] No sources to compile
  63. [INFO]
  64. [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ coreapps-api-pre2.2 ---
  65. [INFO] No tests to run.
  66. [INFO]
  67. [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ coreapps-api-pre2.2 ---
  68. [INFO] Building jar: C:\Users\admin\myOpenmrs\openmrs-module-coreapps\api-pre2.2\target\coreapps-api-pre2.2-1.32.0-SNAPSHOT.jar
  69. [INFO]
  70. [INFO] --- maven-install-plugin:2.4:install (default-install) @ coreapps-api-pre2.2 ---
  71. [INFO] Installing C:\Users\admin\myOpenmrs\openmrs-module-coreapps\api-pre2.2\target\coreapps-api-pre2.2-1.32.0-SNAPSHOT.jar to C:\Users\admin\.m2\repository\org\openmrs\module\coreapps-api-pre2.2\1.32.0-SNAPSHOT\coreapps-api-pre2.2-1.32.0-SNAPSHOT.jar
  72. [INFO] Installing C:\Users\admin\myOpenmrs\openmrs-module-coreapps\api-pre2.2\pom.xml to C:\Users\admin\.m2\repository\org\openmrs\module\coreapps-api-pre2.2\1.32.0-SNAPSHOT\coreapps-api-pre2.2-1.32.0-SNAPSHOT.pom
  73. [INFO]
  74. [INFO] ------------------< org.openmrs.module:coreapps-api >-------------------
  75. [INFO] Building Core Apps Module API 1.32.0-SNAPSHOT [3/7]
  76. [INFO] --------------------------------[ jar ]---------------------------------
  77. [INFO]
  78. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ coreapps-api ---
  79. [INFO] Deleting C:\Users\admin\myOpenmrs\openmrs-module-coreapps\api\target
  80. [INFO]
  81. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ coreapps-api ---
  82. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  83. [INFO] Copying 22 resources
  84. [INFO]
  85. [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ coreapps-api ---
  86. [INFO] Changes detected - recompiling the module!
  87. [INFO] Compiling 20 source files to C:\Users\admin\myOpenmrs\openmrs-module-coreapps\api\target\classes
  88. [WARNING] /C:/Users/admin/myOpenmrs/openmrs-module-coreapps/api/src/main/java/org/openmrs/module/coreapps/CoreAppsProperties.java: Some input files use or override a deprecated API.
  89. [WARNING] /C:/Users/admin/myOpenmrs/openmrs-module-coreapps/api/src/main/java/org/openmrs/module/coreapps/CoreAppsProperties.java: Recompile with -Xlint:deprecation for details.
  90. [WARNING] /C:/Users/admin/myOpenmrs/openmrs-module-coreapps/api/src/main/java/org/openmrs/module/coreapps/parser/ParseEncounterToJson.java: Some input files use unchecked or unsafe operations.
  91. [WARNING] /C:/Users/admin/myOpenmrs/openmrs-module-coreapps/api/src/main/java/org/openmrs/module/coreapps/parser/ParseEncounterToJson.java: Recompile with -Xlint:unchecked for details.
  92. [INFO]
  93. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ coreapps-api ---
  94. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  95. [INFO] skip non existing resourceDirectory C:\Users\admin\myOpenmrs\openmrs-module-coreapps\api\src\test\resources
  96. [INFO]
  97. [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ coreapps-api ---
  98. [INFO] Changes detected - recompiling the module!
  99. [INFO] Compiling 4 source files to C:\Users\admin\myOpenmrs\openmrs-module-coreapps\api\target\test-classes
  100. [INFO]
  101. [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ coreapps-api ---
  102. [INFO]
  103. [INFO] -------------------------------------------------------
  104. [INFO] T E S T S
  105. [INFO] -------------------------------------------------------
  106. [INFO] Running org.openmrs.module.coreapps.htmlformentry.CodedOrFreeTextAnswerListWidgetTest
  107. [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.759 s - in org.openmrs.module.coreapps.htmlformentry.CodedOrFreeTextAnswerListWidgetTest
  108. [INFO] Running org.openmrs.module.coreapps.htmlformentry.EncounterDiagnosesElementTest
  109. ERROR - Context.getServiceContext(260) |2021-02-17 13:56:20,143| serviceContext is null. Creating new ServiceContext()
  110. [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.19 s - in org.openmrs.module.coreapps.htmlformentry.EncounterDiagnosesElementTest
  111. [INFO] Running org.openmrs.module.coreapps.htmlformentry.EncounterDiagnosesTagHandlerTest
  112. [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.991 s - in org.openmrs.module.coreapps.htmlformentry.EncounterDiagnosesTagHandlerTest
  113. [INFO] Running org.openmrs.module.coreapps.parser.ParseEncounterToJsonTest
  114. SLF4J: Class path contains multiple SLF4J bindings.
  115. SLF4J: Found binding in [jar:file:/C:/Users/admin/.m2/repository/org/slf4j/slf4j-log4j12/1.6.0/slf4j-log4j12-1.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
  116. SLF4J: Found binding in [jar:file:/C:/Users/admin/.m2/repository/org/slf4j/slf4j-log4j12/1.6.0/slf4j-log4j12-1.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
  117. SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
  118. [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.789 s - in org.openmrs.module.coreapps.parser.ParseEncounterToJsonTest
  119. [INFO]
  120. [INFO] Results:
  121. [INFO]
  122. [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0
  123. [INFO]
  124. [INFO]
  125. [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ coreapps-api ---
  126. [INFO] Building jar: C:\Users\admin\myOpenmrs\openmrs-module-coreapps\api\target\coreapps-api-1.32.0-SNAPSHOT.jar
  127. [INFO]
  128. [INFO] --- maven-install-plugin:2.4:install (default-install) @ coreapps-api ---
  129. [INFO] Installing C:\Users\admin\myOpenmrs\openmrs-module-coreapps\api\target\coreapps-api-1.32.0-SNAPSHOT.jar to C:\Users\admin\.m2\repository\org\openmrs\module\coreapps-api\1.32.0-SNAPSHOT\coreapps-api-1.32.0-SNAPSHOT.jar
  130. [INFO] Installing C:\Users\admin\myOpenmrs\openmrs-module-coreapps\api\pom.xml to C:\Users\admin\.m2\repository\org\openmrs\module\coreapps-api\1.32.0-SNAPSHOT\coreapps-api-1.32.0-SNAPSHOT.pom
  131. [INFO]
  132. [INFO] ----------------< org.openmrs.module:coreapps-web-1.9 >-----------------
  133. [INFO] Building coreapps Module web 1.9 1.32.0-SNAPSHOT [4/7]
  134. [INFO] --------------------------------[ jar ]---------------------------------
  135. [INFO]
  136. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ coreapps-web-1.9 ---
  137. [INFO] Deleting C:\Users\admin\myOpenmrs\openmrs-module-coreapps\web-1.9\target
  138. [INFO]
  139. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ coreapps-web-1.9 ---
  140. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  141. [INFO] skip non existing resourceDirectory C:\Users\admin\myOpenmrs\openmrs-module-coreapps\web-1.9\src\main\resources
  142. [INFO]
  143. [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ coreapps-web-1.9 ---
  144. [INFO] Changes detected - recompiling the module!
  145. [INFO] Compiling 3 source files to C:\Users\admin\myOpenmrs\openmrs-module-coreapps\web-1.9\target\classes
  146. [INFO]
  147. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ coreapps-web-1.9 ---
  148. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  149. [INFO] skip non existing resourceDirectory C:\Users\admin\myOpenmrs\openmrs-module-coreapps\web-1.9\src\test\resources
  150. [INFO] skip non existing resourceDirectory C:\Users\admin\myOpenmrs\openmrs-module-coreapps\web-1.9\src\test\resources
  151. [INFO]
  152. [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ coreapps-web-1.9 ---
  153. [INFO] No sources to compile
  154. [INFO]
  155. [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ coreapps-web-1.9 ---
  156. [INFO] No tests to run.
  157. [INFO]
  158. [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ coreapps-web-1.9 ---
  159. [INFO] Building jar: C:\Users\admin\myOpenmrs\openmrs-module-coreapps\web-1.9\target\coreapps-web-1.9-1.32.0-SNAPSHOT.jar
  160. [INFO]
  161. [INFO] --- maven-install-plugin:2.4:install (default-install) @ coreapps-web-1.9 ---
  162. [INFO] Installing C:\Users\admin\myOpenmrs\openmrs-module-coreapps\web-1.9\target\coreapps-web-1.9-1.32.0-SNAPSHOT.jar to C:\Users\admin\.m2\repository\org\openmrs\module\coreapps-web-1.9\1.32.0-SNAPSHOT\coreapps-web-1.9-1.32.0-SNAPSHOT.jar
  163. [INFO] Installing C:\Users\admin\myOpenmrs\openmrs-module-coreapps\web-1.9\pom.xml to C:\Users\admin\.m2\repository\org\openmrs\module\coreapps-web-1.9\1.32.0-SNAPSHOT\coreapps-web-1.9-1.32.0-SNAPSHOT.pom
  164. [INFO]
  165. [INFO] ----------------< org.openmrs.module:coreapps-web-2.0 >-----------------
  166. [INFO] Building coreapps Module web 2.0 1.32.0-SNAPSHOT [5/7]
  167. [INFO] --------------------------------[ jar ]---------------------------------
  168. [INFO]
  169. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ coreapps-web-2.0 ---
  170. [INFO] Deleting C:\Users\admin\myOpenmrs\openmrs-module-coreapps\web-2.0\target
  171. [INFO]
  172. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ coreapps-web-2.0 ---
  173. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  174. [INFO] skip non existing resourceDirectory C:\Users\admin\myOpenmrs\openmrs-module-coreapps\web-2.0\src\main\resources
  175. [INFO]
  176. [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ coreapps-web-2.0 ---
  177. [INFO] Changes detected - recompiling the module!
  178. [INFO] Compiling 3 source files to C:\Users\admin\myOpenmrs\openmrs-module-coreapps\web-2.0\target\classes
  179. [INFO]
  180. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ coreapps-web-2.0 ---
  181. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  182. [INFO] skip non existing resourceDirectory C:\Users\admin\myOpenmrs\openmrs-module-coreapps\web-2.0\src\test\resources
  183. [INFO] skip non existing resourceDirectory C:\Users\admin\myOpenmrs\openmrs-module-coreapps\web-2.0\src\test\resources
  184. [INFO]
  185. [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ coreapps-web-2.0 ---
  186. [INFO] No sources to compile
  187. [INFO]
  188. [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ coreapps-web-2.0 ---
  189. [INFO] No tests to run.
  190. [INFO]
  191. [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ coreapps-web-2.0 ---
  192. [INFO] Building jar: C:\Users\admin\myOpenmrs\openmrs-module-coreapps\web-2.0\target\coreapps-web-2.0-1.32.0-SNAPSHOT.jar
  193. [INFO]
  194. [INFO] --- maven-install-plugin:2.4:install (default-install) @ coreapps-web-2.0 ---
  195. [INFO] Installing C:\Users\admin\myOpenmrs\openmrs-module-coreapps\web-2.0\target\coreapps-web-2.0-1.32.0-SNAPSHOT.jar to C:\Users\admin\.m2\repository\org\openmrs\module\coreapps-web-2.0\1.32.0-SNAPSHOT\coreapps-web-2.0-1.32.0-SNAPSHOT.jar
  196. [INFO] Installing C:\Users\admin\myOpenmrs\openmrs-module-coreapps\web-2.0\pom.xml to C:\Users\admin\.m2\repository\org\openmrs\module\coreapps-web-2.0\1.32.0-SNAPSHOT\coreapps-web-2.0-1.32.0-SNAPSHOT.pom
  197. [INFO]
  198. [INFO] ----------------< org.openmrs.module:coreapps-api-2.2 >-----------------
  199. [INFO] Building Core Apps Module API 2.2 1.32.0-SNAPSHOT [6/7]
  200. [INFO] --------------------------------[ jar ]---------------------------------
  201. [INFO]
  202. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ coreapps-api-2.2 ---
  203. [INFO] Deleting C:\Users\admin\myOpenmrs\openmrs-module-coreapps\api-2.2\target
  204. [INFO]
  205. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ coreapps-api-2.2 ---
  206. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  207. [INFO] skip non existing resourceDirectory C:\Users\admin\myOpenmrs\openmrs-module-coreapps\api-2.2\src\main\resources
  208. [INFO]
  209. [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ coreapps-api-2.2 ---
  210. [INFO] Changes detected - recompiling the module!
  211. [INFO] Compiling 1 source file to C:\Users\admin\myOpenmrs\openmrs-module-coreapps\api-2.2\target\classes
  212. [WARNING] /C:/Users/admin/myOpenmrs/openmrs-module-coreapps/api-2.2/src/main/java/org/openmrs/module/coreapps/htmlformentry/EncounterDiagnosesElement.java: C:\Users\admin\myOpenmrs\openmrs-module-coreapps\api-2.2\src\main\java\org\openmrs\module\coreapps\htmlformentry\EncounterDiagnosesElement.java uses or overrides a deprecated API.
  213. [WARNING] /C:/Users/admin/myOpenmrs/openmrs-module-coreapps/api-2.2/src/main/java/org/openmrs/module/coreapps/htmlformentry/EncounterDiagnosesElement.java: Recompile with -Xlint:deprecation for details.
  214. [WARNING] /C:/Users/admin/myOpenmrs/openmrs-module-coreapps/api-2.2/src/main/java/org/openmrs/module/coreapps/htmlformentry/EncounterDiagnosesElement.java: C:\Users\admin\myOpenmrs\openmrs-module-coreapps\api-2.2\src\main\java\org\openmrs\module\coreapps\htmlformentry\EncounterDiagnosesElement.java uses unchecked or unsafe operations.
  215. [WARNING] /C:/Users/admin/myOpenmrs/openmrs-module-coreapps/api-2.2/src/main/java/org/openmrs/module/coreapps/htmlformentry/EncounterDiagnosesElement.java: Recompile with -Xlint:unchecked for details.
  216. [INFO]
  217. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ coreapps-api-2.2 ---
  218. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  219. [INFO] Copying 1 resource
  220. [INFO]
  221. [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ coreapps-api-2.2 ---
  222. [INFO] Changes detected - recompiling the module!
  223. [INFO] Compiling 2 source files to C:\Users\admin\myOpenmrs\openmrs-module-coreapps\api-2.2\target\test-classes
  224. [INFO]
  225. [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ coreapps-api-2.2 ---
  226. [INFO]
  227. [INFO] -------------------------------------------------------
  228. [INFO] T E S T S
  229. [INFO] -------------------------------------------------------
  230. [INFO] Running org.openmrs.module.htmlformentry.EncounterDiagnosesElementTest
  231. [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.439 s - in org.openmrs.module.htmlformentry.EncounterDiagnosesElementTest
  232. [INFO] Running org.openmrs.module.htmlformentry.EncounterDiagnosesTagHandlerComponentTest
  233. [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 262.395 s - in org.openmrs.module.htmlformentry.EncounterDiagnosesTagHandlerComponentTest
  234. [INFO]
  235. [INFO] Results:
  236. [INFO]
  237. [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
  238. [INFO]
  239. [INFO]
  240. [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ coreapps-api-2.2 ---
  241. [INFO] Building jar: C:\Users\admin\myOpenmrs\openmrs-module-coreapps\api-2.2\target\coreapps-api-2.2-1.32.0-SNAPSHOT.jar
  242. [INFO]
  243. [INFO] --- maven-install-plugin:2.4:install (default-install) @ coreapps-api-2.2 ---
  244. [INFO] Installing C:\Users\admin\myOpenmrs\openmrs-module-coreapps\api-2.2\target\coreapps-api-2.2-1.32.0-SNAPSHOT.jar to C:\Users\admin\.m2\repository\org\openmrs\module\coreapps-api-2.2\1.32.0-SNAPSHOT\coreapps-api-2.2-1.32.0-SNAPSHOT.jar
  245. [INFO] Installing C:\Users\admin\myOpenmrs\openmrs-module-coreapps\api-2.2\pom.xml to C:\Users\admin\.m2\repository\org\openmrs\module\coreapps-api-2.2\1.32.0-SNAPSHOT\coreapps-api-2.2-1.32.0-SNAPSHOT.pom
  246. [INFO]
  247. [INFO] ------------------< org.openmrs.module:coreapps-omod >------------------
  248. [INFO] Building Core Apps Module OMOD 1.32.0-SNAPSHOT [7/7]
  249. [INFO] --------------------------------[ jar ]---------------------------------
  250. [INFO]
  251. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ coreapps-omod ---
  252. [INFO]
  253. [INFO] --- maven-openmrs-plugin:1.0.1:initialize-module (init) @ coreapps-omod ---
  254. [INFO]
  255. [INFO] --- frontend-maven-plugin:1.4:install-node-and-npm (install node and npm) @ coreapps-omod ---
  256. [INFO] Node v6.10.0 is already installed.
  257. [INFO]
  258. [INFO] --- frontend-maven-plugin:1.4:npm (npm install) @ coreapps-omod ---
  259. [INFO] Running 'npm install --no-optional' in C:\Users\admin\myOpenmrs\openmrs-module-coreapps
  260. [INFO]
  261. [INFO] > gmsmith@0.4.5 preinstall C:\Users\admin\myOpenmrs\openmrs-module-coreapps\node_modules\.staging\gmsmith-ba6bb18e
  262. [INFO] > gm -version || convert -version
  263. [INFO]
  264. [ERROR] 'gm' is not recognized as an internal or external command,
  265. [ERROR] operable program or batch file.
  266. [ERROR] Invalid drive specification.
  267. [INFO]
  268. [INFO] > phantomjssmith@0.4.6 preinstall C:\Users\admin\myOpenmrs\openmrs-module-coreapps\node_modules\.staging\phantomjssmith-3f3b77e1
  269. [INFO] > phantomjs --version
  270. [INFO]
  271. [ERROR] module.js:471
  272. [ERROR] throw err;
  273. [ERROR] ^
  274. [ERROR]
  275. [ERROR] Error: Cannot find module 'C:\Users\admin\myOpenmrs\openmrs-module-coreapps\node_modules\phantomjs-prebuilt\bin\phantomjs'
  276. [ERROR] at Function.Module._resolveFilename (module.js:469:15)
  277. [ERROR] at Function.Module._load (module.js:417:25)
  278. [ERROR] at Module.runMain (module.js:604:10)
  279. [ERROR] at run (bootstrap_node.js:394:7)
  280. [ERROR] at startup (bootstrap_node.js:149:9)
  281. [ERROR] at bootstrap_node.js:509:3
  282. [INFO]
  283. [INFO] > canvas@1.1.6 install C:\Users\admin\myOpenmrs\openmrs-module-coreapps\node_modules\canvas
  284. [INFO] > node-gyp rebuild
  285. [INFO]
  286. [INFO]
  287. [INFO] C:\Users\admin\myOpenmrs\openmrs-module-coreapps\node_modules\canvas>if not defined npm_config_node_gyp (node "C:\Users\admin\myOpenmrs\openmrs-module-coreapps\node\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )
  288. [ERROR] gyp ERR! configure error
  289. [ERROR] gyp ERR! stack Error: Python executable "C:\Users\admin\AppData\Local\Programs\Python\Python39\python.EXE" is v3.9.1, which is not supported by gyp.
  290. [ERROR] gyp ERR! stack You can pass the --python switch to point to Python >= v2.5.0 & < 3.0.0.
  291. [ERROR] gyp ERR! stack at failPythonVersion (C:\Users\admin\myOpenmrs\openmrs-module-coreapps\node\node_modules\npm\node_modules\node-gyp\lib\configure.js:454:14)
  292. [ERROR] gyp ERR! stack at C:\Users\admin\myOpenmrs\openmrs-module-coreapps\node\node_modules\npm\node_modules\node-gyp\lib\configure.js:443:9
  293. [ERROR] gyp ERR! stack at ChildProcess.exithandler (child_process.js:197:7)
  294. [ERROR] gyp ERR! stack at emitTwo (events.js:106:13)
  295. [ERROR] gyp ERR! stack at ChildProcess.emit (events.js:191:7)
  296. [ERROR] gyp ERR! stack at maybeClose (internal/child_process.js:877:16)
  297. [ERROR] gyp ERR! stack at Socket.<anonymous> (internal/child_process.js:334:11)
  298. [ERROR] gyp ERR! stack at emitOne (events.js:96:13)
  299. [ERROR] gyp ERR! stack at Socket.emit (events.js:188:7)
  300. [ERROR] gyp ERR! stack at Pipe._handle.close [as _onclose] (net.js:498:12)
  301. [ERROR] gyp ERR! System Windows_NT 10.0.10586
  302. [ERROR] gyp ERR! command "C:\\Users\\admin\\myOpenmrs\\openmrs-module-coreapps\\node\\node.exe" "C:\\Users\\admin\\myOpenmrs\\openmrs-module-coreapps\\node\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
  303. [ERROR] gyp ERR! cwd C:\Users\admin\myOpenmrs\openmrs-module-coreapps\node_modules\canvas
  304. [ERROR] gyp ERR! node -v v6.10.0
  305. [ERROR] gyp ERR! node-gyp -v v3.4.0
  306. [ERROR] gyp ERR! not ok
  307. [INFO]
  308. [INFO] > phantomjs-prebuilt@2.1.16 install C:\Users\admin\myOpenmrs\openmrs-module-coreapps\node_modules\phantomjs-prebuilt
  309. [INFO] > node install.js
  310. [INFO]
  311. [INFO] Considering PhantomJS found at C:\Users\admin\AppData\Roaming\npm\phantomjs.CMD
  312. [INFO] Looks like an `npm install -g` on windows; skipping installed version.
  313. [INFO] Download already available at C:\Users\admin\AppData\Local\Temp\phantomjs\phantomjs-2.1.1-windows.zip
  314. [INFO] Checksum did not match
  315. [INFO] Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-windows.zip
  316. [INFO] Saving to C:\Users\admin\AppData\Local\Temp\phantomjs\phantomjs-2.1.1-windows.zip
  317. [INFO] Receiving...
  318. [INFO]
  319. [INFO] Received 682K total.
  320. [INFO] Extracting zip contents
  321. [ERROR] Error extracting zip
  322. [ERROR] Phantom installation failed Error: end of central directory record signature not found
  323. [ERROR] at C:\Users\admin\myOpenmrs\openmrs-module-coreapps\node_modules\extract-zip\node_modules\yauzl\index.js:167:14
  324. [ERROR] at C:\Users\admin\myOpenmrs\openmrs-module-coreapps\node_modules\extract-zip\node_modules\yauzl\index.js:473:5
  325. [ERROR] at C:\Users\admin\myOpenmrs\openmrs-module-coreapps\node_modules\extract-zip\node_modules\fd-slicer\index.js:32:7
  326. [ERROR] at FSReqWrap.wrapper [as oncomplete] (fs.js:681:17) Error: end of central directory record signature not found
  327. [ERROR] at C:\Users\admin\myOpenmrs\openmrs-module-coreapps\node_modules\extract-zip\node_modules\yauzl\index.js:167:14
  328. [ERROR] at C:\Users\admin\myOpenmrs\openmrs-module-coreapps\node_modules\extract-zip\node_modules\yauzl\index.js:473:5
  329. [ERROR] at C:\Users\admin\myOpenmrs\openmrs-module-coreapps\node_modules\extract-zip\node_modules\fd-slicer\index.js:32:7
  330. [ERROR] at FSReqWrap.wrapper [as oncomplete] (fs.js:681:17)
  331. [WARNING] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules\fsevents):
  332. [WARNING] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
  333. [WARNING] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: gmsmith@0.4.5 (node_modules\gmsmith):
  334. [WARNING] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: gmsmith@0.4.5 preinstall: `gm -version || convert -version`
  335. [WARNING] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 4
  336. [WARNING] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: phantomjssmith@0.4.6 (node_modules\phantomjssmith):
  337. [WARNING] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: phantomjssmith@0.4.6 preinstall: `phantomjs --version`
  338. [WARNING] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
  339. [WARNING] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: canvas@1.1.6 (node_modules\canvas):
  340. [WARNING] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: canvas@1.1.6 install: `node-gyp rebuild`
  341. [WARNING] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
  342. [ERROR] npm ERR! Windows_NT 10.0.10586
  343. [ERROR] npm ERR! argv "C:\\Users\\admin\\myOpenmrs\\openmrs-module-coreapps\\node\\node.exe" "C:\\Users\\admin\\myOpenmrs\\openmrs-module-coreapps\\node\\node_modules\\npm\\bin\\npm-cli.js" "install" "--no-optional"
  344. [ERROR] npm ERR! node v6.10.0
  345. [ERROR] npm ERR! npm v3.10.10
  346. [ERROR] npm ERR! code ELIFECYCLE
  347. [ERROR]
  348. [ERROR] npm ERR! phantomjs-prebuilt@2.1.16 install: `node install.js`
  349. [ERROR] npm ERR! Exit status 1
  350. [ERROR] npm ERR!
  351. [ERROR] npm ERR! Failed at the phantomjs-prebuilt@2.1.16 install script 'node install.js'.
  352. [ERROR] npm ERR! Make sure you have the latest version of node.js and npm installed.
  353. [ERROR] npm ERR! If you do, this is most likely a problem with the phantomjs-prebuilt package,
  354. [ERROR] npm ERR! not with npm itself.
  355. [ERROR] npm ERR! Tell the author that this fails on your system:
  356. [ERROR] npm ERR! node install.js
  357. [ERROR] npm ERR! You can get information on how to open an issue for this project with:
  358. [ERROR] npm ERR! npm bugs phantomjs-prebuilt
  359. [ERROR] npm ERR! Or if that isn't available, you can get their info via:
  360. [ERROR] npm ERR! npm owner ls phantomjs-prebuilt
  361. [ERROR] npm ERR! There is likely additional logging output above.
  362. [ERROR]
  363. [ERROR] npm ERR! Please include the following file with any support request:
  364. [ERROR] npm ERR! C:\Users\admin\myOpenmrs\openmrs-module-coreapps\npm-debug.log
  365. [INFO] ------------------------------------------------------------------------
  366. [INFO] Reactor Summary for Core Apps Module 1.32.0-SNAPSHOT:
  367. [INFO]
  368. [INFO] Core Apps Module ................................... SUCCESS [ 9.141 s]
  369. [INFO] Core Apps Module API-pre2.2 ........................ SUCCESS [01:01 min]
  370. [INFO] Core Apps Module API ............................... SUCCESS [01:16 min]
  371. [INFO] coreapps Module web 1.9 ............................ SUCCESS [ 5.716 s]
  372. [INFO] coreapps Module web 2.0 ............................ SUCCESS [ 7.794 s]
  373. [INFO] Core Apps Module API 2.2 ........................... SUCCESS [05:16 min]
  374. [INFO] Core Apps Module OMOD .............................. FAILURE [16:14 min]
  375. [INFO] ------------------------------------------------------------------------
  376. [INFO] BUILD FAILURE
  377. [INFO] ------------------------------------------------------------------------
  378. [INFO] Total time: 24:45 min
  379. [INFO] Finished at: 2021-02-17T14:18:30+03:00
  380. [INFO] ------------------------------------------------------------------------
  381. [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.4:npm (npm install) on project coreapps-omod: Failed to run task: 'npm install --no-optional' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
  382. [ERROR]
  383. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  384. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  385. [ERROR]
  386. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  387. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  388. [ERROR]
  389. [ERROR] After correcting the problems, you can resume the build with the command
  390. [ERROR] mvn <args> -rf :coreapps-omod
  391.  
Add Comment
Please, Sign In to add comment