Skip to content

Commit 786e258

Browse files
committed
fix: remove upcoming documentation
1 parent 0171ce7 commit 786e258

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

src/site/antora/modules/ROOT/pages/manual/plugins.adoc

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -215,38 +215,6 @@ The `GraalVmProcessor` requires your project's `groupId` and `artifactId` to cor
215215
Provide these values to the processor using the `log4j.graalvm.groupId` and `log4j.graalvm.artifactId` annotation processor options.
216216
====
217217
218-
.Suppressing notes from `PluginProcessor` in strict build environments
219-
[%collapsible]
220-
====
221-
Some build environments treat all compiler notes or warnings as errors (e.g., Maven with `-Werror` or Gradle with `options.compilerArgs << '-Werror'`).
222-
By default, `PluginProcessor` emits a `NOTE`-level diagnostic when it writes the plugin descriptor, which can cause the build to fail in those environments.
223-
To suppress these informational notes, pass the `log4j.plugin.processor.minAllowedMessageKind` annotation processor option with a value of `WARNING` or `ERROR`.
224-
This instructs the processor to only emit diagnostics at or above the specified severity, silencing routine notes while preserving genuine warnings and errors.
225-
226-
Accepted values (case-insensitive): `NOTE` (default), `WARNING`, `MANDATORY_WARNING`, `ERROR`, `OTHER`.
227-
228-
[tabs]
229-
=====
230-
Maven::
231-
+
232-
[source,xml]
233-
----
234-
<compilerArgs>
235-
<arg>-Alog4j.plugin.processor.minAllowedMessageKind=WARNING</arg>
236-
</compilerArgs>
237-
----
238-
239-
Gradle::
240-
+
241-
[source,groovy]
242-
----
243-
compileJava {
244-
options.compilerArgs << '-Alog4j.plugin.processor.minAllowedMessageKind=WARNING'
245-
}
246-
----
247-
=====
248-
====
249-
250218
You need to configure your build tool as follows to use both plugin processors:
251219
252220
[tabs]

0 commit comments

Comments
 (0)