diff --git a/src/site/antora/modules/ROOT/pages/manual/plugins.adoc b/src/site/antora/modules/ROOT/pages/manual/plugins.adoc index 233b6fd3226..6b751f07366 100644 --- a/src/site/antora/modules/ROOT/pages/manual/plugins.adoc +++ b/src/site/antora/modules/ROOT/pages/manual/plugins.adoc @@ -211,8 +211,8 @@ annotation processor creates such a file at compile-time. [WARNING] ==== -The `GraalVmProcessor` needs to know the `groupId` and `artifactId` coordinates of your project. -These must be supplied to the processor using the `log4j.graalvm.groupId` and `log4j.graalvm.artifactId` annotation processor options. +The `GraalVmProcessor` requires your project's `groupId` and `artifactId` to correctly generate the GraalVM reachability metadata file in the recommended location. +Provide these values to the processor using the `log4j.graalvm.groupId` and `log4j.graalvm.artifactId` annotation processor options. ==== You need to configure your build tool as follows to use both plugin processors: @@ -227,15 +227,23 @@ Maven:: org.apache.maven.plugins maven-compiler-plugin ${maven-compiler-plugin.version} + + + + -Alog4j.graalvm.groupId=${project.groupId} + -Alog4j.graalvm.artifactId=${project.artifactId} + + - generate-log4j-plugin-descriptor - - compile - - process-classes + + default-compile - only org.apache.logging.log4j.core.config.plugins.processor.GraalVmProcessor - - - -Alog4j.graalvm.groupId=${project.groupId} - -Alog4j.graalvm.artifactId=${project.artifactId} -