Advertisement
Guest User

Untitled

a guest
Jul 21st, 2019
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.95 KB | None | 0 0
  1. C:\Users\hp\Desktop\GSoC\openmrs-module-coreapps>mvn clean install -Dmaven.test.skip=true
  2. [INFO] Scanning for projects...
  3. [WARNING]
  4. [WARNING] Some problems were encountered while building the effective model for org.openmrs.module:coreapps-omod:jar:1.23.0-SNAPSHOT
  5. [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-dependency-plugin @ org.openmrs.module:coreapps-omod:[unknown-version], C:\Users\hp\Desktop\GSoC\openmrs-module-coreapps\omod\pom.xml, line 450, column 21
  6. [WARNING] 'build.plugins.plugin.version' for de.saumya.mojo:gem-maven-plugin is missing. @ org.openmrs.module:coreapps-omod:[unknown-version], C:\Users\hp\Desktop\GSoC\openmrs-module-coreapps\omod\pom.xml, line 476, column 21
  7. [WARNING]
  8. [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
  9. [WARNING]
  10. [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
  11. [WARNING]
  12. [INFO] ------------------------------------------------------------------------
  13. [INFO] Reactor Build Order:
  14. [INFO]
  15. [INFO] Core Apps Module [pom]
  16. [INFO] Core Apps Module API-pre2.2 [jar]
  17. [INFO] Core Apps Module API [jar]
  18. [INFO] coreapps Module web 1.9 [jar]
  19. [INFO] coreapps Module web 2.0 [jar]
  20. [INFO] Core Apps Module API 2.2 [jar]
  21. [INFO] Core Apps Module OMOD [jar]
  22. [INFO]
  23. [INFO] --------------------< org.openmrs.module:coreapps >---------------------
  24. [INFO] Building Core Apps Module 1.23.0-SNAPSHOT [1/7]
  25. [INFO] --------------------------------[ pom ]---------------------------------
  26. [INFO]
  27. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ coreapps ---
  28. [INFO]
  29. [INFO] --- maven-install-plugin:2.4:install (default-install) @ coreapps ---
  30. [INFO] Installing C:\Users\hp\Desktop\GSoC\openmrs-module-coreapps\pom.xml to C:\Users\hp\.m2\repository\org\openmrs\module\coreapps\1.23.0-SNAPSHOT\coreapps-1.23.0-SNAPSHOT.pom
  31. [INFO]
  32. [INFO] ---------------< org.openmrs.module:coreapps-api-pre2.2 >---------------
  33. [INFO] Building Core Apps Module API-pre2.2 1.23.0-SNAPSHOT [2/7]
  34. [INFO] --------------------------------[ jar ]---------------------------------
  35. [INFO]
  36. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ coreapps-api-pre2.2 ---
  37. [INFO] Deleting C:\Users\hp\Desktop\GSoC\openmrs-module-coreapps\api-pre2.2\target
  38. [INFO]
  39. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ coreapps-api-pre2.2 ---
  40. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  41. [INFO] skip non existing resourceDirectory C:\Users\hp\Desktop\GSoC\openmrs-module-coreapps\api-pre2.2\src\main\resources
  42. [INFO]
  43. [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ coreapps-api-pre2.2 ---
  44. [INFO] Changes detected - recompiling the module!
  45. [INFO] Compiling 1 source file to C:\Users\hp\Desktop\GSoC\openmrs-module-coreapps\api-pre2.2\target\classes
  46. [WARNING] /C:/Users/hp/Desktop/GSoC/openmrs-module-coreapps/api-pre2.2/src/main/java/org/openmrs/module/coreapps/htmlformentry/EncounterDiagnosesElement.java: C:\Users\hp\Desktop\GSoC\openmrs-module-coreapps\api-pre2.2\src\main\java\org\openmrs\module\coreapps\htmlformentry\EncounterDiagnosesElement.java uses or overrides a deprecated API.
  47. [WARNING] /C:/Users/hp/Desktop/GSoC/openmrs-module-coreapps/api-pre2.2/src/main/java/org/openmrs/module/coreapps/htmlformentry/EncounterDiagnosesElement.java: Recompile with -Xlint:deprecation for details.
  48. [WARNING] /C:/Users/hp/Desktop/GSoC/openmrs-module-coreapps/api-pre2.2/src/main/java/org/openmrs/module/coreapps/htmlformentry/EncounterDiagnosesElement.java: C:\Users\hp\Desktop\GSoC\openmrs-module-coreapps\api-pre2.2\src\main\java\org\openmrs\module\coreapps\htmlformentry\EncounterDiagnosesElement.java uses unchecked or unsafe operations.
  49. [WARNING] /C:/Users/hp/Desktop/GSoC/openmrs-module-coreapps/api-pre2.2/src/main/java/org/openmrs/module/coreapps/htmlformentry/EncounterDiagnosesElement.java: Recompile with -Xlint:unchecked for details.
  50. [INFO]
  51. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ coreapps-api-pre2.2 ---
  52. [INFO] Not copying test resources
  53. [INFO]
  54. [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ coreapps-api-pre2.2 ---
  55. [INFO] Not compiling test sources
  56. [INFO]
  57. [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ coreapps-api-pre2.2 ---
  58. [INFO] Tests are skipped.
  59. [INFO]
  60. [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ coreapps-api-pre2.2 ---
  61. [INFO] Building jar: C:\Users\hp\Desktop\GSoC\openmrs-module-coreapps\api-pre2.2\target\coreapps-api-pre2.2-1.23.0-SNAPSHOT.jar
  62. [INFO]
  63. [INFO] --- maven-install-plugin:2.4:install (default-install) @ coreapps-api-pre2.2 ---
  64. [INFO] Installing C:\Users\hp\Desktop\GSoC\openmrs-module-coreapps\api-pre2.2\target\coreapps-api-pre2.2-1.23.0-SNAPSHOT.jar to C:\Users\hp\.m2\repository\org\openmrs\module\coreapps-api-pre2.2\1.23.0-SNAPSHOT\coreapps-api-pre2.2-1.23.0-SNAPSHOT.jar
  65. [INFO] Installing C:\Users\hp\Desktop\GSoC\openmrs-module-coreapps\api-pre2.2\pom.xml to C:\Users\hp\.m2\repository\org\openmrs\module\coreapps-api-pre2.2\1.23.0-SNAPSHOT\coreapps-api-pre2.2-1.23.0-SNAPSHOT.pom
  66. [INFO]
  67. [INFO] ------------------< org.openmrs.module:coreapps-api >-------------------
  68. [INFO] Building Core Apps Module API 1.23.0-SNAPSHOT [3/7]
  69. [INFO] --------------------------------[ jar ]---------------------------------
  70. [INFO]
  71. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ coreapps-api ---
  72. [INFO] Deleting C:\Users\hp\Desktop\GSoC\openmrs-module-coreapps\api\target
  73. [INFO]
  74. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ coreapps-api ---
  75. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  76. [INFO] Copying 22 resources
  77. [INFO]
  78. [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ coreapps-api ---
  79. [INFO] Changes detected - recompiling the module!
  80. [INFO] Compiling 20 source files to C:\Users\hp\Desktop\GSoC\openmrs-module-coreapps\api\target\classes
  81. [INFO] -------------------------------------------------------------
  82. [WARNING] COMPILATION WARNING :
  83. [INFO] -------------------------------------------------------------
  84. [WARNING] /C:/Users/hp/Desktop/GSoC/openmrs-module-coreapps/api/src/main/java/org/openmrs/module/coreapps/CoreAppsProperties.java: Some input files use or override a deprecated API.
  85. [WARNING] /C:/Users/hp/Desktop/GSoC/openmrs-module-coreapps/api/src/main/java/org/openmrs/module/coreapps/CoreAppsProperties.java: Recompile with -Xlint:deprecation for details.
  86. [WARNING] /C:/Users/hp/Desktop/GSoC/openmrs-module-coreapps/api/src/main/java/org/openmrs/module/coreapps/htmlformentry/EncounterDiagnosesByObsElement.java: Some input files use unchecked or unsafe operations.
  87. [WARNING] /C:/Users/hp/Desktop/GSoC/openmrs-module-coreapps/api/src/main/java/org/openmrs/module/coreapps/htmlformentry/EncounterDiagnosesByObsElement.java: Recompile with -Xlint:unchecked for details.
  88. [INFO] 4 warnings
  89. [INFO] -------------------------------------------------------------
  90. [INFO] -------------------------------------------------------------
  91. [ERROR] COMPILATION ERROR :
  92. [INFO] -------------------------------------------------------------
  93. [ERROR] /C:/Users/hp/Desktop/GSoC/openmrs-module-coreapps/api/src/main/java/org/openmrs/module/coreapps/utils/VisitTypeHelper.java:[258,34] method setProvider in class org.openmrs.Encounter cannot be applied to given types;
  94. required: org.openmrs.EncounterRole,org.openmrs.Provider
  95. found: org.openmrs.Person
  96. reason: actual and formal argument lists differ in length
  97. [INFO] 1 error
  98. [INFO] -------------------------------------------------------------
  99. [INFO] ------------------------------------------------------------------------
  100. [INFO] Reactor Summary for Core Apps Module 1.23.0-SNAPSHOT:
  101. [INFO]
  102. [INFO] Core Apps Module ................................... SUCCESS [ 0.368 s]
  103. [INFO] Core Apps Module API-pre2.2 ........................ SUCCESS [ 10.448 s]
  104. [INFO] Core Apps Module API ............................... FAILURE [ 5.613 s]
  105. [INFO] coreapps Module web 1.9 ............................ SKIPPED
  106. [INFO] coreapps Module web 2.0 ............................ SKIPPED
  107. [INFO] Core Apps Module API 2.2 ........................... SKIPPED
  108. [INFO] Core Apps Module OMOD .............................. SKIPPED
  109. [INFO] ------------------------------------------------------------------------
  110. [INFO] BUILD FAILURE
  111. [INFO] ------------------------------------------------------------------------
  112. [INFO] Total time: 18.947 s
  113. [INFO] Finished at: 2019-07-21T22:43:23+05:30
  114. [INFO] ------------------------------------------------------------------------
  115. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project coreapps-api: Compilation failure
  116. [ERROR] /C:/Users/hp/Desktop/GSoC/openmrs-module-coreapps/api/src/main/java/org/openmrs/module/coreapps/utils/VisitTypeHelper.java:[258,34] method setProvider in class org.openmrs.Encounter cannot be applied to given types;
  117. [ERROR] required: org.openmrs.EncounterRole,org.openmrs.Provider
  118. [ERROR] found: org.openmrs.Person
  119. [ERROR] reason: actual and formal argument lists differ in length
  120. [ERROR]
  121. [ERROR] -> [Help 1]
  122. [ERROR]
  123. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  124. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  125. [ERROR]
  126. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  127. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  128. [ERROR]
  129. [ERROR] After correcting the problems, you can resume the build with the command
  130. [ERROR] mvn <goals> -rf :coreapps-api
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement