fix(api): dedupe maven-compiler-plugin declaration

Merge of bdb25382 (proc/lint flags) with upstream's compiler pin left two
<plugin> entries for the same GA. Maven 3.9+ (CI) treats duplicate plugin
declarations as a fatal POM error; only 3.8 tolerated it as a warning.
Merged configuration: source/target 21, proc=full, lint args, lombok
annotation processor path.
This commit is contained in:
lapy 2026-10-12 17:23:56 +01:00
parent 56e83aaec0
commit 6bc3d6bde7

View file

@ -286,6 +286,10 @@
<configuration> <configuration>
<source>21</source> <source>21</source>
<target>21</target> <target>21</target>
<proc>full</proc>
<compilerArgs>
<arg>-Xlint:deprecation,unchecked</arg>
</compilerArgs>
<annotationProcessorPaths> <annotationProcessorPaths>
<path> <path>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>
@ -295,16 +299,6 @@
</annotationProcessorPaths> </annotationProcessorPaths>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<proc>full</proc>
<compilerArgs>
<arg>-Xlint:deprecation,unchecked</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>