简体   繁体   中英

How to list all the goals of a particular maven plugin

如何列出特定maven插件的所有目标(例如,我想列出maven-clean-plugin或maven-javadoc-plugin的所有目标,我该怎么做?)

You can use this command to list all goals of a particular maven plugin.

mvn help:describe -DgroupId=org.apache.maven.plugins 
                  -DartifactId=maven-war-plugin             
                  -Ddetail=true`

on linux you could use the bash_completion plugins that are out there for maven. this has been working for me: https://github.com/juven/maven-bash-completion

你总是可以在文档中看到这里

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM