You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Benjamin Bentmann <be...@udo.edu> on 2011/08/08 12:44:21 UTC
Archtypes and plugin prefix
Hi,
does anybody know what's the rationale behind the parameter
http://maven.apache.org/archetype/maven-archetype-plugin/add-archetype-metadata-mojo.html#goalPrefix
and its corresponding impl in the Archtype plugin, i.e. why do
archetypes bother to register a plugin prefix for them? I have a feeling
this parameter/code is superfluous.
Looking at the AddArchetypeMetadataMojo.java, it appears this class was
copied from the maven-plugin-plugin, probably without much review of its
purpose and application to archetypes.
Benjamin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Archtypes and plugin prefix
Posted by Hervé BOUTEMY <he...@free.fr>.
yes, you found the source of the copy/paste
removing seems safe
Regards,
Hervé
Le lundi 8 août 2011, Arnaud Héritier a écrit :
> I agree. For me it is also an erroneous copy/paste
>
> On Mon, Aug 8, 2011 at 12:44 PM, Benjamin Bentmann <
>
> benjamin.bentmann@udo.edu> wrote:
> > Hi,
> >
> > does anybody know what's the rationale behind the parameter
> >
> > http://maven.apache.org/**archetype/maven-archetype-**
> > plugin/add-archetype-metadata-**mojo.html#goalPrefix<http://maven.apache.
> > org/archetype/maven-archetype-plugin/add-archetype-metadata-mojo.html#goa
> > lPrefix>
> >
> > and its corresponding impl in the Archtype plugin, i.e. why do archetypes
> > bother to register a plugin prefix for them? I have a feeling this
> > parameter/code is superfluous.
> >
> > Looking at the AddArchetypeMetadataMojo.java, it appears this class was
> > copied from the maven-plugin-plugin, probably without much review of its
> > purpose and application to archetypes.
> >
> >
> > Benjamin
> >
> > ------------------------------**------------------------------**---------
> > To unsubscribe, e-mail:
> > dev-unsubscribe@maven.apache.**org<de...@maven.apache.org> For
> > additional commands, e-mail: dev-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Archtypes and plugin prefix
Posted by Arnaud Héritier <ah...@gmail.com>.
I agree. For me it is also an erroneous copy/paste
On Mon, Aug 8, 2011 at 12:44 PM, Benjamin Bentmann <
benjamin.bentmann@udo.edu> wrote:
> Hi,
>
> does anybody know what's the rationale behind the parameter
>
> http://maven.apache.org/**archetype/maven-archetype-**
> plugin/add-archetype-metadata-**mojo.html#goalPrefix<http://maven.apache.org/archetype/maven-archetype-plugin/add-archetype-metadata-mojo.html#goalPrefix>
>
> and its corresponding impl in the Archtype plugin, i.e. why do archetypes
> bother to register a plugin prefix for them? I have a feeling this
> parameter/code is superfluous.
>
> Looking at the AddArchetypeMetadataMojo.java, it appears this class was
> copied from the maven-plugin-plugin, probably without much review of its
> purpose and application to archetypes.
>
>
> Benjamin
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.**org<de...@maven.apache.org>
> For additional commands, e-mail: dev-help@maven.apache.org
>
>