What a complicated build setup we have! So even if you set up a proper toolchains.xml along with using the Maven wrapper, you get a compile error because the build also expects JAVA_HOME to default to Java 8.
On Sun, 26 Jul 2020 at 14:10, Mr. Jenkins <jenk...@ci-builds.apache.org> wrote: > > GENERAL INFO > > BUILD FAILURE > Build URL: https://ci-builds.apache.org/job/Logging/job/log4j/job/master/22/ > Project: master > Date of build: Sun, 26 Jul 2020 19:09:53 +0000 > Build duration: 25 sec and counting > > > CHANGE SET > > No changes > > > > > CONSOLE OUTPUT > > [...truncated 263 lines...] > > [INFO] Apache Log4j to SLF4J Adapter ...................... SKIPPED > > [INFO] Apache Log4j SLF4J Binding ......................... SKIPPED > > [INFO] Apache Log4j SLF4J 1.8+ Binding .................... SKIPPED > > [INFO] Apache Log4j Commons Logging Bridge ................ SKIPPED > > [INFO] Apache Log4j CSV ................................... SKIPPED > > [INFO] Apache Log4j Flume Bridge .......................... SKIPPED > > [INFO] Apache Log4j Web ................................... SKIPPED > > [INFO] Apache Log4j Tag Library ........................... SKIPPED > > [INFO] Apache Log4j JMX GUI ............................... SKIPPED > > [INFO] Apache Log4j Samples ............................... SKIPPED > > [INFO] Apache Log4j Samples: Flume - Common ............... SKIPPED > > [INFO] Apache Log4j Samples: Flume - Remote ............... SKIPPED > > [INFO] Apache Log4j Samples: Flume - Embedded ............. SKIPPED > > [INFO] Apache Log4j Samples: Configuration ................ SKIPPED > > [INFO] Apache Log4j Samples: LoggerProperties ............. SKIPPED > > [INFO] Apache Log4j BOM ................................... SKIPPED > > [INFO] Apache Log4j JDBC .................................. SKIPPED > > [INFO] Apache Log4j JDBC DBCP 2 ........................... SKIPPED > > [INFO] Apache Log4j JPA ................................... SKIPPED > > [INFO] Apache Log4j JeroMQ ................................ SKIPPED > > [INFO] Apache Log4j JMS ................................... SKIPPED > > [INFO] Apache Log4j Kafka ................................. SKIPPED > > [INFO] Apache Log4j CouchDB ............................... SKIPPED > > [INFO] Apache Log4j MongoDB 3 ............................. SKIPPED > > [INFO] Apache Log4j MongoDB 4 ............................. SKIPPED > > [INFO] Apache Log4j Cassandra ............................. SKIPPED > > [INFO] Apache Log4J Performance Tests ..................... SKIPPED > > [INFO] Apache Log4j Streaming Interface ................... SKIPPED > > [INFO] Apache Log4j JUL Adapter ........................... SKIPPED > > [INFO] Apache Log4j JDK Platform Logging Adapter .......... SKIPPED > > [INFO] Apache Log4j Liquibase Binding ..................... SKIPPED > > [INFO] Apache Log4j App Server Support .................... SKIPPED > > [INFO] Apache Log4j SMTP .................................. SKIPPED > > [INFO] Apache Log4j OSGi .................................. SKIPPED > > [INFO] Apache Log4j Docker Library ........................ SKIPPED > > [INFO] Apache Log4j Kubernetes Library .................... SKIPPED > > [INFO] Apache Log4j Spring Cloud Config Support ........... SKIPPED > > [INFO] Apache Log4j Spring Cloud Config Client Support .... SKIPPED > > [INFO] Log4j Sample Configuration Service ................. SKIPPED > > [INFO] Apache Log4j Spring Cloud Config Samples ........... SKIPPED > > [INFO] Spring Cloud Config Sample Application ............. SKIPPED > > [INFO] > ------------------------------------------------------------------------ > > [INFO] BUILD FAILURE > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Total time: 10.293 s > > [INFO] Finished at: 2020-07-26T19:10:12Z > > [INFO] > ------------------------------------------------------------------------ > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile > (default-compile) on project log4j-api: Compilation failure > > [ERROR] > /home/jenkins/workspace/Logging_log4j_master/log4j-api/src/main/java/org/apache/logging/log4j/util/PropertiesPropertySource.java:[19,17] > cannot access java.util.Map > > [ERROR] bad class file: /modules/java.base/java/util/Map.class > > [ERROR] class file has wrong version 55.0, should be 53.0 > > [ERROR] Please remove or make sure it appears in the correct > subdirectory of the classpath. > > [ERROR] > > [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 <args> -rf :log4j-api > > [Pipeline] } > > Deleting 1 temporary files > > [Pipeline] // configFileProvider > > [Pipeline] } > > [Pipeline] // stage > > [Pipeline] stage > > [Pipeline] { (Test) > > Stage "Test" skipped due to earlier failure(s) > > [Pipeline] parallel > > [Pipeline] { (Branch: Ubuntu) > > [Pipeline] { (Branch: Windows) > > [Pipeline] stage > > [Pipeline] { (Ubuntu) > > [Pipeline] stage > > [Pipeline] { (Windows) > > Stage "Ubuntu" skipped due to earlier failure(s) > > [Pipeline] } > > Stage "Windows" skipped due to earlier failure(s) > > [Pipeline] } > > [Pipeline] // stage > > [Pipeline] // stage > > [Pipeline] } > > Failed in branch Ubuntu > > [Pipeline] } > > Failed in branch Windows > > [Pipeline] // parallel > > [Pipeline] } > > [Pipeline] // stage > > [Pipeline] stage > > [Pipeline] { (Deploy) > > Stage "Deploy" skipped due to earlier failure(s) > > [Pipeline] } > > [Pipeline] // stage > > [Pipeline] stage > > [Pipeline] { (Declarative: Post Actions) > > [Pipeline] emailext -- Matt Sicker <boa...@gmail.com>