Maven Power / list goals

Maven users are blessed through plenty of available plugins. To avoid unprofessional seeking for plugin’s goals in internet, try

mvn help:describe -Dplugin=[your-plugin-here]

To obtain possible arguments of the particular plugin per goal, type

mvn help:describe -Dplugin=[your-plugin-here] -Ddetail

This will issue exhaustive information about that.

In order to get information about a certain goal, try

mvn help:describe -Dplugin=[your-plugin-here] -Dgoal=[your-goal-here] -Ddetail


mvn help:describe -Dplugin=release -Dgoal=branch -Ddetail


[INFO] --- maven-help-plugin:2.1.1:describe (default-cli) @ My Project ---
[INFO] Mojo: 'release:branch'
  Description: Branch a project in SCM, using the same steps as the
    release:prepare goal, creating a branch instead of a tag. For more info see
  Implementation: org.apache.maven.plugins.release.BranchReleaseMojo
  Language: java

  Available parameters:

    addSchema (Default: true)
      Expression: ${addSchema}
      Whether to add a schema to the POM if it was previously missing on


      Expression: ${branchName}
      The branch name to use.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s