Skip to content

Commit

Permalink
Add -proc:full to Java 21 compiler arguments (#814)
Browse files Browse the repository at this point in the history
  • Loading branch information
basil committed Aug 1, 2023
1 parent 45757a8 commit 92da190
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1464,6 +1464,25 @@
</plugins>
</build>
</profile>
<profile>
<id>annotation-processors</id>
<activation>
<jdk>[21,)</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArgs>
<arg>-proc:full</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
</build>
</profile>

<profile>
<!-- a profile that disables as much testing as possible whilst still producing the artifacts -->
Expand Down

0 comments on commit 92da190

Please sign in to comment.