mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-27 04:49:47 +01:00
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:
parent
56e83aaec0
commit
6bc3d6bde7
1 changed files with 4 additions and 10 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue