You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ben Anderson <be...@benanderson.us> on 2004/10/12 20:04:29 UTC
maven -u [undocumented goals]
Hi all,
Hopefully this is an easy question - I just can't find the answer anywhere.
When I do:
maven -u
I get:
Undocumented goals :
[list of all my goals]
This leads me to believe that there's a way to document my custom goals. Is
this true? I need other developers to be able to understand how the goals
should be used. Or should I just create another custom goal that spits out
this info?
Thanks,
Ben
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
maven -u [undocumented goals]
Posted by Ben Anderson <be...@benanderson.us>.
Hi all,
Hopefully this is an easy question - I just can't find the answer anywhere.
When I do:
maven -u
I get:
Undocumented goals :
[list of all my goals]
This leads me to believe that there's a way to document my custom goals. Is
this true? I need other developers to be able to understand how the goals
should be used. Or should I just create another custom goal that spits out
this info?
Thanks,
Ben
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: maven -u [undocumented goals]
Posted by Erik Husby <mh...@broad.mit.edu>.
Ben Anderson wrote:
>Hi all,
>Hopefully this is an easy question - I just can't find the answer anywhere.
>When I do:
>maven -u
>
>I get:
>Undocumented goals :
> [list of all my goals]
>
>This leads me to believe that there's a way to document my custom goals. Is
>this true? I need other developers to be able to understand how the goals
>should be used. Or should I just create another custom goal that spits out
>this info?
>
>
Make use of the description attribute on the goal
<goal name="mygoal" description="Description of this goal">
Then the "maven --usage" command will list your goals with the description.
--
Erik Husby
Team Lead for Software Quality Automation
Broad Institute of MIT and Harvard
Rm. 2192 320 Charles St
Cambridge, MA 02141-2023
mobile: 781.354.6669, office: 617.258.9227, mhusby@broad.mit.edu
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org