--- James Strachan <[EMAIL PROTECTED]> wrote: 
> Just a thought. How about we introduce a default alias mechanism
> where if you type
> 
>     maven foo
> 
> Then if there is no target called 'foo' it will look for a target
> called
> 'foo:build'. i.e. then we can just use the prefix name to build
> stuff. In
> other words we introduce a default target name, 'build' for each
> plugin.
> Then for most plugins we get an easy way to build stuff
> 
>     maven ant = maven ant:build
>     maven clover = maven clover:build
>     maven javadoc = maven javadoc:build
>     maven test = maven test:build

What about if we let the plugin decide what it's default goal is? I
could imagine plugins where the default goal named 'build' is not very
descriptive. It's like having Ant with a build.xml file where at the
top the default target is specified. This way, Ant itself doesn't say
that the default target should be named 'blah'. 

Could the default goal be specified somewhere in the plugin descriptor?
(if there exists such a thing. I'm not up to date about the new plugin
structure)

Ringo

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

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

Reply via email to