一、基本信息
命令:mvn help:describe -Dplugin="groupId:artifactId:version"
例如:
二、详情
命令行加上-Ddetail
参数可以查看插件更详细的信息
例如:mvn help:describe -Dplugin="org.apache.maven.plugins:maven-compiler-plugin:3.8.1" -Ddetail
三、使用插件前缀
在得知插件前缀之后,下一次我们还可以使用一种更简单的方式获取插件信息
例如:mvn help:describe -Dplugin=compiler
其中compiler是maven-compiler-plugin的插件前缀