mvn clean install [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.openmrs.module:webservices.rest-omod-2.0:jar:2.43.0-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 160, column 21 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Rest Web Services [pom] [INFO] Rest Web Services Common OMOD [jar] [INFO] Rest Web Services 1.8 OMOD [jar] [INFO] Rest Web Services 1.9 OMOD [jar] [INFO] Rest Web Services 1.10 OMOD [jar] [INFO] Rest Web Services 1.11 OMOD [jar] [INFO] Rest Web Services 1.12 OMOD [jar] [INFO] Rest Web Services 2.0 OMOD [jar] [INFO] Rest Web Services 2.1 OMOD [jar] [INFO] Rest Web Services 2.2 OMOD [jar] [INFO] Rest Web Services 2.3 OMOD [jar] [INFO] Rest Web Services 2.4 OMOD [jar] [INFO] Rest Web Services OMOD [jar] [INFO] Rest Web Services Integration Tests [jar] [INFO] [INFO] ----------------< org.openmrs.module:webservices.rest >----------------- [INFO] Building Rest Web Services 2.43.0-SNAPSHOT [1/14] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ webservices.rest --- [INFO] [INFO] --- maven-java-formatter-plugin:0.4:format (default) @ webservices.rest --- [INFO] Using 'UTF-8' encoding to format source files. [INFO] Number of files to be formatted: 0 [INFO] [INFO] --- license-maven-plugin:3.0:format (format-license-header) @ webservices.rest --- [INFO] Updating license headers... [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ webservices.rest --- [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 [INFO] [INFO] ----------< org.openmrs.module:webservices.rest-omod-common >----------- [INFO] Building Rest Web Services Common OMOD 2.43.0-SNAPSHOT [2/14] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ webservices.rest-omod-common --- [INFO] Deleting /home/suubi7/OpenMRS-Tickets/RESTWS-925/openmrs-module-webservices.rest/omod-common/target [INFO] [INFO] --- jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (prepare-agent) @ webservices.rest-omod-common --- [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/** [INFO] [INFO] --- maven-java-formatter-plugin:0.4:format (default) @ webservices.rest-omod-common --- [INFO] Using 'UTF-8' encoding to format source files. [INFO] Number of files to be formatted: 160 [INFO] Successfully formatted: 0 file(s) [INFO] Fail to format : 0 file(s) [INFO] Skipped : 160 file(s) [INFO] Approximate time taken: 1s [INFO] [INFO] --- license-maven-plugin:3.0:format (format-license-header) @ webservices.rest-omod-common --- [INFO] Updating license headers... [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ webservices.rest-omod-common --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] skip non existing resourceDirectory /home/suubi7/OpenMRS-Tickets/RESTWS-925/openmrs-module-webservices.rest/omod-common/src/main/webapp [INFO] skip non existing resourceDirectory /home/suubi7/OpenMRS-Tickets/RESTWS-925/openmrs-module-webservices.rest/omod-common/src/main/webapp [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ webservices.rest-omod-common --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 125 source files to /home/suubi7/OpenMRS-Tickets/RESTWS-925/openmrs-module-webservices.rest/omod-common/target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] Source option 6 is no longer supported. Use 7 or later. [ERROR] Target option 6 is no longer supported. Use 7 or later. [INFO] 2 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Rest Web Services 2.43.0-SNAPSHOT: [INFO] [INFO] Rest Web Services .................................. SUCCESS [ 1.771 s] [INFO] Rest Web Services Common OMOD ...................... FAILURE [ 4.172 s] [INFO] Rest Web Services 1.8 OMOD ......................... SKIPPED [INFO] Rest Web Services 1.9 OMOD ......................... SKIPPED [INFO] Rest Web Services 1.10 OMOD ........................ SKIPPED [INFO] Rest Web Services 1.11 OMOD ........................ SKIPPED [INFO] Rest Web Services 1.12 OMOD ........................ SKIPPED [INFO] Rest Web Services 2.0 OMOD ......................... SKIPPED [INFO] Rest Web Services 2.1 OMOD ......................... SKIPPED [INFO] Rest Web Services 2.2 OMOD ......................... SKIPPED [INFO] Rest Web Services 2.3 OMOD ......................... SKIPPED [INFO] Rest Web Services 2.4 OMOD ......................... SKIPPED [INFO] Rest Web Services OMOD ............................. SKIPPED [INFO] Rest Web Services Integration Tests ................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.795 s [INFO] Finished at: 2024-04-05T11:57:00+03:00 [INFO] ------------------------------------------------------------------------ [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: [ERROR] Source option 6 is no longer supported. Use 7 or later. [ERROR] Target option 6 is no longer supported. Use 7 or later. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :webservices.rest-omod-common