Advertisement
Guest User

Untitled

a guest
Oct 27th, 2020
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.83 KB | None | 0 0
  1.  
  2. Cliff@Cliff-PC MINGW64 ~/Desktop/project/openmrs-core (2.4.x)
  3. $ git reset --hard
  4. HEAD is now at 3079855ac [maven-release-plugin] prepare for next development iteration
  5.  
  6. Cliff@Cliff-PC MINGW64 ~/Desktop/project/openmrs-core (2.4.x)
  7. $ git status
  8. On branch 2.4.x
  9. nothing to commit, working tree clean
  10.  
  11. Cliff@Cliff-PC MINGW64 ~/Desktop/project/openmrs-core (2.4.x)
  12. $ git apply --ignore-whitespace databaseupdater.patch.txt
  13.  
  14. Cliff@Cliff-PC MINGW64 ~/Desktop/project/openmrs-core (2.4.x)
  15. $ mvn clean install -DskipTests
  16. [INFO] Scanning for projects...
  17. [INFO] ------------------------------------------------------------------------
  18. [INFO] Reactor Build Order:
  19. [INFO]
  20. [INFO] OpenMRS [pom]
  21. [INFO] openmrs-tools [jar]
  22. [INFO] openmrs-test [pom]
  23. [INFO] openmrs-api [jar]
  24. [INFO] openmrs-web [jar]
  25. [INFO] openmrs-webapp [war]
  26. [INFO] openmrs-liquibase [jar]
  27. [INFO]
  28. [INFO] ------------------------< org.openmrs:openmrs >-------------------------
  29. [INFO] Building OpenMRS 2.4.0-SNAPSHOT [1/7]
  30. [INFO] --------------------------------[ pom ]---------------------------------
  31. [INFO]
  32. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs ---
  33. [INFO] Deleting C:\Users\Cliff\Desktop\project\openmrs-core\target
  34. [INFO]
  35. [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ openmrs ---
  36. [INFO] ShortRevision tag detected. The value is '6'.
  37. [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
  38. [INFO] Working directory: C:\Users\Cliff\Desktop\project\openmrs-core
  39. [INFO] Storing buildNumber: 307985 at timestamp: 1603830332261
  40. [INFO] Storing buildScmBranch: 2.4.x
  41. [INFO]
  42. [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (parse-version) @ openmrs ---
  43. [INFO]
  44. [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ openmrs ---
  45. [WARNING] JAR will be empty - no content was marked for inclusion!
  46. [INFO] Building jar: C:\Users\Cliff\Desktop\project\openmrs-core\target\openmrs-2.4.0-SNAPSHOT-tests.jar
  47. [INFO]
  48. [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs ---
  49. [INFO] Checking licenses...
  50. [INFO]
  51. [INFO] --- maven-install-plugin:2.4:install (default-install) @ openmrs ---
  52. [INFO] Installing C:\Users\Cliff\Desktop\project\openmrs-core\pom.xml to C:\Users\Cliff\.m2\repository\org\openmrs\openmrs\2.4.0-SNAPSHOT\openmrs-2.4.0-SNAPSHOT.pom
  53. [INFO] Installing C:\Users\Cliff\Desktop\project\openmrs-core\target\openmrs-2.4.0-SNAPSHOT-tests.jar to C:\Users\Cliff\.m2\repository\org\openmrs\openmrs\2.4.0-SNAPSHOT\openmrs-2.4.0-SNAPSHOT-tests.jar
  54. [INFO]
  55. [INFO] ------------------< org.openmrs.tools:openmrs-tools >-------------------
  56. [INFO] Building openmrs-tools 2.4.0-SNAPSHOT [2/7]
  57. [INFO] --------------------------------[ jar ]---------------------------------
  58. [INFO]
  59. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-tools ---
  60. [INFO] Deleting C:\Users\Cliff\Desktop\project\openmrs-core\tools\target
  61. [INFO]
  62. [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ openmrs-tools ---
  63. [INFO]
  64. [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (parse-version) @ openmrs-tools ---
  65. [INFO]
  66. [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ openmrs-tools ---
  67. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  68. [INFO] Using 'UTF-8' encoding to copy filtered properties files.
  69. [INFO] Copying 4 resources
  70. [INFO]
  71. [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ openmrs-tools ---
  72. [INFO] No sources to compile
  73. [INFO]
  74. [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ openmrs-tools ---
  75. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  76. [INFO] Using 'UTF-8' encoding to copy filtered properties files.
  77. [INFO] skip non existing resourceDirectory C:\Users\Cliff\Desktop\project\openmrs-core\tools\src\test\resources
  78. [INFO]
  79. [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ openmrs-tools ---
  80. [INFO] No sources to compile
  81. [INFO]
  82. [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ openmrs-tools ---
  83. [INFO] Tests are skipped.
  84. [INFO]
  85. [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ openmrs-tools ---
  86. [INFO] Building jar: C:\Users\Cliff\Desktop\project\openmrs-core\tools\target\openmrs-tools-2.4.0-SNAPSHOT.jar
  87. [INFO]
  88. [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ openmrs-tools ---
  89. [WARNING] JAR will be empty - no content was marked for inclusion!
  90. [INFO] Building jar: C:\Users\Cliff\Desktop\project\openmrs-core\tools\target\openmrs-tools-2.4.0-SNAPSHOT-tests.jar
  91. [INFO]
  92. [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs-tools ---
  93. [INFO] Checking licenses...
  94. [INFO]
  95. [INFO] --- maven-install-plugin:2.4:install (default-install) @ openmrs-tools ---
  96. [INFO] Installing C:\Users\Cliff\Desktop\project\openmrs-core\tools\target\openmrs-tools-2.4.0-SNAPSHOT.jar to C:\Users\Cliff\.m2\repository\org\openmrs\tools\openmrs-tools\2.4.0-SNAPSHOT\openmrs-tools-2.4.0-SNAPSHOT.jar
  97. [INFO] Installing C:\Users\Cliff\Desktop\project\openmrs-core\tools\pom.xml to C:\Users\Cliff\.m2\repository\org\openmrs\tools\openmrs-tools\2.4.0-SNAPSHOT\openmrs-tools-2.4.0-SNAPSHOT.pom
  98. [INFO] Installing C:\Users\Cliff\Desktop\project\openmrs-core\tools\target\openmrs-tools-2.4.0-SNAPSHOT-tests.jar to C:\Users\Cliff\.m2\repository\org\openmrs\tools\openmrs-tools\2.4.0-SNAPSHOT\openmrs-tools-2.4.0-SNAPSHOT-tests.jar
  99. [INFO]
  100. [INFO] -------------------< org.openmrs.test:openmrs-test >--------------------
  101. [INFO] Building openmrs-test 2.4.0-SNAPSHOT [3/7]
  102. [INFO] --------------------------------[ pom ]---------------------------------
  103. [INFO]
  104. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-test ---
  105. [INFO] Deleting C:\Users\Cliff\Desktop\project\openmrs-core\test\target
  106. [INFO]
  107. [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ openmrs-test ---
  108. [INFO]
  109. [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (parse-version) @ openmrs-test ---
  110. [INFO]
  111. [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ openmrs-test ---
  112. [WARNING] JAR will be empty - no content was marked for inclusion!
  113. [INFO] Building jar: C:\Users\Cliff\Desktop\project\openmrs-core\test\target\openmrs-test-2.4.0-SNAPSHOT-tests.jar
  114. [INFO]
  115. [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs-test ---
  116. [INFO] Checking licenses...
  117. [INFO]
  118. [INFO] --- maven-install-plugin:2.4:install (default-install) @ openmrs-test ---
  119. [INFO] Installing C:\Users\Cliff\Desktop\project\openmrs-core\test\pom.xml to C:\Users\Cliff\.m2\repository\org\openmrs\test\openmrs-test\2.4.0-SNAPSHOT\openmrs-test-2.4.0-SNAPSHOT.pom
  120. [INFO] Installing C:\Users\Cliff\Desktop\project\openmrs-core\test\target\openmrs-test-2.4.0-SNAPSHOT-tests.jar to C:\Users\Cliff\.m2\repository\org\openmrs\test\openmrs-test\2.4.0-SNAPSHOT\openmrs-test-2.4.0-SNAPSHOT-tests.jar
  121. [INFO]
  122. [INFO] --------------------< org.openmrs.api:openmrs-api >---------------------
  123. [INFO] Building openmrs-api 2.4.0-SNAPSHOT [4/7]
  124. [INFO] --------------------------------[ jar ]---------------------------------
  125. [INFO]
  126. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-api ---
  127. [INFO] Deleting C:\Users\Cliff\Desktop\project\openmrs-core\api\target
  128. [INFO] ------------------------------------------------------------------------
  129. [INFO] Reactor Summary for OpenMRS 2.4.0-SNAPSHOT:
  130. [INFO]
  131. [INFO] OpenMRS ............................................ SUCCESS [ 13.181 s]
  132. [INFO] openmrs-tools ...................................... SUCCESS [ 2.031 s]
  133. [INFO] openmrs-test ....................................... SUCCESS [ 0.425 s]
  134. [INFO] openmrs-api ........................................ FAILURE [ 3.318 s]
  135. [INFO] openmrs-web ........................................ SKIPPED
  136. [INFO] openmrs-webapp ..................................... SKIPPED
  137. [INFO] openmrs-liquibase .................................. SKIPPED
  138. [INFO] ------------------------------------------------------------------------
  139. [INFO] BUILD FAILURE
  140. [INFO] ------------------------------------------------------------------------
  141. [INFO] Total time: 19.842 s
  142. [INFO] Finished at: 2020-10-27T23:25:49+03:00
  143. [INFO] ------------------------------------------------------------------------
  144. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project openmrs-api: Failed to clean project: Failed to delete C:\Users\Cliff\Desktop\project\openmrs-core\api\target\classes -> [Help 1]
  145. [ERROR]
  146. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  147. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  148. [ERROR]
  149. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  150. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  151. [ERROR]
  152. [ERROR] After correcting the problems, you can resume the build with the command
  153. [ERROR] mvn <goals> -rf :openmrs-api
  154.  
  155. Cliff@Cliff-PC MINGW64 ~/Desktop/project/openmrs-core (2.4.x)
  156. $ mvn clean install -DskipTests -U
  157. [INFO] Scanning for projects...
  158. Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/javax/annotation/javax.annotation-api/maven-metadata.xml
  159. Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/javax/annotation/javax.annotation-api/maven-metadata.xml
  160. Downloading from central: https://repo.maven.apache.org/maven2/javax/annotation/javax.annotation-api/maven-metadata.xml
  161. Downloaded from central: https://repo.maven.apache.org/maven2/javax/annotation/javax.annotation-api/maven-metadata.xml (564 B at 225 B/s)
  162. Downloaded from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/javax/annotation/javax.annotation-api/maven-metadata.xml (591 B at 88 B/s)
  163. [INFO] ------------------------------------------------------------------------
  164. [INFO] Reactor Build Order:
  165. [INFO]
  166. [INFO] OpenMRS [pom]
  167. [INFO] openmrs-tools [jar]
  168. [INFO] openmrs-test [pom]
  169. [INFO] openmrs-api [jar]
  170. [INFO] openmrs-web [jar]
  171. [INFO] openmrs-webapp [war]
  172. [INFO] openmrs-liquibase [jar]
  173. [INFO]
  174. [INFO] ------------------------< org.openmrs:openmrs >-------------------------
  175. [INFO] Building OpenMRS 2.4.0-SNAPSHOT [1/7]
  176. [INFO] --------------------------------[ pom ]---------------------------------
  177. [INFO]
  178. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs ---
  179. [INFO] Deleting C:\Users\Cliff\Desktop\project\openmrs-core\target
  180. [INFO]
  181. [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ openmrs ---
  182. [INFO] ShortRevision tag detected. The value is '6'.
  183. [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
  184. [INFO] Working directory: C:\Users\Cliff\Desktop\project\openmrs-core
  185. [INFO] Storing buildNumber: 307985 at timestamp: 1603830596915
  186. [INFO] Storing buildScmBranch: 2.4.x
  187. [INFO]
  188. [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (parse-version) @ openmrs ---
  189. [INFO]
  190. [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ openmrs ---
  191. [WARNING] JAR will be empty - no content was marked for inclusion!
  192. [INFO] Building jar: C:\Users\Cliff\Desktop\project\openmrs-core\target\openmrs-2.4.0-SNAPSHOT-tests.jar
  193. [INFO]
  194. [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs ---
  195. [INFO] Checking licenses...
  196. [INFO]
  197. [INFO] --- maven-install-plugin:2.4:install (default-install) @ openmrs ---
  198. [INFO] Installing C:\Users\Cliff\Desktop\project\openmrs-core\pom.xml to C:\Users\Cliff\.m2\repository\org\openmrs\openmrs\2.4.0-SNAPSHOT\openmrs-2.4.0-SNAPSHOT.pom
  199. [INFO] Installing C:\Users\Cliff\Desktop\project\openmrs-core\target\openmrs-2.4.0-SNAPSHOT-tests.jar to C:\Users\Cliff\.m2\repository\org\openmrs\openmrs\2.4.0-SNAPSHOT\openmrs-2.4.0-SNAPSHOT-tests.jar
  200. [INFO]
  201. [INFO] ------------------< org.openmrs.tools:openmrs-tools >-------------------
  202. [INFO] Building openmrs-tools 2.4.0-SNAPSHOT [2/7]
  203. [INFO] --------------------------------[ jar ]---------------------------------
  204. [INFO]
  205. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-tools ---
  206. [INFO] Deleting C:\Users\Cliff\Desktop\project\openmrs-core\tools\target
  207. [INFO]
  208. [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ openmrs-tools ---
  209. [INFO]
  210. [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (parse-version) @ openmrs-tools ---
  211. [INFO]
  212. [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ openmrs-tools ---
  213. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  214. [INFO] Using 'UTF-8' encoding to copy filtered properties files.
  215. [INFO] Copying 4 resources
  216. [INFO]
  217. [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ openmrs-tools ---
  218. [INFO] No sources to compile
  219. [INFO]
  220. [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ openmrs-tools ---
  221. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  222. [INFO] Using 'UTF-8' encoding to copy filtered properties files.
  223. [INFO] skip non existing resourceDirectory C:\Users\Cliff\Desktop\project\openmrs-core\tools\src\test\resources
  224. [INFO]
  225. [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ openmrs-tools ---
  226. [INFO] No sources to compile
  227. [INFO]
  228. [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ openmrs-tools ---
  229. [INFO] Tests are skipped.
  230. [INFO]
  231. [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ openmrs-tools ---
  232. [INFO] Building jar: C:\Users\Cliff\Desktop\project\openmrs-core\tools\target\openmrs-tools-2.4.0-SNAPSHOT.jar
  233. [INFO]
  234. [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ openmrs-tools ---
  235. [WARNING] JAR will be empty - no content was marked for inclusion!
  236. [INFO] Building jar: C:\Users\Cliff\Desktop\project\openmrs-core\tools\target\openmrs-tools-2.4.0-SNAPSHOT-tests.jar
  237. [INFO]
  238. [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs-tools ---
  239. [INFO] Checking licenses...
  240. [INFO]
  241. [INFO] --- maven-install-plugin:2.4:install (default-install) @ openmrs-tools ---
  242. [INFO] Installing C:\Users\Cliff\Desktop\project\openmrs-core\tools\target\openmrs-tools-2.4.0-SNAPSHOT.jar to C:\Users\Cliff\.m2\repository\org\openmrs\tools\openmrs-tools\2.4.0-SNAPSHOT\openmrs-tools-2.4.0-SNAPSHOT.jar
  243. [INFO] Installing C:\Users\Cliff\Desktop\project\openmrs-core\tools\pom.xml to C:\Users\Cliff\.m2\repository\org\openmrs\tools\openmrs-tools\2.4.0-SNAPSHOT\openmrs-tools-2.4.0-SNAPSHOT.pom
  244. [INFO] Installing C:\Users\Cliff\Desktop\project\openmrs-core\tools\target\openmrs-tools-2.4.0-SNAPSHOT-tests.jar to C:\Users\Cliff\.m2\repository\org\openmrs\tools\openmrs-tools\2.4.0-SNAPSHOT\openmrs-tools-2.4.0-SNAPSHOT-tests.jar
  245. [INFO]
  246. [INFO] -------------------< org.openmrs.test:openmrs-test >--------------------
  247. [INFO] Building openmrs-test 2.4.0-SNAPSHOT [3/7]
  248. [INFO] --------------------------------[ pom ]---------------------------------
  249. [INFO]
  250. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-test ---
  251. [INFO] Deleting C:\Users\Cliff\Desktop\project\openmrs-core\test\target
  252. [INFO]
  253. [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ openmrs-test ---
  254. [INFO]
  255. [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (parse-version) @ openmrs-test ---
  256. [INFO]
  257. [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ openmrs-test ---
  258. [WARNING] JAR will be empty - no content was marked for inclusion!
  259. [INFO] Building jar: C:\Users\Cliff\Desktop\project\openmrs-core\test\target\openmrs-test-2.4.0-SNAPSHOT-tests.jar
  260. [INFO]
  261. [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs-test ---
  262. [INFO] Checking licenses...
  263. [INFO]
  264. [INFO] --- maven-install-plugin:2.4:install (default-install) @ openmrs-test ---
  265. [INFO] Installing C:\Users\Cliff\Desktop\project\openmrs-core\test\pom.xml to C:\Users\Cliff\.m2\repository\org\openmrs\test\openmrs-test\2.4.0-SNAPSHOT\openmrs-test-2.4.0-SNAPSHOT.pom
  266. [INFO] Installing C:\Users\Cliff\Desktop\project\openmrs-core\test\target\openmrs-test-2.4.0-SNAPSHOT-tests.jar to C:\Users\Cliff\.m2\repository\org\openmrs\test\openmrs-test\2.4.0-SNAPSHOT\openmrs-test-2.4.0-SNAPSHOT-tests.jar
  267. [INFO]
  268. [INFO] --------------------< org.openmrs.api:openmrs-api >---------------------
  269. [INFO] Building openmrs-api 2.4.0-SNAPSHOT [4/7]
  270. [INFO] --------------------------------[ jar ]---------------------------------
  271. [INFO]
  272. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-api ---
  273. [INFO] Deleting C:\Users\Cliff\Desktop\project\openmrs-core\api\target
  274. [INFO] ------------------------------------------------------------------------
  275. [INFO] Reactor Summary for OpenMRS 2.4.0-SNAPSHOT:
  276. [INFO]
  277. [INFO] OpenMRS ............................................ SUCCESS [ 12.560 s]
  278. [INFO] openmrs-tools ...................................... SUCCESS [ 1.398 s]
  279. [INFO] openmrs-test ....................................... SUCCESS [ 0.616 s]
  280. [INFO] openmrs-api ........................................ FAILURE [ 8.446 s]
  281. [INFO] openmrs-web ........................................ SKIPPED
  282. [INFO] openmrs-webapp ..................................... SKIPPED
  283. [INFO] openmrs-liquibase .................................. SKIPPED
  284. [INFO] ------------------------------------------------------------------------
  285. [INFO] BUILD FAILURE
  286. [INFO] ------------------------------------------------------------------------
  287. [INFO] Total time: 35.220 s
  288. [INFO] Finished at: 2020-10-27T23:30:17+03:00
  289. [INFO] ------------------------------------------------------------------------
  290. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project openmrs-api: Failed to clean project: Failed to delete C:\Users\Cliff\Desktop\project\openmrs-core\api\target\classes -> [Help 1]
  291. [ERROR]
  292. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  293. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  294. [ERROR]
  295. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  296. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  297. [ERROR]
  298. [ERROR] After correcting the problems, you can resume the build with the command
  299. [ERROR] mvn <goals> -rf :openmrs-api
  300.  
  301. Cliff@Cliff-PC MINGW64 ~/Desktop/project/openmrs-core (2.4.x)
  302. $ mvn clean install -DskipTests -U
  303.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement