Skip to content

Commit 074b974

Browse files
committed
WELD-2820 Explicitly enable annotation processors for compiler plugin. This is required for JDK 23+ since we use Jboss Logging.
1 parent f02aab3 commit 074b974

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pom.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,9 @@
474474
<artifactId>maven-compiler-plugin</artifactId>
475475
<configuration>
476476
<compilerArgs>
477-
<arg>-Aorg.jboss.logging.tools.addGeneratedAnnotation=false</arg>
477+
<!-- Needed since Java 23 to enable annotation processors (JBoss Logging) -->
478+
<!-- 'full' means that annotation processing happens alongside source code compilation -->
479+
<arg>-proc:full</arg>
478480
</compilerArgs>
479481
</configuration>
480482
</plugin>

0 commit comments

Comments
 (0)