Skip to content

Commit 395e4cb

Browse files
Maven compiler - disable annotation processing by default
1 parent e1029dc commit 395e4cb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pom.xml

+5
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,8 @@ limitations under the License.
334334
<minimalMavenBuildVersion>3.2.5</minimalMavenBuildVersion>
335335
<maven.compiler.source>${javaVersion}</maven.compiler.source>
336336
<maven.compiler.target>${javaVersion}</maven.compiler.target>
337+
<!-- in order to restore default annotation processing behaviour, please override with empty value -->
338+
<maven.compiler.proc>none</maven.compiler.proc>
337339
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
338340
<plexusDistMgmtSnapshotsUrl>https://oss.sonatype.org/content/repositories/plexus-snapshots</plexusDistMgmtSnapshotsUrl>
339341
<project.build.outputTimestamp>2024-03-04T19:10:03Z</project.build.outputTimestamp>
@@ -402,6 +404,9 @@ limitations under the License.
402404
<groupId>org.apache.maven.plugins</groupId>
403405
<artifactId>maven-compiler-plugin</artifactId>
404406
<version>3.13.0</version>
407+
<configuration>
408+
<proc>${maven.compiler.proc}</proc>
409+
</configuration>
405410
</plugin>
406411
<plugin>
407412
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)