Tilman Hausherr created PDFBOX-6021:
---------------------------------------

             Summary: Update log4j to 2.25.0 in trunk
                 Key: PDFBOX-6021
                 URL: https://issues.apache.org/jira/browse/PDFBOX-6021
             Project: PDFBox
          Issue Type: Task
          Components: Utilities
    Affects Versions: 4.0.0
            Reporter: Tilman Hausherr
             Fix For: 4.0.0


When updating log4j to the latest version 2.25.0 I get this compiler error:

Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.14.0:compile (default-compile) 
on project pdfbox-debugger: Fatal error compiling: 
java.lang.IllegalArgumentException: The `GraalVmProcessor` annotation processor 
is missing the required `log4j.graalvm.groupId` and `log4j.graalvm.artifactId` 
options.
The generation of GraalVM reflection metadata for your Log4j Plugins will be 
disabled.

This is likely related to DebugLogAppender and will need some changes:
https://logging.apache.org/log4j/2.x/release-notes.html
{quote}However, the processor will fail the build if the required 
log4j.graalvm.groupId and log4j.graalvm.artifactId parameters are not 
provided.{quote}
more details here:
https://logging.apache.org/log4j/2.x/manual/plugins.html#plugin-registry



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to