Advertisement
Guest User

Untitled

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