How you list the available goals for a maven plugin

I’ve been attending an excellent lab by Sune Simonsen which was about how to create a Javascript twitter client.

The lab utilizes the maven-lab-plugin, which can be used to create step-by-step labs using Maven.

During the lab, i wanted to know which step I was at and I figured that there should be a goal for that. To list the available goals for a maven plugin you can use the goal help:describe like this:

This will give you an output like:

1 Comment

  1. Nice little tip, we should post more of these :-)

Leave a Reply