Advertisement
GSA13

OpenMRS build fail

Sep 10th, 2022
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.76 KB | None | 0 0
  1. ➜ openmrs-core git:(master) 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] openmrs-liquibase [jar]
  13. [INFO]
  14. [INFO] ------------------------< org.openmrs:openmrs >-------------------------
  15. [INFO] Building OpenMRS 2.6.0-SNAPSHOT [1/7]
  16. [INFO] --------------------------------[ pom ]---------------------------------
  17. [INFO]
  18. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs ---
  19. [INFO] Deleting /Users/admin/git/openmrs-core/target
  20. [INFO]
  21. [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs ---
  22. [INFO] ShortRevision tag detected. The value is '6'.
  23. [INFO] Executing: /bin/sh -c cd '/Users/admin/git/openmrs-core' && 'git' 'rev-parse' '--verify' '--short=6' 'HEAD'
  24. [INFO] Working directory: /Users/admin/git/openmrs-core
  25. [INFO] Storing buildNumber: c3a6ec at timestamp: 1662846201152
  26. [INFO] Storing buildScmBranch: master
  27. [INFO]
  28. [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs ---
  29. [INFO]
  30. [INFO] --- maven-jar-plugin:3.2.2:test-jar (default) @ openmrs ---
  31. [WARNING] JAR will be empty - no content was marked for inclusion!
  32. [INFO] Building jar: /Users/admin/git/openmrs-core/target/openmrs-2.6.0-SNAPSHOT-tests.jar
  33. [INFO]
  34. [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs ---
  35. [INFO] Checking licenses...
  36. [INFO]
  37. [INFO] --- maven-install-plugin:2.4:install (default-install) @ openmrs ---
  38. [INFO] Installing /Users/admin/git/openmrs-core/pom.xml to /Users/admin/.m2/repository/org/openmrs/openmrs/2.6.0-SNAPSHOT/openmrs-2.6.0-SNAPSHOT.pom
  39. [INFO] Installing /Users/admin/git/openmrs-core/target/openmrs-2.6.0-SNAPSHOT-tests.jar to /Users/admin/.m2/repository/org/openmrs/openmrs/2.6.0-SNAPSHOT/openmrs-2.6.0-SNAPSHOT-tests.jar
  40. [INFO]
  41. [INFO] ------------------< org.openmrs.tools:openmrs-tools >-------------------
  42. [INFO] Building openmrs-tools 2.6.0-SNAPSHOT [2/7]
  43. [INFO] --------------------------------[ jar ]---------------------------------
  44. [INFO]
  45. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-tools ---
  46. [INFO] Deleting /Users/admin/git/openmrs-core/tools/target
  47. [INFO]
  48. [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-tools ---
  49. [INFO]
  50. [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-tools ---
  51. [INFO]
  52. [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ openmrs-tools ---
  53. [INFO] Copying 4 resources
  54. [INFO]
  55. [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ openmrs-tools ---
  56. [INFO] No sources to compile
  57. [INFO]
  58. [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ openmrs-tools ---
  59. [INFO] skip non existing resourceDirectory /Users/admin/git/openmrs-core/tools/src/test/resources
  60. [INFO]
  61. [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ openmrs-tools ---
  62. [INFO] No sources to compile
  63. [INFO]
  64. [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ openmrs-tools ---
  65. [INFO] No tests to run.
  66. [INFO]
  67. [INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ openmrs-tools ---
  68. [INFO] Building jar: /Users/admin/git/openmrs-core/tools/target/openmrs-tools-2.6.0-SNAPSHOT.jar
  69. [INFO]
  70. [INFO] --- maven-jar-plugin:3.2.2:test-jar (default) @ openmrs-tools ---
  71. [WARNING] JAR will be empty - no content was marked for inclusion!
  72. [INFO] Building jar: /Users/admin/git/openmrs-core/tools/target/openmrs-tools-2.6.0-SNAPSHOT-tests.jar
  73. [INFO]
  74. [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs-tools ---
  75. [INFO] Checking licenses...
  76. [INFO]
  77. [INFO] --- maven-install-plugin:2.4:install (default-install) @ openmrs-tools ---
  78. [INFO] Installing /Users/admin/git/openmrs-core/tools/target/openmrs-tools-2.6.0-SNAPSHOT.jar to /Users/admin/.m2/repository/org/openmrs/tools/openmrs-tools/2.6.0-SNAPSHOT/openmrs-tools-2.6.0-SNAPSHOT.jar
  79. [INFO] Installing /Users/admin/git/openmrs-core/tools/pom.xml to /Users/admin/.m2/repository/org/openmrs/tools/openmrs-tools/2.6.0-SNAPSHOT/openmrs-tools-2.6.0-SNAPSHOT.pom
  80. [INFO] Installing /Users/admin/git/openmrs-core/tools/target/openmrs-tools-2.6.0-SNAPSHOT-tests.jar to /Users/admin/.m2/repository/org/openmrs/tools/openmrs-tools/2.6.0-SNAPSHOT/openmrs-tools-2.6.0-SNAPSHOT-tests.jar
  81. [INFO]
  82. [INFO] -------------------< org.openmrs.test:openmrs-test >--------------------
  83. [INFO] Building openmrs-test 2.6.0-SNAPSHOT [3/7]
  84. [INFO] --------------------------------[ pom ]---------------------------------
  85. [INFO]
  86. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-test ---
  87. [INFO] Deleting /Users/admin/git/openmrs-core/test/target
  88. [INFO]
  89. [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-test ---
  90. [INFO]
  91. [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-test ---
  92. [INFO]
  93. [INFO] --- maven-jar-plugin:3.2.2:test-jar (default) @ openmrs-test ---
  94. [WARNING] JAR will be empty - no content was marked for inclusion!
  95. [INFO] Building jar: /Users/admin/git/openmrs-core/test/target/openmrs-test-2.6.0-SNAPSHOT-tests.jar
  96. [INFO]
  97. [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs-test ---
  98. [INFO] Checking licenses...
  99. [INFO]
  100. [INFO] --- maven-install-plugin:2.4:install (default-install) @ openmrs-test ---
  101. [INFO] Installing /Users/admin/git/openmrs-core/test/pom.xml to /Users/admin/.m2/repository/org/openmrs/test/openmrs-test/2.6.0-SNAPSHOT/openmrs-test-2.6.0-SNAPSHOT.pom
  102. [INFO] Installing /Users/admin/git/openmrs-core/test/target/openmrs-test-2.6.0-SNAPSHOT-tests.jar to /Users/admin/.m2/repository/org/openmrs/test/openmrs-test/2.6.0-SNAPSHOT/openmrs-test-2.6.0-SNAPSHOT-tests.jar
  103. [INFO]
  104. [INFO] --------------------< org.openmrs.api:openmrs-api >---------------------
  105. [INFO] Building openmrs-api 2.6.0-SNAPSHOT [4/7]
  106. [INFO] --------------------------------[ jar ]---------------------------------
  107. [INFO]
  108. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-api ---
  109. [INFO] Deleting /Users/admin/git/openmrs-core/api/target
  110. [INFO]
  111. [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-api ---
  112. [INFO]
  113. [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-api ---
  114. [INFO]
  115. [INFO] --- jacoco-maven-plugin:0.8.8:prepare-agent (prepare-agent) @ openmrs-api ---
  116. [INFO] argLine set to -javaagent:/Users/admin/.m2/repository/org/jacoco/org.jacoco.agent/0.8.8/org.jacoco.agent-0.8.8-runtime.jar=destfile=/Users/admin/git/openmrs-core/api/target/jacoco.exec,includes=org/openmrs/** -Duser.language=en -Duser.region=US -Xmx1g -Djava.locale.providers=COMPAT
  117. [INFO]
  118. [INFO] --- maven-java-formatter-plugin:0.3:format (default) @ openmrs-api ---
  119. [INFO] Using 'UTF-8' encoding to format source files.
  120. [INFO] Number of files to be formatted: 1111
  121. [INFO] Successfully formatted: 0 file(s)
  122. [INFO] Fail to format : 0 file(s)
  123. [INFO] Skipped : 1111 file(s)
  124. [INFO] Approximate time taken: 1s
  125. [INFO]
  126. [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ openmrs-api ---
  127. [INFO] Copying 1 resource
  128. [INFO] Copying 161 resources
  129. [INFO] The encoding used to copy filtered properties files have not been set. This means that the same encoding will be used to copy filtered properties files as when copying other filtered resources. This might not be what you want! Run your build with --debug to see which files might be affected. Read more at https://maven.apache.org/plugins/maven-resources-plugin/examples/filtering-properties-files.html
  130. [INFO]
  131. [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ openmrs-api ---
  132. [INFO] Changes detected - recompiling the module!
  133. [INFO] Compiling 746 source files to /Users/admin/git/openmrs-core/api/target/classes
  134. [INFO] /Users/admin/git/openmrs-core/api/src/main/java/org/openmrs/PersonName.java: Some input files use or override a deprecated API.
  135. [INFO] /Users/admin/git/openmrs-core/api/src/main/java/org/openmrs/PersonName.java: Recompile with -Xlint:deprecation for details.
  136. [INFO] -------------------------------------------------------------
  137. [ERROR] COMPILATION ERROR :
  138. [INFO] -------------------------------------------------------------
  139. [ERROR] /Users/admin/git/openmrs-core/api/src/main/java/org/openmrs/module/ModuleFactory.java:[17,27] package java.rmi.activation does not exist
  140. [INFO] 1 error
  141. [INFO] -------------------------------------------------------------
  142. [INFO] ------------------------------------------------------------------------
  143. [INFO] Reactor Summary for OpenMRS 2.6.0-SNAPSHOT:
  144. [INFO]
  145. [INFO] OpenMRS ............................................ SUCCESS [ 0.697 s]
  146. [INFO] openmrs-tools ...................................... SUCCESS [ 0.178 s]
  147. [INFO] openmrs-test ....................................... SUCCESS [ 0.042 s]
  148. [INFO] openmrs-api ........................................ FAILURE [ 3.454 s]
  149. [INFO] openmrs-web ........................................ SKIPPED
  150. [INFO] openmrs-webapp ..................................... SKIPPED
  151. [INFO] openmrs-liquibase .................................. SKIPPED
  152. [INFO] ------------------------------------------------------------------------
  153. [INFO] BUILD FAILURE
  154. [INFO] ------------------------------------------------------------------------
  155. [INFO] Total time: 4.462 s
  156. [INFO] Finished at: 2022-09-10T14:43:25-07:00
  157. [INFO] ------------------------------------------------------------------------
  158. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project openmrs-api: Compilation failure
  159. [ERROR] /Users/admin/git/openmrs-core/api/src/main/java/org/openmrs/module/ModuleFactory.java:[17,27] package java.rmi.activation does not exist
  160. [ERROR]
  161. [ERROR] -> [Help 1]
  162. [ERROR]
  163. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  164. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  165. [ERROR]
  166. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  167. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  168. [ERROR]
  169. [ERROR] After correcting the problems, you can resume the build with the command
  170. [ERROR] mvn <args> -rf :openmrs-api
  171. ➜ openmrs-core git:(master)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement