Advertisement
Guest User

Untitled

a guest
Aug 10th, 2021
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.13 KB | None | 0 0
  1. 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:allergyui-omod:jar:1.8.5-SNAPSHOT
  5. [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-dependency-plugin @ l
  6. ine 226, column 12
  7. [WARNING] 'build.plugins.plugin.version' for de.saumya.mojo:gem-maven-plugin is missing. @ line 251, column 12
  8. [WARNING]
  9. [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
  10. [WARNING]
  11. [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
  12. [WARNING]
  13. [INFO] ------------------------------------------------------------------------
  14. [INFO] Reactor Build Order:
  15. [INFO]
  16. [INFO] Allergy UI Module [pom]
  17. [INFO] Allergy UI Module API [jar]
  18. [INFO] allergyui Module web 1.9 [jar]
  19. [INFO] allergyui Module web 2.0 [jar]
  20. [INFO] Allergy UI Module OMOD [jar]
  21. [INFO]
  22. [INFO] --------------------< org.openmrs.module:allergyui >--------------------
  23. [INFO] Building Allergy UI Module 1.8.5-SNAPSHOT [1/5]
  24. [INFO] --------------------------------[ pom ]---------------------------------
  25. [INFO]
  26. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ allergyui ---
  27. [INFO]
  28. [INFO] --- maven-install-plugin:2.4:install (default-install) @ allergyui ---
  29. [INFO] Installing E:\Finished Java Project\Openmrs\Ticket\openmrs-module-allergyui\pom.xml to C:\Users\Skilinski\.m2\repository\org\openmrs\module\allergyui\1.8.5-
  30. SNAPSHOT\allergyui-1.8.5-SNAPSHOT.pom
  31. [INFO]
  32. [INFO] ------------------< org.openmrs.module:allergyui-api >------------------
  33. [INFO] Building Allergy UI Module API 1.8.5-SNAPSHOT [2/5]
  34. [INFO] --------------------------------[ jar ]---------------------------------
  35. [INFO]
  36. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ allergyui-api ---
  37. [INFO] Deleting E:\Finished Java Project\Openmrs\Ticket\openmrs-module-allergyui\api\target
  38. [INFO]
  39. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ allergyui-api ---
  40. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  41. [INFO] Copying 24 resources
  42. [INFO]
  43. [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ allergyui-api ---
  44. [INFO] Changes detected - recompiling the module!
  45. [INFO] Compiling 7 source files to E:\Finished Java Project\Openmrs\Ticket\openmrs-module-allergyui\api\target\classes
  46. [INFO]
  47. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ allergyui-api ---
  48. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  49. [INFO] skip non existing resourceDirectory E:\Finished Java Project\Openmrs\Ticket\openmrs-module-allergyui\api\src\test\resources
  50. [INFO]
  51. [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ allergyui-api ---
  52. [INFO] Changes detected - recompiling the module!
  53. [INFO] Compiling 1 source file to E:\Finished Java Project\Openmrs\Ticket\openmrs-module-allergyui\api\target\test-classes
  54. [INFO]
  55. [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ allergyui-api ---
  56. [INFO] Surefire report directory: E:\Finished Java Project\Openmrs\Ticket\openmrs-module-allergyui\api\target\surefire-reports
  57.  
  58. -------------------------------------------------------
  59. T E S T S
  60. -------------------------------------------------------
  61. Running org.openmrs.module.allergyui.api.AllergyUIServiceTest
  62. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.415 sec
  63.  
  64. Results :
  65.  
  66. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
  67.  
  68. [INFO]
  69. [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ allergyui-api ---
  70. [INFO] Building jar: E:\Finished Java Project\Openmrs\Ticket\openmrs-module-allergyui\api\target\allergyui-api-1.8.5-SNAPSHOT.jar
  71. [INFO]
  72. [INFO] --- maven-install-plugin:2.4:install (default-install) @ allergyui-api ---
  73. [INFO] Installing E:\Finished Java Project\Openmrs\Ticket\openmrs-module-allergyui\api\target\allergyui-api-1.8.5-SNAPSHOT.jar to C:\Users\Skilinski\.m2\repository
  74. \org\openmrs\module\allergyui-api\1.8.5-SNAPSHOT\allergyui-api-1.8.5-SNAPSHOT.jar
  75. [INFO] Installing E:\Finished Java Project\Openmrs\Ticket\openmrs-module-allergyui\api\pom.xml to C:\Users\Skilinski\.m2\repository\org\openmrs\module\allergyui-ap
  76. i\1.8.5-SNAPSHOT\allergyui-api-1.8.5-SNAPSHOT.pom
  77. [INFO]
  78. [INFO] ----------------< org.openmrs.module:allergyui-web-1.9 >----------------
  79. [INFO] Building allergyui Module web 1.9 1.8.5-SNAPSHOT [3/5]
  80. [INFO] --------------------------------[ jar ]---------------------------------
  81. [INFO]
  82. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ allergyui-web-1.9 ---
  83. [INFO] Deleting E:\Finished Java Project\Openmrs\Ticket\openmrs-module-allergyui\web-1.9\target
  84. [INFO]
  85. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ allergyui-web-1.9 ---
  86. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  87. [INFO] skip non existing resourceDirectory E:\Finished Java Project\Openmrs\Ticket\openmrs-module-allergyui\web-1.9\src\main\resources
  88. [INFO]
  89. [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ allergyui-web-1.9 ---
  90. [INFO] Changes detected - recompiling the module!
  91. [INFO] Compiling 4 source files to E:\Finished Java Project\Openmrs\Ticket\openmrs-module-allergyui\web-1.9\target\classes
  92. [INFO] -------------------------------------------------------------
  93. [WARNING] COMPILATION WARNING :
  94. [INFO] -------------------------------------------------------------
  95. [WARNING] /E:/Finished Java Project/Openmrs/Ticket/openmrs-module-allergyui/web-1.9/src/main/java/org/openmrs/module/allergyui/page/controller/AllergyPageControlle
  96. r.java: Some input files use unchecked or unsafe operations.
  97. [WARNING] /E:/Finished Java Project/Openmrs/Ticket/openmrs-module-allergyui/web-1.9/src/main/java/org/openmrs/module/allergyui/page/controller/AllergyPageControlle
  98. r.java: Recompile with -Xlint:unchecked for details.
  99. [INFO] 2 warnings
  100. [INFO] -------------------------------------------------------------
  101. [INFO] -------------------------------------------------------------
  102. [ERROR] COMPILATION ERROR :
  103. [INFO] -------------------------------------------------------------
  104. [ERROR] /E:/Finished Java Project/Openmrs/Ticket/openmrs-module-allergyui/web-1.9/src/main/java/org/openmrs/module/allergyui/page/controller/AllergiesPageControlle
  105. r.java:[36,66] incompatible types: java.util.List<org.openmrs.activelist.Allergy> cannot be converted to org.openmrs.module.allergyapi.Allergies
  106. [ERROR] /E:/Finished Java Project/Openmrs/Ticket/openmrs-module-allergyui/web-1.9/src/main/java/org/openmrs/module/allergyui/page/controller/AllergiesPageControlle
  107. r.java:[44,99] incompatible types: java.util.List<org.openmrs.module.appframework.domain.Extension> cannot be converted to java.util.List<org.openmrs.module.Extens
  108. ion>
  109. [ERROR] /E:/Finished Java Project/Openmrs/Ticket/openmrs-module-allergyui/web-1.9/src/main/java/org/openmrs/module/allergyui/page/controller/AllergiesPageControlle
  110. r.java:[45,28] no suitable method found for sort(java.util.List<org.openmrs.module.Extension>)
  111. method java.util.Collections.<T>sort(java.util.List<T>) is not applicable
  112. (inferred type does not conform to upper bound(s)
  113. inferred: org.openmrs.module.Extension
  114. upper bound(s): java.lang.Comparable<? super org.openmrs.module.Extension>)
  115. method java.util.Collections.<T>sort(java.util.List<T>,java.util.Comparator<? super T>) is not applicable
  116. (cannot infer type-variable(s) T
  117. (actual and formal argument lists differ in length))
  118. [ERROR] /E:/Finished Java Project/Openmrs/Ticket/openmrs-module-allergyui/web-1.9/src/main/java/org/openmrs/module/allergyui/page/controller/AllergiesPageControlle
  119. r.java:[72,80] incompatible types: java.util.List<org.openmrs.activelist.Allergy> cannot be converted to org.openmrs.module.allergyapi.Allergies
  120. [ERROR] /E:/Finished Java Project/Openmrs/Ticket/openmrs-module-allergyui/web-1.9/src/main/java/org/openmrs/module/allergyui/page/controller/AllergiesPageControlle
  121. r.java:[76,47] cannot find symbol
  122. symbol: method setAllergies(org.openmrs.Patient,org.openmrs.module.allergyapi.Allergies)
  123. location: variable patientService of type org.openmrs.api.PatientService
  124. [INFO] 5 errors
  125. [INFO] -------------------------------------------------------------
  126. [INFO] ------------------------------------------------------------------------
  127. [INFO] Reactor Summary for Allergy UI Module 1.8.5-SNAPSHOT:
  128. [INFO]
  129. [INFO] Allergy UI Module .................................. SUCCESS [ 0.492 s]
  130. [INFO] Allergy UI Module API .............................. SUCCESS [ 20.764 s]
  131. [INFO] allergyui Module web 1.9 ........................... FAILURE [ 2.046 s]
  132. [INFO] allergyui Module web 2.0 ........................... SKIPPED
  133. [INFO] Allergy UI Module OMOD ............................. SKIPPED
  134. [INFO] ------------------------------------------------------------------------
  135. [INFO] BUILD FAILURE
  136. [INFO] ------------------------------------------------------------------------
  137. [INFO] Total time: 25.208 s
  138. [INFO] Finished at: 2021-08-10T11:22:40+03:00
  139. [INFO] ------------------------------------------------------------------------
  140. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project allergyui-web-1.9: Compilation failure: Comp
  141. ilation failure:
  142. [ERROR] /E:/Finished Java Project/Openmrs/Ticket/openmrs-module-allergyui/web-1.9/src/main/java/org/openmrs/module/allergyui/page/controller/AllergiesPageControlle
  143. r.java:[36,66] incompatible types: java.util.List<org.openmrs.activelist.Allergy> cannot be converted to org.openmrs.module.allergyapi.Allergies
  144. [ERROR] /E:/Finished Java Project/Openmrs/Ticket/openmrs-module-allergyui/web-1.9/src/main/java/org/openmrs/module/allergyui/page/controller/AllergiesPageControlle
  145. r.java:[44,99] incompatible types: java.util.List<org.openmrs.module.appframework.domain.Extension> cannot be converted to java.util.List<org.openmrs.module.Extens
  146. ion>
  147. [ERROR] /E:/Finished Java Project/Openmrs/Ticket/openmrs-module-allergyui/web-1.9/src/main/java/org/openmrs/module/allergyui/page/controller/AllergiesPageControlle
  148. r.java:[45,28] no suitable method found for sort(java.util.List<org.openmrs.module.Extension>)
  149. [ERROR] method java.util.Collections.<T>sort(java.util.List<T>) is not applicable
  150. [ERROR] (inferred type does not conform to upper bound(s)
  151. [ERROR] inferred: org.openmrs.module.Extension
  152. [ERROR] upper bound(s): java.lang.Comparable<? super org.openmrs.module.Extension>)
  153. [ERROR] method java.util.Collections.<T>sort(java.util.List<T>,java.util.Comparator<? super T>) is not applicable
  154. [ERROR] (cannot infer type-variable(s) T
  155. [ERROR] (actual and formal argument lists differ in length))
  156. [ERROR] /E:/Finished Java Project/Openmrs/Ticket/openmrs-module-allergyui/web-1.9/src/main/java/org/openmrs/module/allergyui/page/controller/AllergiesPageControlle
  157. r.java:[72,80] incompatible types: java.util.List<org.openmrs.activelist.Allergy> cannot be converted to org.openmrs.module.allergyapi.Allergies
  158. [ERROR] /E:/Finished Java Project/Openmrs/Ticket/openmrs-module-allergyui/web-1.9/src/main/java/org/openmrs/module/allergyui/page/controller/AllergiesPageControlle
  159. r.java:[76,47] cannot find symbol
  160. [ERROR] symbol: method setAllergies(org.openmrs.Patient,org.openmrs.module.allergyapi.Allergies)
  161. [ERROR] location: variable patientService of type org.openmrs.api.PatientService
  162. [ERROR] -> [Help 1]
  163. [ERROR]
  164. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  165. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  166. [ERROR]
  167. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  168. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  169. [ERROR]
  170. [ERROR] After correcting the problems, you can resume the build with the command
  171. [ERROR] mvn <args> -rf :allergyui-web-1.9
  172.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement