Hi all,

I have merged PR#1369[1] and bumped the requirement for the JDK used
to build `2.x` to JDK 11+, which is able to compile all our modules.
If your JAVA_HOME points to a JDK 8 installation, you'll get a build
failure.

On the other hand Maven Toolchains are no longer required, unless you
want to run your tests on JRE 8, in which case:
 * configure a JDK 8 toolchain,
 * run `./mvnw verify -Pjava8-tests`

Of course the whole building instructions are available in our BUILDING.md[2].

Piotr

PS: If you use JDK 17 you'll get a bunch of failing tests. I didn't
want to waste time fixing them, since we'll probably fix them properly
in a couple of months.

[1] https://github.com/apache/logging-log4j2/pull/1369
[2] https://github.com/apache/logging-log4j2/blob/2.x/BUILDING.md

Reply via email to