Advertisement
jmpango

Exception starting coreapps

Jan 17th, 2016
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.13 KB | None | 0 0
  1. Mpangos-MacBook-Pro:openmrs-module-coreapps jmpango$ 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.9-SNAPSHOT
  5. [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-dependency-plugin @ org.openmrs.module:coreapps-omod:[unknown-version], /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/omod/pom.xml, line 320, column 21
  6. [WARNING] 'build.plugins.plugin.version' for de.saumya.mojo:gem-maven-plugin is missing. @ org.openmrs.module:coreapps-omod:[unknown-version], /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/omod/pom.xml, line 346, column 21
  7. [WARNING]
  8. [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
  9. [WARNING]
  10. [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
  11. [WARNING]
  12. [INFO] ------------------------------------------------------------------------
  13. [INFO] Reactor Build Order:
  14. [INFO]
  15. [INFO] Core Apps Module
  16. [INFO] Core Apps Module API
  17. [INFO] coreapps Module web 1.9
  18. [INFO] coreapps Module web 2.0
  19. [INFO] Core Apps Module OMOD
  20. [INFO]
  21. [INFO] ------------------------------------------------------------------------
  22. [INFO] Building Core Apps Module 1.9-SNAPSHOT
  23. [INFO] ------------------------------------------------------------------------
  24. [INFO]
  25. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ coreapps ---
  26. [INFO]
  27. [INFO] --- maven-install-plugin:2.4:install (default-install) @ coreapps ---
  28. [INFO] Installing /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/pom.xml to /Users/jmpango/.m2/repository/org/openmrs/module/coreapps/1.9-SNAPSHOT/coreapps-1.9-SNAPSHOT.pom
  29. [INFO]
  30. [INFO] ------------------------------------------------------------------------
  31. [INFO] Building Core Apps Module API 1.9-SNAPSHOT
  32. [INFO] ------------------------------------------------------------------------
  33. [INFO]
  34. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ coreapps-api ---
  35. [INFO] Deleting /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/api/target
  36. [INFO]
  37. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ coreapps-api ---
  38. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  39. [INFO] Copying 6 resources
  40. [INFO]
  41. [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ coreapps-api ---
  42. [INFO] Changes detected - recompiling the module!
  43. [INFO] Compiling 16 source files to /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/api/target/classes
  44. [WARNING] /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/api/src/main/java/org/openmrs/module/coreapps/parser/ParseEncounterToJson.java: Some input files use or override a deprecated API.
  45. [WARNING] /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/api/src/main/java/org/openmrs/module/coreapps/parser/ParseEncounterToJson.java: Recompile with -Xlint:deprecation for details.
  46. [WARNING] /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/api/src/main/java/org/openmrs/module/coreapps/parser/ParseEncounterToJson.java: Some input files use unchecked or unsafe operations.
  47. [WARNING] /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/api/src/main/java/org/openmrs/module/coreapps/parser/ParseEncounterToJson.java: Recompile with -Xlint:unchecked for details.
  48. [INFO]
  49. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ coreapps-api ---
  50. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  51. [INFO] Copying 6 resources
  52. [INFO]
  53. [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ coreapps-api ---
  54. [INFO] Changes detected - recompiling the module!
  55. [INFO] Compiling 6 source files to /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/api/target/test-classes
  56. [WARNING] /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/api/src/test/java/org/openmrs/module/coreapps/htmlformentry/EncounterDiagnosesTagHandlerComponentTest.java: /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/api/src/test/java/org/openmrs/module/coreapps/htmlformentry/EncounterDiagnosesTagHandlerComponentTest.java uses unchecked or unsafe operations.
  57. [WARNING] /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/api/src/test/java/org/openmrs/module/coreapps/htmlformentry/EncounterDiagnosesTagHandlerComponentTest.java: Recompile with -Xlint:unchecked for details.
  58. [INFO]
  59. [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ coreapps-api ---
  60. [INFO] Surefire report directory: /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/api/target/surefire-reports
  61.  
  62. -------------------------------------------------------
  63. T E S T S
  64. -------------------------------------------------------
  65. Running org.openmrs.module.coreapps.htmlformentry.CodedOrFreeTextAnswerListWidgetTest
  66. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.771 sec
  67. Running org.openmrs.module.coreapps.htmlformentry.CodedOrFreeTextObsTagHandlerComponentTest
  68. ERROR - Context.getServiceContext(259) |2016-01-17 09:43:41,079| serviceContext is null. Creating new ServiceContext()
  69. Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.428 sec
  70. Running org.openmrs.module.coreapps.htmlformentry.EncounterDiagnosesTagHandlerComponentTest
  71. <div class="htmlform">
  72. Date: <span id='encounterDate'><input type="text" size="10" id="w1-display"/><input type="hidden" name="w1" id="w1" /><script>setupDatePicker('dd/mm/yy', '110,20','en-GB', '#w1-display', '#w1', '2016-01-17')</script><span class="error field-error" style="display: none" id="w2"></span></span>
  73. Location: <span id='encounterLocation'><select id="w3" name="w3"><option value="">htmlformentry.chooseALocation</option><option value="1">Unknown Location</option><option value="2" selected="true">Xanadu</option></select><span class="error field-error" style="display: none" id="w4"></span></span>
  74. Provider: <span id='encounterProvider'><select id="w5" name="w5"><option value="" selected="true">htmlformentry.chooseAProvider</option><option value="502">Hippocrates of Cos</option></select><span class="error field-error" style="display: none" id="w6"></span></span>
  75.  
  76. <span class="error field-error" style="display: none" id="w8"></span>[[ included fragment coreapps.diagnosis/encounterDiagnoses here ]]
  77.  
  78. Encounter Type: <span id='encounterType'><select id="w9" name="w9">
  79. <option value="">htmlformentry.chooseEncounterType</option>
  80. <option value="2">Emergency</option>
  81. <option value="6">Laboratory</option>
  82. <option value="1">Scheduled</option></select><span class="error field-error" style="display: none" id="w10"></span></span>
  83.  
  84. <input type="button" class="submitButton" value="htmlformentry.saveChangesButton" onClick="submitHtmlForm()"/>
  85. </div>
  86. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.483 sec
  87. Running org.openmrs.module.coreapps.htmlformentry.EncounterDiagnosesTagHandlerTest
  88. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.236 sec
  89. Running org.openmrs.module.coreapps.htmlformentry.EncounterDispositionTagHandlerComponentTest
  90. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.165 sec
  91. Running org.openmrs.module.coreapps.parser.ParseEncounterToJsonTest
  92. SLF4J: Class path contains multiple SLF4J bindings.
  93. SLF4J: Found binding in [jar:file:/Users/jmpango/.m2/repository/org/slf4j/slf4j-log4j12/1.6.0/slf4j-log4j12-1.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
  94. SLF4J: Found binding in [jar:file:/Users/jmpango/.m2/repository/org/slf4j/slf4j-log4j12/1.6.0/slf4j-log4j12-1.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
  95. SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
  96. Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.363 sec
  97.  
  98. Results :
  99.  
  100. Tests run: 18, Failures: 0, Errors: 0, Skipped: 0
  101.  
  102. [INFO]
  103. [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ coreapps-api ---
  104. [INFO] Building jar: /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/api/target/coreapps-api-1.9-SNAPSHOT.jar
  105. [INFO]
  106. [INFO] --- maven-install-plugin:2.4:install (default-install) @ coreapps-api ---
  107. [INFO] Installing /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/api/target/coreapps-api-1.9-SNAPSHOT.jar to /Users/jmpango/.m2/repository/org/openmrs/module/coreapps-api/1.9-SNAPSHOT/coreapps-api-1.9-SNAPSHOT.jar
  108. [INFO] Installing /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/api/pom.xml to /Users/jmpango/.m2/repository/org/openmrs/module/coreapps-api/1.9-SNAPSHOT/coreapps-api-1.9-SNAPSHOT.pom
  109. [INFO]
  110. [INFO] ------------------------------------------------------------------------
  111. [INFO] Building coreapps Module web 1.9 1.9-SNAPSHOT
  112. [INFO] ------------------------------------------------------------------------
  113. [INFO]
  114. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ coreapps-web-1.9 ---
  115. [INFO] Deleting /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-1.9/target
  116. [INFO]
  117. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ coreapps-web-1.9 ---
  118. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  119. [INFO] skip non existing resourceDirectory /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-1.9/src/main/resources
  120. [INFO]
  121. [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ coreapps-web-1.9 ---
  122. [INFO] Changes detected - recompiling the module!
  123. [INFO] Compiling 3 source files to /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-1.9/target/classes
  124. [INFO]
  125. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ coreapps-web-1.9 ---
  126. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  127. [INFO] skip non existing resourceDirectory /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-1.9/src/test/resources
  128. [INFO] skip non existing resourceDirectory /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-1.9/src/test/resources
  129. [INFO]
  130. [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ coreapps-web-1.9 ---
  131. [INFO] No sources to compile
  132. [INFO]
  133. [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ coreapps-web-1.9 ---
  134. [INFO] No tests to run.
  135. [INFO]
  136. [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ coreapps-web-1.9 ---
  137. [INFO] Building jar: /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-1.9/target/coreapps-web-1.9-1.9-SNAPSHOT.jar
  138. [INFO]
  139. [INFO] --- maven-install-plugin:2.4:install (default-install) @ coreapps-web-1.9 ---
  140. [INFO] Installing /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-1.9/target/coreapps-web-1.9-1.9-SNAPSHOT.jar to /Users/jmpango/.m2/repository/org/openmrs/module/coreapps-web-1.9/1.9-SNAPSHOT/coreapps-web-1.9-1.9-SNAPSHOT.jar
  141. [INFO] Installing /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-1.9/pom.xml to /Users/jmpango/.m2/repository/org/openmrs/module/coreapps-web-1.9/1.9-SNAPSHOT/coreapps-web-1.9-1.9-SNAPSHOT.pom
  142. [INFO]
  143. [INFO] ------------------------------------------------------------------------
  144. [INFO] Building coreapps Module web 2.0 1.9-SNAPSHOT
  145. [INFO] ------------------------------------------------------------------------
  146. [INFO]
  147. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ coreapps-web-2.0 ---
  148. [INFO] Deleting /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-2.0/target
  149. [INFO]
  150. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ coreapps-web-2.0 ---
  151. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  152. [INFO] skip non existing resourceDirectory /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-2.0/src/main/resources
  153. [INFO]
  154. [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ coreapps-web-2.0 ---
  155. [INFO] Changes detected - recompiling the module!
  156. [INFO] Compiling 3 source files to /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-2.0/target/classes
  157. [INFO]
  158. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ coreapps-web-2.0 ---
  159. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  160. [INFO] skip non existing resourceDirectory /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-2.0/src/test/resources
  161. [INFO] skip non existing resourceDirectory /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-2.0/src/test/resources
  162. [INFO]
  163. [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ coreapps-web-2.0 ---
  164. [INFO] No sources to compile
  165. [INFO]
  166. [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ coreapps-web-2.0 ---
  167. [INFO] No tests to run.
  168. [INFO]
  169. [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ coreapps-web-2.0 ---
  170. [INFO] Building jar: /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-2.0/target/coreapps-web-2.0-1.9-SNAPSHOT.jar
  171. [INFO]
  172. [INFO] --- maven-install-plugin:2.4:install (default-install) @ coreapps-web-2.0 ---
  173. [INFO] Installing /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-2.0/target/coreapps-web-2.0-1.9-SNAPSHOT.jar to /Users/jmpango/.m2/repository/org/openmrs/module/coreapps-web-2.0/1.9-SNAPSHOT/coreapps-web-2.0-1.9-SNAPSHOT.jar
  174. [INFO] Installing /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-2.0/pom.xml to /Users/jmpango/.m2/repository/org/openmrs/module/coreapps-web-2.0/1.9-SNAPSHOT/coreapps-web-2.0-1.9-SNAPSHOT.pom
  175. [INFO]
  176. [INFO] ------------------------------------------------------------------------
  177. [INFO] Building Core Apps Module OMOD 1.9-SNAPSHOT
  178. [INFO] ------------------------------------------------------------------------
  179. [INFO]
  180. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ coreapps-omod ---
  181. [INFO] Deleting /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/omod/target
  182. [INFO]
  183. [INFO] --- maven-openmrs-plugin:1.0.1:initialize-module (init) @ coreapps-omod ---
  184. [INFO]
  185. [INFO] --- maven-dependency-plugin:2.4:unpack-dependencies (Expand moduleApplicationContext and messages) @ coreapps-omod ---
  186. [INFO] Unpacking /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/api/target/coreapps-api-1.9-SNAPSHOT.jar to /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/omod/target/classes with includes "**/*" and excludes ""
  187. [INFO]
  188. [INFO] --- maven-dependency-plugin:2.4:unpack (Fetch SASS sources from uicommons) @ coreapps-omod ---
  189. [INFO] Configured Artifact: org.openmrs.module:uicommons-scss:?:zip
  190. [INFO] Unpacking /Users/jmpango/.m2/repository/org/openmrs/module/uicommons-scss/1.7/uicommons-scss-1.7.zip to /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/omod/src/main/compass/sass-external with includes "" and excludes ""
  191. [INFO]
  192. [INFO] --- gem-maven-plugin:1.1.3:exec (default) @ coreapps-omod ---
  193. [INFO] Error opening script file: /Users/jmpango/Documents/workspace/Openmrs (No such file or directory)
  194. [INFO] ------------------------------------------------------------------------
  195. [INFO] Reactor Summary:
  196. [INFO]
  197. [INFO] Core Apps Module ................................... SUCCESS [ 0.277 s]
  198. [INFO] Core Apps Module API ............................... SUCCESS [ 35.093 s]
  199. [INFO] coreapps Module web 1.9 ............................ SUCCESS [ 0.414 s]
  200. [INFO] coreapps Module web 2.0 ............................ SUCCESS [ 0.523 s]
  201. [INFO] Core Apps Module OMOD .............................. FAILURE [ 1.678 s]
  202. [INFO] ------------------------------------------------------------------------
  203. [INFO] BUILD FAILURE
  204. [INFO] ------------------------------------------------------------------------
  205. [INFO] Total time: 39.773 s
  206. [INFO] Finished at: 2016-01-17T09:43:55+03:00
  207. [INFO] Final Memory: 53M/371M
  208. [INFO] ------------------------------------------------------------------------
  209. [ERROR] Failed to execute goal de.saumya.mojo:gem-maven-plugin:1.1.3:exec (default) on project coreapps-omod: Execution default of goal de.saumya.mojo:gem-maven-plugin:1.1.3:exec failed: Java returned: 1 -> [Help 1]
  210. [ERROR]
  211. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  212. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  213. [ERROR]
  214. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  215. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
  216. [ERROR]
  217. [ERROR] After correcting the problems, you can resume the build with the command
  218. [ERROR] mvn <goals> -rf :coreapps-omod
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement