Details
Description
I added the following goal to my project's maven.xml
<goal name="pluginname:somegoal">
<ant:echo message="Some message" />
</goal>
I type maven -g or maven.bat -g and the goals listed do not mention this goal anywhere.
Also I cleared all my cache files and still it does not list that goal.
the way to fix this is to move the maven.xml loading out of attainGoals and into session initialisation.
I imagine this is different on HEAD now after the refactoring, so it is worth waiting for that to stabilise before looking at this.