Advertisement
ODORA

Untitled

May 22nd, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.58 KB | None | 0 0
  1. C:\Users\Admin\core>mvn clean install
  2. [INFO] Scanning for projects...
  3. [INFO] ------------------------------------------------------------------------
  4. [INFO] Reactor Build Order:
  5. [INFO]
  6. [INFO] OpenMRS [pom]
  7. [INFO] openmrs-tools [jar]
  8. [INFO] openmrs-test [pom]
  9. [INFO] openmrs-api [jar]
  10. [INFO] openmrs-web [jar]
  11. [INFO] openmrs-webapp [war]
  12. [INFO]
  13. [INFO] ------------------------< org.openmrs:openmrs >-------------------------
  14. [INFO] Building OpenMRS 2.3.0-SNAPSHOT [1/6]
  15. [INFO] --------------------------------[ pom ]---------------------------------
  16. [INFO]
  17. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs ---
  18. [INFO] Deleting C:\Users\Admin\core\target
  19. [INFO]
  20. [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs ---
  21. [INFO] Checking for local modifications: skipped.
  22. [INFO] Updating project files from SCM: skipped.
  23. [INFO] ShortRevision tag detected. The value is '6'.
  24. [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
  25. [INFO] Working directory: C:\Users\Admin\core
  26. [INFO] Storing buildNumber: fa2a68 at timestamp: 1558525781860
  27. [INFO] ShortRevision tag detected. The value is '6'.
  28. [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
  29. [INFO] Working directory: C:\Users\Admin\core
  30. [INFO] Storing buildScmBranch: UNKNOWN
  31. [INFO]
  32. [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs ---
  33. [INFO]
  34. [INFO] --- maven-jar-plugin:2.3.2:test-jar (default) @ openmrs ---
  35. [WARNING] JAR will be empty - no content was marked for inclusion!
  36. [INFO] Building jar: C:\Users\Admin\core\target\openmrs-2.3.0-SNAPSHOT-tests.jar
  37. [INFO]
  38. [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs ---
  39. [INFO] Checking licenses...
  40. [INFO]
  41. [INFO] --- maven-install-plugin:2.4:install (default-install) @ openmrs ---
  42. [INFO] Installing C:\Users\Admin\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\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] ------------------< org.openmrs.tools:openmrs-tools >-------------------
  46. [INFO] Building openmrs-tools 2.3.0-SNAPSHOT [2/6]
  47. [INFO] --------------------------------[ jar ]---------------------------------
  48. [INFO]
  49. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-tools ---
  50. [INFO] Deleting C:\Users\Admin\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\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\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\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\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\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\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\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] -------------------< org.openmrs.test:openmrs-test >--------------------
  89. [INFO] Building openmrs-test 2.3.0-SNAPSHOT [3/6]
  90. [INFO] --------------------------------[ pom ]---------------------------------
  91. [INFO]
  92. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-test ---
  93. [INFO] Deleting C:\Users\Admin\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\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\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\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] --------------------< org.openmrs.api:openmrs-api >---------------------
  111. [INFO] Building openmrs-api 2.3.0-SNAPSHOT [4/6]
  112. [INFO] --------------------------------[ jar ]---------------------------------
  113. [INFO]
  114. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-api ---
  115. [INFO] Deleting C:\Users\Admin\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\\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: 1030
  127. [INFO] Successfully formatted: 0 file(s)
  128. [INFO] Fail to format : 0 file(s)
  129. [INFO] Skipped : 1030 file(s)
  130. [INFO] Approximate time taken: 18s
  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 137 resources
  136. [INFO]
  137. [INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ openmrs-api ---
  138. [INFO] Compiling 696 source files to C:\Users\Admin\core\api\target\classes
  139. [INFO]
  140. [INFO] --- maven-resources-plugin:2.4:testResources (default-testResources) @ openmrs-api ---
  141. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  142. [INFO] Copying 141 resources
  143. [INFO]
  144. [INFO] --- maven-compiler-plugin:2.1:testCompile (default-testCompile) @ openmrs-api ---
  145. [INFO] Compiling 334 source files to C:\Users\Admin\core\api\target\test-classes
  146. [INFO] -------------------------------------------------------------
  147. [ERROR] COMPILATION ERROR :
  148. [INFO] -------------------------------------------------------------
  149. [ERROR] \Users\Admin\core\api\src\test\java\org\openmrs\api\PatientServiceTest.java:[697,38] error: <anonymous org.openmrs.api.PatientServiceTest$1> is not abstract and does not override abstract method matches(Visit) in ArgumentMatcher
  150.  
  151. [ERROR] \Users\Admin\core\api\src\test\java\org\openmrs\api\PatientServiceTest.java:[700,18] error: name clash: matches(Object) in <anonymous org.openmrs.api.PatientServiceTest$1> and matches(T) in ArgumentMatcher have the same erasure, yet neither overrides the other
  152.  
  153. [ERROR] \Users\Admin\core\api\src\test\java\org\openmrs\api\PatientServiceTest.java:[699,3] error: method does not override or implement a method from a supertype
  154.  
  155. [ERROR] \Users\Admin\core\api\src\test\java\org\openmrs\api\ProgramWorkflowServiceUnitTest.java:[62,9] error: cannot find symbol
  156.  
  157. [ERROR] \Users\Admin\core\api\src\test\java\org\openmrs\api\ProgramWorkflowServiceUnitTest.java:[63,9] error: cannot find symbol
  158.  
  159. [ERROR] \Users\Admin\core\api\src\test\java\org\openmrs\api\ProgramWorkflowServiceUnitTest.java:[76,9] error: cannot find symbol
  160.  
  161. [ERROR] \Users\Admin\core\api\src\test\java\org\openmrs\api\ProgramWorkflowServiceUnitTest.java:[77,9] error: cannot find symbol
  162.  
  163. [INFO] 7 errors
  164. [INFO] -------------------------------------------------------------
  165. [INFO] ------------------------------------------------------------------------
  166. [INFO] Reactor Summary for OpenMRS 2.3.0-SNAPSHOT:
  167. [INFO]
  168. [INFO] OpenMRS ............................................ SUCCESS [ 24.389 s]
  169. [INFO] openmrs-tools ...................................... SUCCESS [ 7.659 s]
  170. [INFO] openmrs-test ....................................... SUCCESS [ 1.703 s]
  171. [INFO] openmrs-api ........................................ FAILURE [01:56 min]
  172. [INFO] openmrs-web ........................................ SKIPPED
  173. [INFO] openmrs-webapp ..................................... SKIPPED
  174. [INFO] ------------------------------------------------------------------------
  175. [INFO] BUILD FAILURE
  176. [INFO] ------------------------------------------------------------------------
  177. [INFO] Total time: 02:31 min
  178. [INFO] Finished at: 2019-05-22T14:52:10+03:00
  179. [INFO] ------------------------------------------------------------------------
  180. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.1:testCompile (default-testCompile) on project openmrs-api: Compilation failure: Compilation failure:
  181. [ERROR] \Users\Admin\core\api\src\test\java\org\openmrs\api\PatientServiceTest.java:[697,38] error: <anonymous org.openmrs.api.PatientServiceTest$1> is not abstract and does not override abstract method matches(Visit) in ArgumentMatcher
  182. [ERROR]
  183. [ERROR] \Users\Admin\core\api\src\test\java\org\openmrs\api\PatientServiceTest.java:[700,18] error: name clash: matches(Object) in <anonymous org.openmrs.api.PatientServiceTest$1> and matches(T) in ArgumentMatcher have the same erasure, yet neither overrides the other
  184. [ERROR]
  185. [ERROR] \Users\Admin\core\api\src\test\java\org\openmrs\api\PatientServiceTest.java:[699,3] error: method does not override or implement a method from a supertype
  186. [ERROR]
  187. [ERROR] \Users\Admin\core\api\src\test\java\org\openmrs\api\ProgramWorkflowServiceUnitTest.java:[62,9] error: cannot find symbol
  188. [ERROR]
  189. [ERROR] \Users\Admin\core\api\src\test\java\org\openmrs\api\ProgramWorkflowServiceUnitTest.java:[63,9] error: cannot find symbol
  190. [ERROR]
  191. [ERROR] \Users\Admin\core\api\src\test\java\org\openmrs\api\ProgramWorkflowServiceUnitTest.java:[76,9] error: cannot find symbol
  192. [ERROR]
  193. [ERROR] \Users\Admin\core\api\src\test\java\org\openmrs\api\ProgramWorkflowServiceUnitTest.java:[77,9] error: cannot find symbol
  194. [ERROR] -> [Help 1]
  195. [ERROR]
  196. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  197. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  198. [ERROR]
  199. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  200. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  201. [ERROR]
  202. [ERROR] After correcting the problems, you can resume the build with the command
  203. [ERROR] mvn <goals> -rf :openmrs-api
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement