Skip to content

Commit

Permalink
Add -proc:full to Java 21 compiler arguments (#469)
Browse files Browse the repository at this point in the history
  • Loading branch information
basil authored Aug 1, 2023
1 parent df11de3 commit eb3e269
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 @@ -956,6 +956,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 -->
<id>quick-build</id>
Expand Down

0 comments on commit eb3e269

Please sign in to comment.