Guest User

Exception

a guest
Nov 11th, 2020
21
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. opensource@opensource-OptiPlex-3010:~/Opensource/webservices-module$ 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:webservices.rest-omod-2.0:jar:2.30.0-SNAPSHOT
  5. [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 153, column 21
  6. [WARNING]
  7. [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
  8. [WARNING]
  9. [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
  10. [WARNING]
  11. [INFO] ------------------------------------------------------------------------
  12. [INFO] Reactor Build Order:
  13. [INFO]
  14. [INFO] Rest Web Services                                                  [pom]
  15. [INFO] Rest Web Services Common OMOD                                      [jar]
  16. [INFO] Rest Web Services 1.8 OMOD                                         [jar]
  17. [INFO] Rest Web Services 1.9 OMOD                                         [jar]
  18. [INFO] Rest Web Services 1.10 OMOD                                        [jar]
  19. [INFO] Rest Web Services 1.11 OMOD                                        [jar]
  20. [INFO] Rest Web Services 1.12 OMOD                                        [jar]
  21. [INFO] Rest Web Services 2.0 OMOD                                         [jar]
  22. [INFO] Rest Web Services 2.1 OMOD                                         [jar]
  23. [INFO] Rest Web Services 2.2 OMOD                                         [jar]
  24. [INFO] Rest Web Services 2.3 OMOD                                         [jar]
  25. [INFO] Rest Web Services 2.4 OMOD                                         [jar]
  26. [INFO] Rest Web Services OMOD                                             [jar]
  27. [INFO] Rest Web Services Integration Tests                                [jar]
  28. [INFO]
  29. [INFO] ----------------< org.openmrs.module:webservices.rest >-----------------
  30. [INFO] Building Rest Web Services 2.30.0-SNAPSHOT                        [1/14]
  31. [INFO] --------------------------------[ pom ]---------------------------------
  32. Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
  33. Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml (1.1 kB at 105 B/s)
  34. Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-jar-plugin/maven-metadata.xml
  35. Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-jar-plugin/maven-metadata.xml (894 B at 628 B/s)
  36. [INFO]
  37. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ webservices.rest ---
  38. [INFO]
  39. [INFO] --- maven-java-formatter-plugin:0.4:format (default) @ webservices.rest ---
  40. [INFO] Using 'UTF-8' encoding to format source files.
  41. [INFO] Number of files to be formatted: 0
  42. [INFO]
  43. [INFO] --- license-maven-plugin:3.0:format (format-license-header) @ webservices.rest ---
  44. [INFO] Updating license headers...
  45. [INFO]
  46. [INFO] --- maven-install-plugin:2.4:install (default-install) @ webservices.rest ---
  47. [INFO] Installing /home/opensource/Opensource/webservices-module/pom.xml to /home/opensource/.m2/repository/org/openmrs/module/webservices.rest/2.30.0-SNAPSHOT/webservices.rest-2.30.0-SNAPSHOT.pom
  48. [INFO]
  49. [INFO] ----------< org.openmrs.module:webservices.rest-omod-common >-----------
  50. [INFO] Building Rest Web Services Common OMOD 2.30.0-SNAPSHOT            [2/14]
  51. [INFO] --------------------------------[ jar ]---------------------------------
  52. [INFO]
  53. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ webservices.rest-omod-common ---
  54. [INFO] Deleting /home/opensource/Opensource/webservices-module/omod-common/target
  55. [INFO]
  56. [INFO] --- jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (prepare-agent) @ webservices.rest-omod-common ---
  57. [INFO] argLine set to -javaagent:/home/opensource/.m2/repository/org/jacoco/org.jacoco.agent/0.7.7.201606060606/org.jacoco.agent-0.7.7.201606060606-runtime.jar=destfile=/home/opensource/Opensource/webservices-module/omod-common/target/jacoco.exec,includes=org/openmrs/**
  58. [INFO]
  59. [INFO] --- maven-java-formatter-plugin:0.4:format (default) @ webservices.rest-omod-common ---
  60. [INFO] Using 'UTF-8' encoding to format source files.
  61. [INFO] Number of files to be formatted: 159
  62. [INFO] Successfully formatted: 0 file(s)
  63. [INFO] Fail to format        : 0 file(s)
  64. [INFO] Skipped               : 159 file(s)
  65. [INFO] Approximate time taken: 12s
  66. [INFO]
  67. [INFO] --- license-maven-plugin:3.0:format (format-license-header) @ webservices.rest-omod-common ---
  68. [INFO] Updating license headers...
  69. [INFO]
  70. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ webservices.rest-omod-common ---
  71. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  72. [INFO] Copying 2 resources
  73. [INFO] skip non existing resourceDirectory /home/opensource/Opensource/webservices-module/omod-common/src/main/webapp
  74. [INFO] skip non existing resourceDirectory /home/opensource/Opensource/webservices-module/omod-common/src/main/webapp
  75. [INFO]
  76. [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ webservices.rest-omod-common ---
  77. [INFO] Changes detected - recompiling the module!
  78. [INFO] Compiling 124 source files to /home/opensource/Opensource/webservices-module/omod-common/target/classes
  79. [WARNING] /home/opensource/Opensource/webservices-module/omod-common/src/main/java/org/openmrs/module/webservices/rest/web/RestUtil.java: Some input files use or override a deprecated API.
  80. [WARNING] /home/opensource/Opensource/webservices-module/omod-common/src/main/java/org/openmrs/module/webservices/rest/web/RestUtil.java: Recompile with -Xlint:deprecation for details.
  81. [WARNING] /home/opensource/Opensource/webservices-module/omod-common/src/main/java/org/openmrs/module/webservices/rest/web/resource/api/SearchQuery.java: Some input files use unchecked or unsafe operations.
  82. [WARNING] /home/opensource/Opensource/webservices-module/omod-common/src/main/java/org/openmrs/module/webservices/rest/web/resource/api/SearchQuery.java: Recompile with -Xlint:unchecked for details.
  83. [INFO]
  84. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ webservices.rest-omod-common ---
  85. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  86. [INFO] skip non existing resourceDirectory /home/opensource/Opensource/webservices-module/omod-common/src/test/resources
  87. [INFO] skip non existing resourceDirectory /home/opensource/Opensource/webservices-module/omod-common/src/test/resources
  88. [INFO]
  89. [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ webservices.rest-omod-common ---
  90. [INFO] Changes detected - recompiling the module!
  91. [INFO] Compiling 35 source files to /home/opensource/Opensource/webservices-module/omod-common/target/test-classes
  92. [WARNING] /home/opensource/Opensource/webservices-module/omod-common/src/test/java/org/openmrs/module/webservices/rest/web/resource/impl/BaseDelegatingResourceTest.java: Some input files use unchecked or unsafe operations.
  93. [WARNING] /home/opensource/Opensource/webservices-module/omod-common/src/test/java/org/openmrs/module/webservices/rest/web/resource/impl/BaseDelegatingResourceTest.java: Recompile with -Xlint:unchecked for details.
  94. [INFO]
  95. [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ webservices.rest-omod-common ---
  96. [INFO]
  97. [INFO] -------------------------------------------------------
  98. [INFO]  T E S T S
  99. [INFO] -------------------------------------------------------
  100. [INFO] Running org.openmrs.module.webservices.rest.web.resource.api.SearchConfigTest
  101. [INFO] Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.439 s - in org.openmrs.module.webservices.rest.web.resource.api.SearchConfigTest
  102. [INFO] Running org.openmrs.module.webservices.rest.web.resource.api.SearchQueryTest
  103. [INFO] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.openmrs.module.webservices.rest.web.resource.api.SearchQueryTest
  104. [INFO] Running org.openmrs.module.webservices.rest.web.resource.impl.AlreadyPagedTest
  105. [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 65.319 s - in org.openmrs.module.webservices.rest.web.resource.impl.AlreadyPagedTest
  106. [INFO] Running org.openmrs.module.webservices.rest.web.resource.impl.NeedsPagingTest
  107. [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.947 s - in org.openmrs.module.webservices.rest.web.resource.impl.NeedsPagingTest
  108. [INFO] Running org.openmrs.module.webservices.rest.web.resource.impl.MetadataDelegatingCrudResourceTest
  109. [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.155 s - in org.openmrs.module.webservices.rest.web.resource.impl.MetadataDelegatingCrudResourceTest
  110. [INFO] Running org.openmrs.module.webservices.rest.web.RequestContextTest
  111. [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.112 s - in org.openmrs.module.webservices.rest.web.RequestContextTest
  112. [INFO] Running org.openmrs.module.webservices.rest.web.api.RestServiceTest
  113. [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.647 s - in org.openmrs.module.webservices.rest.web.api.RestServiceTest
  114. [INFO] Running org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest
  115. [INFO] Tests run: 52, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.55 s - in org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest
  116. [INFO] Running org.openmrs.module.webservices.rest.web.ConversionUtilTest
  117. [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.515 s - in org.openmrs.module.webservices.rest.web.ConversionUtilTest
  118. [INFO] Running org.openmrs.module.webservices.rest.web.RestUtilTest
  119. [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.75 s - in org.openmrs.module.webservices.rest.web.RestUtilTest
  120. [INFO] Running org.openmrs.module.webservices.rest.web.filter.ContentTypeFilterTest
  121. [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.286 s - in org.openmrs.module.webservices.rest.web.filter.ContentTypeFilterTest
  122. [INFO] Running org.openmrs.module.webservices.rest.web.RestUtilComponentTest
  123. [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.26 s - in org.openmrs.module.webservices.rest.web.RestUtilComponentTest
  124. [INFO]
  125. [INFO] Results:
  126. [INFO]
  127. [INFO] Tests run: 145, Failures: 0, Errors: 0, Skipped: 0
  128. [INFO]
  129. [INFO]
  130. [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ webservices.rest-omod-common ---
  131. [INFO] Building jar: /home/opensource/Opensource/webservices-module/omod-common/target/webservices.rest-omod-common-2.30.0-SNAPSHOT.jar
  132. [INFO]
  133. [INFO] --- maven-jar-plugin:2.4:test-jar (default) @ webservices.rest-omod-common ---
  134. [INFO] Building jar: /home/opensource/Opensource/webservices-module/omod-common/target/webservices.rest-omod-common-2.30.0-SNAPSHOT-tests.jar
  135. [INFO]
  136. [INFO] --- maven-install-plugin:2.4:install (default-install) @ webservices.rest-omod-common ---
  137. [INFO] Installing /home/opensource/Opensource/webservices-module/omod-common/target/webservices.rest-omod-common-2.30.0-SNAPSHOT.jar to /home/opensource/.m2/repository/org/openmrs/module/webservices.rest-omod-common/2.30.0-SNAPSHOT/webservices.rest-omod-common-2.30.0-SNAPSHOT.jar
  138. [INFO] Installing /home/opensource/Opensource/webservices-module/omod-common/pom.xml to /home/opensource/.m2/repository/org/openmrs/module/webservices.rest-omod-common/2.30.0-SNAPSHOT/webservices.rest-omod-common-2.30.0-SNAPSHOT.pom
  139. [INFO] Installing /home/opensource/Opensource/webservices-module/omod-common/target/webservices.rest-omod-common-2.30.0-SNAPSHOT-tests.jar to /home/opensource/.m2/repository/org/openmrs/module/webservices.rest-omod-common/2.30.0-SNAPSHOT/webservices.rest-omod-common-2.30.0-SNAPSHOT-tests.jar
  140. [INFO]
  141. [INFO] ------------< org.openmrs.module:webservices.rest-omod-1.8 >------------
  142. [INFO] Building Rest Web Services 1.8 OMOD 2.30.0-SNAPSHOT               [3/14]
  143. [INFO] --------------------------------[ jar ]---------------------------------
  144. [INFO]
  145. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ webservices.rest-omod-1.8 ---
  146. [INFO] Deleting /home/opensource/Opensource/webservices-module/omod-1.8/target
  147. [INFO]
  148. [INFO] --- jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (prepare-agent) @ webservices.rest-omod-1.8 ---
  149. [INFO] argLine set to -javaagent:/home/opensource/.m2/repository/org/jacoco/org.jacoco.agent/0.7.7.201606060606/org.jacoco.agent-0.7.7.201606060606-runtime.jar=destfile=/home/opensource/Opensource/webservices-module/omod-1.8/target/jacoco.exec,includes=org/openmrs/**
  150. [INFO]
  151. [INFO] --- maven-java-formatter-plugin:0.4:format (default) @ webservices.rest-omod-1.8 ---
  152. [INFO] Using 'UTF-8' encoding to format source files.
  153. [INFO] Number of files to be formatted: 135
  154. [INFO] Successfully formatted: 0 file(s)
  155. [INFO] Fail to format        : 0 file(s)
  156. [INFO] Skipped               : 135 file(s)
  157. [INFO] Approximate time taken: 6s
  158. [INFO]
  159. [INFO] --- license-maven-plugin:3.0:format (format-license-header) @ webservices.rest-omod-1.8 ---
  160. [INFO] Updating license headers...
  161. [INFO]
  162. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ webservices.rest-omod-1.8 ---
  163. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  164. [INFO] skip non existing resourceDirectory /home/opensource/Opensource/webservices-module/omod-1.8/src/main/resources
  165. [INFO] skip non existing resourceDirectory /home/opensource/Opensource/webservices-module/omod-1.8/src/main/webapp
  166. [INFO] skip non existing resourceDirectory /home/opensource/Opensource/webservices-module/omod-1.8/src/main/webapp
  167. [INFO]
  168. [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ webservices.rest-omod-1.8 ---
  169. [INFO] Changes detected - recompiling the module!
  170. [INFO] Compiling 67 source files to /home/opensource/Opensource/webservices-module/omod-1.8/target/classes
  171. [INFO] -------------------------------------------------------------
  172. [WARNING] COMPILATION WARNING :
  173. [INFO] -------------------------------------------------------------
  174. [WARNING] /home/opensource/Opensource/webservices-module/omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/OrderResource1_8.java: Some input files use or override a deprecated API.
  175. [WARNING] /home/opensource/Opensource/webservices-module/omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/OrderResource1_8.java: Recompile with -Xlint:deprecation for details.
  176. [WARNING] /home/opensource/Opensource/webservices-module/omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/PatientResource1_8.java: Some input files use unchecked or unsafe operations.
  177. [WARNING] /home/opensource/Opensource/webservices-module/omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/PatientResource1_8.java: Recompile with -Xlint:unchecked for details.
  178. [INFO] 4 warnings
  179. [INFO] -------------------------------------------------------------
  180. [INFO] -------------------------------------------------------------
  181. [ERROR] COMPILATION ERROR :
  182. [INFO] -------------------------------------------------------------
  183. [ERROR] /home/opensource/Opensource/webservices-module/omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/UserResource1_8.java:[21,52] package org.apache.poi.hssf.record.formula.functions does not exist
  184. [INFO] 1 error
  185. [INFO] -------------------------------------------------------------
  186. [INFO] ------------------------------------------------------------------------
  187. [INFO] Reactor Summary for Rest Web Services 2.30.0-SNAPSHOT:
  188. [INFO]
  189. [INFO] Rest Web Services .................................. SUCCESS [ 35.549 s]
  190. [INFO] Rest Web Services Common OMOD ...................... SUCCESS [03:07 min]
  191. [INFO] Rest Web Services 1.8 OMOD ......................... FAILURE [ 27.432 s]
  192. [INFO] Rest Web Services 1.9 OMOD ......................... SKIPPED
  193. [INFO] Rest Web Services 1.10 OMOD ........................ SKIPPED
  194. [INFO] Rest Web Services 1.11 OMOD ........................ SKIPPED
  195. [INFO] Rest Web Services 1.12 OMOD ........................ SKIPPED
  196. [INFO] Rest Web Services 2.0 OMOD ......................... SKIPPED
  197. [INFO] Rest Web Services 2.1 OMOD ......................... SKIPPED
  198. [INFO] Rest Web Services 2.2 OMOD ......................... SKIPPED
  199. [INFO] Rest Web Services 2.3 OMOD ......................... SKIPPED
  200. [INFO] Rest Web Services 2.4 OMOD ......................... SKIPPED
  201. [INFO] Rest Web Services OMOD ............................. SKIPPED
  202. [INFO] Rest Web Services Integration Tests ................ SKIPPED
  203. [INFO] ------------------------------------------------------------------------
  204. [INFO] BUILD FAILURE
  205. [INFO] ------------------------------------------------------------------------
  206. [INFO] Total time:  04:17 min
  207. [INFO] Finished at: 2020-11-12T06:18:02+03:00
  208. [INFO] ------------------------------------------------------------------------
  209. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project webservices.rest-omod-1.8: Compilation failure
  210. [ERROR] /home/opensource/Opensource/webservices-module/omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/UserResource1_8.java:[21,52] package org.apache.poi.hssf.record.formula.functions does not exist
  211. [ERROR]
  212. [ERROR] -> [Help 1]
  213. [ERROR]
  214. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  215. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  216. [ERROR]
  217. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  218. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  219. [ERROR]
  220. [ERROR] After correcting the problems, you can resume the build with the command
  221. [ERROR]   mvn <args> -rf :webservices.rest-omod-1.8
  222. opensource@opensource-OptiPlex-3010:~/Opensource/webservices-module$
  223.  
RAW Paste Data