georgejr

Untitled

Aug 1st, 2019
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.45 KB | None | 0 0
  1. Geo jr@Geo MINGW64 ~/openmrs-core (TRUNK-4986)
  2. $ mvn clean install
  3. [INFO] Scanning for projects...
  4. [INFO] ------------------------------------------------------------------------
  5. [INFO] Reactor Build Order:
  6. [INFO]
  7. [INFO] OpenMRS
  8. [INFO] openmrs-tools
  9. [INFO] openmrs-test
  10. [INFO] openmrs-api
  11. [INFO] openmrs-web
  12. [INFO] openmrs-webapp
  13. [INFO]
  14. [INFO] ------------------------------------------------------------------------
  15. [INFO] Building OpenMRS 2.3.0-SNAPSHOT
  16. [INFO] ------------------------------------------------------------------------
  17. [INFO]
  18. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs ---
  19. [INFO] Deleting C:\Users\Admin\openmrs-core\target
  20. [INFO]
  21. [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs ---
  22. [INFO] Checking for local modifications: skipped.
  23. [INFO] Updating project files from SCM: skipped.
  24. [INFO] ShortRevision tag detected. The value is '6'.
  25. [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
  26. [INFO] Working directory: C:\Users\Admin\openmrs-core
  27. [INFO] Storing buildNumber: 0967e6 at timestamp: 1564673468194
  28. [INFO] ShortRevision tag detected. The value is '6'.
  29. [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
  30. [INFO] Working directory: C:\Users\Admin\openmrs-core
  31. [INFO] Storing buildScmBranch: UNKNOWN
  32. [INFO]
  33. [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs ---
  34. [INFO]
  35. [INFO] --- maven-jar-plugin:2.3.2:test-jar (default) @ openmrs ---
  36. [WARNING] JAR will be empty - no content was marked for inclusion!
  37. [INFO] Building jar: C:\Users\Admin\openmrs-core\target\openmrs-2.3.0-SNAPSHOT-tests.jar
  38. [INFO]
  39. [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs ---
  40. [INFO] Checking licenses...
  41. [INFO] --- maven-install-plugin:2.4:install (default-install) @ openmrs ---
  42. [INFO] Installing C:\Users\Admin\openmrs-core\pom.xml to C:\Users\Admin\.m2\repository\org\openmrs\openmrs\2.3.0-SNAPSHOT\openmrs-2.3.0-SNAPSHOT.pom
  43. [INFO] Installing C:\Users\Admin\openmrs-core\target\openmrs-2.3.0-SNAPSHOT-tests.jar to C:\Users\Admin\.m2\repository\org\openmrs\openmrs\2.3.0-SNAPSHOT\openmrs-2.3.0-SNAPSHOT-tests.jar
  44. [INFO]
  45. [INFO] ------------------------------------------------------------------------
  46. [INFO] Building openmrs-tools 2.3.0-SNAPSHOT
  47. [INFO] ------------------------------------------------------------------------
  48. [INFO]
  49. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-tools ---
  50. [INFO] Deleting C:\Users\Admin\openmrs-core\tools\target
  51. [INFO]
  52. [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs-tools ---
  53. [INFO]
  54. [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs-tools ---
  55. [INFO]
  56. [INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ openmrs-tools ---
  57. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  58. [INFO] Copying 4 resources
  59. [INFO]
  60. [INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ openmrs-tools ---
  61. [INFO] Compiling 1 source file to C:\Users\Admin\openmrs-core\tools\target\classes
  62. [INFO]
  63. [INFO] --- maven-resources-plugin:2.4:testResources (default-testResources) @ openmrs-tools ---
  64. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  65. [INFO] skip non existing resourceDirectory C:\Users\Admin\openmrs-core\tools\src\test\resources
  66. [INFO]
  67. [INFO] --- maven-compiler-plugin:2.1:testCompile (default-testCompile) @ openmrs-tools ---
  68. [INFO] No sources to compile
  69. [INFO]
  70. [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ openmrs-tools ---
  71. [INFO] No tests to run.
  72. [INFO]
  73. [INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @ openmrs-tools ---
  74. [INFO] Building jar: C:\Users\Admin\openmrs-core\tools\target\openmrs-tools-2.3.0-SNAPSHOT.jar
  75. [INFO]
  76. [INFO] --- maven-jar-plugin:2.3.2:test-jar (default) @ openmrs-tools ---
  77. [WARNING] JAR will be empty - no content was marked for inclusion!
  78. [INFO] Building jar: C:\Users\Admin\openmrs-core\tools\target\openmrs-tools-2.3.0-SNAPSHOT-tests.jar
  79. [INFO]
  80. [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs-tools ---
  81. [INFO] Checking licenses...
  82. [INFO]
  83. [INFO] --- maven-install-plugin:2.4:install (default-install) @ openmrs-tools ---
  84. [INFO] Installing C:\Users\Admin\openmrs-core\tools\target\openmrs-tools-2.3.0-SNAPSHOT.jar to C:\Users\Admin\.m2\repository\org\openmrs\tools\openmrs-tools\2.3.0-SNAPSHOT\openmrs-tools-2.3.0-SNAPSHOT.jar
  85. [INFO] Installing C:\Users\Admin\openmrs-core\tools\pom.xml to C:\Users\Admin\.m2\repository\org\openmrs\tools\openmrs-tools\2.3.0-SNAPSHOT\openmrs-tools-2.3.0-SNAPSHOT.pom
  86. [INFO] Installing C:\Users\Admin\openmrs-core\tools\target\openmrs-tools-2.3.0-SNAPSHOT-tests.jar to C:\Users\Admin\.m2\repository\org\openmrs\tools\openmrs-tools\2.3.0-SNAPSHOT\openmrs-tools-2.3.0-SNAPSHOT-tests.jar
  87. [INFO]
  88. [INFO] ------------------------------------------------------------------------
  89. [INFO] Building openmrs-test 2.3.0-SNAPSHOT
  90. [INFO] ------------------------------------------------------------------------
  91. [INFO]
  92. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-test ---
  93. [INFO] Deleting C:\Users\Admin\openmrs-core\test\target
  94. [INFO]
  95. [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs-test ---
  96. [INFO]
  97. [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs-test ---
  98. [INFO]
  99. [INFO] --- maven-jar-plugin:2.3.2:test-jar (default) @ openmrs-test ---
  100. [WARNING] JAR will be empty - no content was marked for inclusion!
  101. [INFO] Building jar: C:\Users\Admin\openmrs-core\test\target\openmrs-test-2.3.0-SNAPSHOT-tests.jar
  102. [INFO]
  103. [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs-test ---
  104. [INFO] Checking licenses...
  105. [INFO]
  106. [INFO] --- maven-install-plugin:2.4:install (default-install) @ openmrs-test ---
  107. [INFO] Installing C:\Users\Admin\openmrs-core\test\pom.xml to C:\Users\Admin\.m2\repository\org\openmrs\test\openmrs-test\2.3.0-SNAPSHOT\openmrs-test-2.3.0-SNAPSHOT.pom
  108. [INFO] Installing C:\Users\Admin\openmrs-core\test\target\openmrs-test-2.3.0-SNAPSHOT-tests.jar to C:\Users\Admin\.m2\repository\org\openmrs\test\openmrs-test\2.3.0-SNAPSHOT\openmrs-test-2.3.0-SNAPSHOT-tests.jar
  109. [INFO]
  110. [INFO] ------------------------------------------------------------------------
  111. [INFO] Building openmrs-api 2.3.0-SNAPSHOT
  112. [INFO] ------------------------------------------------------------------------
  113. [INFO]
  114. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-api ---
  115. [INFO] Deleting C:\Users\Admin\openmrs-core\api\target
  116. [INFO]
  117. [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs-api ---
  118. [INFO]
  119. [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs-api ---
  120. [INFO]
  121. [INFO] --- jacoco-maven-plugin:0.8.0:prepare-agent (prepare-agent) @ openmrs-api ---
  122. [INFO] argLine set to -javaagent:C:\\Users\\Admin\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.0\\org.jacoco.agent-0.8.0-runtime.jar=destfile=C:\\Users\\Admin\\openmrs-core\\api\\target\\jacoco.exec,includes=org/openmrs/** -Duser.language=en -Duser.region=US -Xmx2g
  123. [INFO]
  124. [INFO] --- maven-java-formatter-plugin:0.3:format (default) @ openmrs-api ---
  125. [INFO] Using 'UTF-8' encoding to format source files.
  126. [INFO] Number of files to be formatted: 1031
  127. [INFO] Successfully formatted: 0 file(s)
  128. [INFO] Fail to format : 0 file(s)
  129. [INFO] Skipped : 1031 file(s)
  130. [INFO] Approximate time taken: 16s
  131. [INFO]
  132. [INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ openmrs-api ---
  133. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  134. [INFO] Copying 1 resource
  135. [INFO] Copying 133 resources
  136. [INFO]
  137. [INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ openmrs-api ---
  138. [INFO] Compiling 697 source files to C:\Users\Admin\openmrs-core\api\target\classes
  139. [INFO] -------------------------------------------------------------
  140. [ERROR] COMPILATION ERROR :
  141. [INFO] -------------------------------------------------------------
  142. [ERROR] \Users\Admin\openmrs-core\api\src\main\java\org\openmrs\util\databasechange\GenerateUuid.java:[109,30] error: non-static method getShortName() cannot be referenced from a static context
  143.  
  144. [ERROR] \Users\Admin\openmrs-core\api\src\main\java\org\openmrs\util\DatabaseUpdater.java:[202,28] error: cannot find symbol
  145.  
  146. [ERROR] \Users\Admin\openmrs-core\api\src\main\java\org\openmrs\util\DatabaseUpdater.java:[206,3] error: cannot find symbol
  147.  
  148. [ERROR] \Users\Admin\openmrs-core\api\src\main\java\org\openmrs\util\DatabaseUpdater.java:[206,17] error: cannot find symbol
  149.  
  150. [ERROR] \Users\Admin\openmrs-core\api\src\main\java\org\openmrs\util\DatabaseUpdater.java:[207,3] error: cannot find symbol
  151.  
  152. [ERROR] \Users\Admin\openmrs-core\api\src\main\java\org\openmrs\util\DatabaseUpdater.java:[218,11] error: cannot find symbol
  153.  
  154. [ERROR] \Users\Admin\openmrs-core\api\src\main\java\org\openmrs\util\DatabaseUpdater.java:[226,4] error: cannot find symbol
  155.  
  156. [ERROR] \Users\Admin\openmrs-core\api\src\main\java\org\openmrs\util\DatabaseUpdater.java:[389,11] error: cannot find symbol
  157.  
  158. [ERROR] \Users\Admin\openmrs-core\api\src\main\java\org\openmrs\util\DatabaseUpdater.java:[730,15] error: cannot find symbol
  159.  
  160. [ERROR] \Users\Admin\openmrs-core\api\src\main\java\org\openmrs\util\DatabaseUpdater.java:[731,15] error: cannot find symbol
  161.  
  162. [ERROR] \Users\Admin\openmrs-core\api\src\main\java\org\openmrs\util\DatabaseUpdater.java:[758,21] error: cannot find symbol
  163.  
  164. [INFO] 11 errors
  165. [INFO] -------------------------------------------------------------
  166. [INFO] ------------------------------------------------------------------------
  167. [INFO] Reactor Summary:
  168. [INFO]
  169. [INFO] OpenMRS ............................................ SUCCESS [ 6.668 s]
  170. [INFO] openmrs-tools ...................................... SUCCESS [ 3.667 s]
  171. [INFO] openmrs-test ....................................... SUCCESS [ 0.811 s]
  172. [INFO] openmrs-api ........................................ FAILURE [ 45.850 s]
  173. [INFO] openmrs-web ........................................ SKIPPED
  174. [INFO] openmrs-webapp ..................................... SKIPPED
  175. [INFO] ------------------------------------------------------------------------
  176. [INFO] BUILD FAILURE
  177. [INFO] ------------------------------------------------------------------------
  178. [INFO] Total time: 57.256 s
  179. [INFO] Finished at: 2019-08-01T18:32:04+03:00
  180. [INFO] Final Memory: 47M/449M
  181. [INFO] ------------------------------------------------------------------------
  182. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.1:compile (default-compile) on project openmrs-api: Compilation failure: Compilation failure:
  183. [ERROR] \Users\Admin\openmrs-core\api\src\main\java\org\openmrs\util\databasechange\GenerateUuid.java:[109,30] error: non-static method getShortName() cannot be referenced from a static context
  184. [ERROR]
  185. [ERROR] \Users\Admin\openmrs-core\api\src\main\java\org\openmrs\util\DatabaseUpdater.java:[202,28] error: cannot find symbol
  186. [ERROR]
  187. [ERROR] \Users\Admin\openmrs-core\api\src\main\java\org\openmrs\util\DatabaseUpdater.java:[206,3] error: cannot find symbol
  188. [ERROR]
  189. [ERROR] \Users\Admin\openmrs-core\api\src\main\java\org\openmrs\util\DatabaseUpdater.java:[206,17] error: cannot find symbol
  190. [ERROR]
  191. [ERROR] \Users\Admin\openmrs-core\api\src\main\java\org\openmrs\util\DatabaseUpdater.java:[207,3] error: cannot find symbol
  192. [ERROR]
  193. [ERROR] \Users\Admin\openmrs-core\api\src\main\java\org\openmrs\util\DatabaseUpdater.java:[218,11] error: cannot find symbol
  194. [ERROR]
  195. [ERROR] \Users\Admin\openmrs-core\api\src\main\java\org\openmrs\util\DatabaseUpdater.java:[226,4] error: cannot find symbol
  196. [ERROR]
  197. [ERROR] \Users\Admin\openmrs-core\api\src\main\java\org\openmrs\util\DatabaseUpdater.java:[389,11] error: cannot find symbol
  198. [ERROR]
  199. [ERROR] \Users\Admin\openmrs-core\api\src\main\java\org\openmrs\util\DatabaseUpdater.java:[730,15] error: cannot find symbol
  200. [ERROR]
  201. [ERROR] \Users\Admin\openmrs-core\api\src\main\java\org\openmrs\util\DatabaseUpdater.java:[731,15] error: cannot find symbol
  202. [ERROR]
  203. [ERROR] \Users\Admin\openmrs-core\api\src\main\java\org\openmrs\util\DatabaseUpdater.java:[758,21] error: cannot find symbol
  204. [ERROR] -> [Help 1]
  205. [ERROR]
  206. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  207. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  208. [ERROR]
  209. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  210. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  211. [ERROR]
  212. [ERROR] After correcting the problems, you can resume the build with the command
  213. [ERROR] mvn <goals> -rf :openmrs-api
Advertisement
Add Comment
Please, Sign In to add comment