且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用-Xlint编译:在Maven项目中取消选中?

更新时间:2022-05-10 03:15:13

我想你可以在你的pom.xml中设置编译器参数。请参阅此 http://maven.apache.org/plugins/maven -compiler-plugin / examples / pass-compiler-arguments.html

I guess you can set compiler arguments in your pom.xml. Please refer this http://maven.apache.org/plugins/maven-compiler-plugin/examples/pass-compiler-arguments.html

 <compilerArgument>-Xlint:unchecked</compilerArgument>