Maven 2 使用Xlint:deprecation的Java弃用API

Maven 2 使用Xlint:deprecation的Java弃用API,maven-2,deprecated,deprecation-warning,Maven 2,Deprecated,Deprecation Warning,我想删除代码中所有不推荐使用的API。但对于一些API,我在编译时得到了这个消息 [Some input files use or override a deprecated API. Recompile with -Xlint:deprecation for details.] 我可以使用什么maven命令来获取不推荐使用的API的详细信息 我应该采用什么方法来查找不推荐的API?链接问题的可能重复项几乎相同。。。答案是一样的。可能重复的问题几乎是一样的。。。解决办法也是一样的。

我想删除代码中所有不推荐使用的API。但对于一些API,我在编译时得到了这个消息

[Some input files use or override a deprecated API.
Recompile with -Xlint:deprecation for details.]
我可以使用什么maven命令来获取不推荐使用的API的详细信息

我应该采用什么方法来查找不推荐的API?

链接问题的可能重复项几乎相同。。。答案是一样的。可能重复的问题几乎是一样的。。。解决办法也是一样的。