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]>

Reply via email to