The "this-is-easier-to-read vs thisIsEasierToRead argument" would apply to all 
parameters, not only goals.

But the minus '-' sign inside a parameter is equally hard to distinguish from 
the - which prefixes a parameter in unixoid systems, so I personally would 
prefer mixedCase notation.

$> mvn myplugin:my-goal-or-not -Dtest-switch-which-one -is-minus-and-which 
-one-is-parameter

LieGrue,
strub


--- Jason van Zyl <[EMAIL PROTECTED]> schrieb am Mo, 18.8.2008:

> Von: Jason van Zyl <[EMAIL PROTECTED]>
> Betreff: Re: Naming Convention for Goals?
> An: "Maven Developers List" <dev@maven.apache.org>
> Datum: Montag, 18. August 2008, 18:13
> Just for the record this discussion of naming has popped up
> on the  
> ruby and perl lists over the years.
> 
> Camel case naming which is what's generally used in
> Java is hard for  
> non-english speakers to grok.
> 
> this-is-easier-to-read then thisIsEasierToRead.
> 
> Just another data point.
> 
> On 18-Aug-08, at 8:57 AM, Dan Fabulich wrote:
> 
> > Wendy Smoak wrote:
> >
> >> On Sat, Aug 16, 2008 at 1:09 AM, Benjamin Bentmann
> >> <[EMAIL PROTECTED]> wrote:
> >>
> >>> do we have an agreed naming convention for
> plugin goals? E.g.
> >>> reactor:makeMyChanges
> >>> and
> >>> dependency:purge-local-repository
> >>>
> >>> obviously follow different rules. Having one
> naming style would ease
> >>> memorizing since users only need to remember
> the words and not  
> >>> also their
> >>> writing style.
> >>
> >> Also for configuration parameters?  I commented on
> MWAR-159 about the
> >> naming of the
> "filteringDeploymentDescriptors" param (compared
> to
> >> 'attachClasses' for example.)
> >>
> >> I'd also drop the 'My' in the reactor
> example-- just makeChanges or
> >> updateFiles, etc.
> >
> > To clarify the goal's purpose I've renamed it
> to "makeScmChanges".
> >
> > Thanks!
> >
> > -Dan
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> 
> Thanks,
> 
> Jason
> 
> ----------------------------------------------------------
> Jason van Zyl
> Founder,  Apache Maven
> jason at sonatype dot com
> ----------------------------------------------------------
> 
> believe nothing, no matter where you read it,
> or who has said it,
> not even if i have said it,
> unless it agrees with your own reason
> and your own common sense.
> 
>   -- Buddha
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen 
Massenmails. 
http://mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to