maven ant:build == maven ant:ant == maven ant

it's all the same with me except for typing.

I still don't get why simply 'maven ant' wouldn't do.

We are dealing with naming 'conventions' here. People follow them or they don't.
If they don't use the ant goal in the ant plugin as the default goal for the
plugin then they break convention and we kickem' in the arse with a frozen boot.

Anxious to understand why it must be pluginname:goalname for the default goal...

-Peter

----- Original Message -----
From: "James Strachan" <[EMAIL PROTECTED]>
To: "Turbine Maven Developers List" <[EMAIL PROTECTED]>
Sent: Thursday, July 11, 2002 11:56 PM
Subject: Re: About plugin names ...


> 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
>
> etc.
>
> Then we keep the modular approach, yet avoid lots of typing for targets.
> Thoughts?
>
> James
> ----- Original Message -----
> From: "Peter Lynch" <[EMAIL PROTECTED]>
> To: "Turbine Maven Developers List" <[EMAIL PROTECTED]>
> Sent: Friday, July 12, 2002 7:51 AM
> Subject: Re: About plugin names ...
>
>
> > below...
> >
> > ----- Original Message -----
> > From: "Jason van Zyl" <[EMAIL PROTECTED]>
> > To: "Turbine Maven Developers List" <[EMAIL PROTECTED]>
> > Sent: Thursday, July 11, 2002 2:36 PM
> > Subject: Re: About plugin names ...
> >
> >
> > On Thu, 2002-07-11 at 15:18, St�phane MOR wrote:
> > >> Hi,
> > >>
> > >> Maven B5 is now mostly functional.
> > >> Most, if not all, of the previous "maven:foo" targets are working.
> > >> I'd like to "normalize" the goal names, so that we can do as before, ie
> :
> > >> maven jar
> > >> maven compile
> > >> etc...
> >
> > >We prefixed them with the plugin name for a reason. I just notice that
> > >you've gone though and un-prefixed them. If other plugins have something
> > >called 'activity' or 'changelog' then there are going to be problems.
> >
> > If other plugins have something called activity:activity we have a problem
> too
> > no?
> >
> > >> For most of the goals, we created default goals that match these names.
> > >> Though, they are simply aliases to the "java:jar"-like names, which are
> > >> hard to remember and type.
> > >>
> > >> So, the names I'd like to clean are :
> > >> - activity:generate -> activity
> > >> - ant:generate-build -> ant
> > >> - changelog:generate -> changelog
> > >> - clean:clean -> clean
> > >> - jdepend:generate-report -> jdepend
> > >> - jxr:generate -> jxr
> > >> - site:generate -> site
> >
> > >-1
> >
> > >We agreed that plugin:goal was going to be the naming convention. We can
> > >have an aliases file or something but inside the plugins the goals need
> > >the prefix for namespace safety.
> >
> > When did we agree again? Where was the vote? Seems sometimes things get a
> little
> > too focused around IRC, and I'm sure I as guilty as the rest...
> >
> > Given you can't have two plugins with the same name, then having a goal
> called
> > the same as the plugin name should not be a problem. I don't get why you
> need to
> > overload this with the alias concept. Seems wasteful...
> >
> > +1 to the goal name change as it saves typing and implies a default for
> that
> > plugin.
> >
> > -Peter
> >
> > > If anyone thinks that could break existing installations, or that it
> would
> > > not be backward compatible, we can keep the existing aliases, but I
> think
> > > that having two names for a goal is a bit of a waste and not really easy
> to
> > > maintain.
> > >
> > > Thanks,
> > > St�phane
> > >
> > >
> > > _________________________________________________________
> > > Do You Yahoo!?
> > > Get your free @yahoo.com address at http://mail.yahoo.com
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > --
> > jvz.
> >
> > Jason van Zyl
> > [EMAIL PROTECTED]
> > http://tambora.zenplex.org
> >
> > In short, man creates for himself a new religion of a rational
> > and technical order to justify his work and to be justified in it.
> >
> >   -- Jacques Ellul, The Technological Society
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


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

Reply via email to