Spring boot项目执行时mvn compile有一些信息如下
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ foo_app ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 13 source files to /Users/my/workspace/.../target/classes
[INFO] .../Foo.java: .../Foo.java uses unchecked or unsafe operations.
[INFO] .../Foo.java: Recompile with -Xlint:unchecked for details.
使用 spring-boot-maven-plugin
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<excludes>
<exclude>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
如何设置-Xlint:unchecked内spring-boot-maven-plugin