Skip to content

Commit

Permalink
Add -proc:full to javac to explicitly enable annotation processing (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
barchetta authored Aug 24, 2023
1 parent 4f0cf36 commit 1ab3a9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion applications/parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${version.plugin.compiler}</version>
<configuration>
<proc>full</proc>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -252,4 +255,4 @@
<!--suppress MavenModelInspection -->
<snapshotRepository />
</distributionManagement>
</project>
</project>
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@
<target>${version.java}</target>
<release>${version.java}</release>
<forceJavacCompilerUse>true</forceJavacCompilerUse>
<proc>full</proc>
<compilerArgs>
<arg>-Xlint:unchecked</arg>
<!--
Expand Down

0 comments on commit 1ab3a9b

Please sign in to comment.