GitHub user THausherr added a comment to the discussion:
java.lang.IllegalArgumentException: The `GraalVmProcessor` annotation processor
is missing the required `log4j.graalvm.groupId` and `log4j.graalvm.artifactId`
options
``` <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<executions>
<execution>
<id>generate-log4j-plugin-descriptor</id>
<goals>
<goal>compile</goal>
</goals>
<phase>process-classes</phase>
<configuration>
<proc>only</proc>
<annotationProcessorPaths>
<path>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>${log4j2.version}</version>
</path>
</annotationProcessorPaths>
<annotationProcessors>
<processor>org.apache.logging.log4j.core.config.plugins.processor.PluginProcessor</processor>
<processor>org.apache.logging.log4j.core.config.plugins.processor.GraalVmProcessor</processor>
</annotationProcessors>
<compilerArgs>
<arg>-Alog4j.graalvm.groupId=${project.groupId}</arg>
<arg>-Alog4j.graalvm.artifactId=${project.artifactId}</arg>
</compilerArgs>
</configuration>
</execution>
</executions>
</plugin>
```
and I do have a plugin
```
@Plugin(name = "DebugLogAppender", category = "Core", elementType = "appender",
printObject = true)
public class DebugLogAppender extends AbstractAppender
```
The subproject is here (the above segment has been removed because I reverted
the change):
https://github.com/apache/pdfbox/tree/trunk/debugger
GitHub link:
https://github.com/apache/logging-log4j2/discussions/3755#discussioncomment-13511992
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]