Suubi7

Rest API Error

Apr 5th, 2024
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.56 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:webservices.rest-omod-2.0:jar:2.43.0-SNAPSHOT
  5. [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 160, 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.43.0-SNAPSHOT [1/14]
  31. [INFO] --------------------------------[ pom ]---------------------------------
  32. [INFO]
  33. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ webservices.rest ---
  34. [INFO]
  35. [INFO] --- maven-java-formatter-plugin:0.4:format (default) @ webservices.rest ---
  36. [INFO] Using 'UTF-8' encoding to format source files.
  37. [INFO] Number of files to be formatted: 0
  38. [INFO]
  39. [INFO] --- license-maven-plugin:3.0:format (format-license-header) @ webservices.rest ---
  40. [INFO] Updating license headers...
  41. [INFO]
  42. [INFO] --- maven-install-plugin:2.4:install (default-install) @ webservices.rest ---
  43. [INFO] Installing /home/suubi7/OpenMRS-Tickets/RESTWS-925/openmrs-module-webservices.rest/pom.xml to /home/suubi7/.m2/repository/org/openmrs/module/webservices.rest/2.43.0-SNAPSHOT/webservices.rest-2.43.0-SNAPSHOT.pom
  44. [INFO]
  45. [INFO] ----------< org.openmrs.module:webservices.rest-omod-common >-----------
  46. [INFO] Building Rest Web Services Common OMOD 2.43.0-SNAPSHOT [2/14]
  47. [INFO] --------------------------------[ jar ]---------------------------------
  48. [INFO]
  49. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ webservices.rest-omod-common ---
  50. [INFO] Deleting /home/suubi7/OpenMRS-Tickets/RESTWS-925/openmrs-module-webservices.rest/omod-common/target
  51. [INFO]
  52. [INFO] --- jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (prepare-agent) @ webservices.rest-omod-common ---
  53. [INFO] argLine set to -javaagent:/home/suubi7/.m2/repository/org/jacoco/org.jacoco.agent/0.7.7.201606060606/org.jacoco.agent-0.7.7.201606060606-runtime.jar=destfile=/home/suubi7/OpenMRS-Tickets/RESTWS-925/openmrs-module-webservices.rest/omod-common/target/jacoco.exec,includes=org/openmrs/**
  54. [INFO]
  55. [INFO] --- maven-java-formatter-plugin:0.4:format (default) @ webservices.rest-omod-common ---
  56. [INFO] Using 'UTF-8' encoding to format source files.
  57. [INFO] Number of files to be formatted: 160
  58. [INFO] Successfully formatted: 0 file(s)
  59. [INFO] Fail to format : 0 file(s)
  60. [INFO] Skipped : 160 file(s)
  61. [INFO] Approximate time taken: 1s
  62. [INFO]
  63. [INFO] --- license-maven-plugin:3.0:format (format-license-header) @ webservices.rest-omod-common ---
  64. [INFO] Updating license headers...
  65. [INFO]
  66. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ webservices.rest-omod-common ---
  67. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  68. [INFO] Copying 2 resources
  69. [INFO] skip non existing resourceDirectory /home/suubi7/OpenMRS-Tickets/RESTWS-925/openmrs-module-webservices.rest/omod-common/src/main/webapp
  70. [INFO] skip non existing resourceDirectory /home/suubi7/OpenMRS-Tickets/RESTWS-925/openmrs-module-webservices.rest/omod-common/src/main/webapp
  71. [INFO]
  72. [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ webservices.rest-omod-common ---
  73. [INFO] Changes detected - recompiling the module!
  74. [INFO] Compiling 125 source files to /home/suubi7/OpenMRS-Tickets/RESTWS-925/openmrs-module-webservices.rest/omod-common/target/classes
  75. [INFO] -------------------------------------------------------------
  76. [ERROR] COMPILATION ERROR :
  77. [INFO] -------------------------------------------------------------
  78. [ERROR] Source option 6 is no longer supported. Use 7 or later.
  79. [ERROR] Target option 6 is no longer supported. Use 7 or later.
  80. [INFO] 2 errors
  81. [INFO] -------------------------------------------------------------
  82. [INFO] ------------------------------------------------------------------------
  83. [INFO] Reactor Summary for Rest Web Services 2.43.0-SNAPSHOT:
  84. [INFO]
  85. [INFO] Rest Web Services .................................. SUCCESS [ 1.771 s]
  86. [INFO] Rest Web Services Common OMOD ...................... FAILURE [ 4.172 s]
  87. [INFO] Rest Web Services 1.8 OMOD ......................... SKIPPED
  88. [INFO] Rest Web Services 1.9 OMOD ......................... SKIPPED
  89. [INFO] Rest Web Services 1.10 OMOD ........................ SKIPPED
  90. [INFO] Rest Web Services 1.11 OMOD ........................ SKIPPED
  91. [INFO] Rest Web Services 1.12 OMOD ........................ SKIPPED
  92. [INFO] Rest Web Services 2.0 OMOD ......................... SKIPPED
  93. [INFO] Rest Web Services 2.1 OMOD ......................... SKIPPED
  94. [INFO] Rest Web Services 2.2 OMOD ......................... SKIPPED
  95. [INFO] Rest Web Services 2.3 OMOD ......................... SKIPPED
  96. [INFO] Rest Web Services 2.4 OMOD ......................... SKIPPED
  97. [INFO] Rest Web Services OMOD ............................. SKIPPED
  98. [INFO] Rest Web Services Integration Tests ................ SKIPPED
  99. [INFO] ------------------------------------------------------------------------
  100. [INFO] BUILD FAILURE
  101. [INFO] ------------------------------------------------------------------------
  102. [INFO] Total time: 6.795 s
  103. [INFO] Finished at: 2024-04-05T11:57:00+03:00
  104. [INFO] ------------------------------------------------------------------------
  105. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project webservices.rest-omod-common: Compilation failure: Compilation failure:
  106. [ERROR] Source option 6 is no longer supported. Use 7 or later.
  107. [ERROR] Target option 6 is no longer supported. Use 7 or later.
  108. [ERROR] -> [Help 1]
  109. [ERROR]
  110. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  111. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  112. [ERROR]
  113. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  114. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  115. [ERROR]
  116. [ERROR] After correcting the problems, you can resume the build with the command
  117. [ERROR] mvn <args> -rf :webservices.rest-omod-common
  118.  
Add Comment
Please, Sign In to add comment