[
https://jira.codehaus.org/browse/ARCHETYPE-378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=276270#comment-276270
]
Herve Boutemy commented on ARCHETYPE-378:
-----------------------------------------
after some discussion and research, here are my results:
- plugin mapping does not have any meaning for an archetype
- LATEST update isn't used since for a long time, archetypes were packages as
jar packaging, which does not update LATEST without any problem: maven-arhetype
packaging is here only for integration-tests and update-local-catalog
definitely, removing this mojo won't remove any functionality, only unneeded
copy/paste
I'm going to remove the mojo
> Remove the parameter goalPrefix (and corresponding code) from the
> archetype:add-archetype-metadata mojo
> -------------------------------------------------------------------------------------------------------
>
> Key: ARCHETYPE-378
> URL: https://jira.codehaus.org/browse/ARCHETYPE-378
> Project: Maven Archetype
> Issue Type: Task
> Components: Plugin
> Affects Versions: 2.0
> Reporter: Benjamin Bentmann
> Assignee: Olivier Lamy
> Priority: Trivial
> Fix For: 2.1
>
>
> As questioned in [Archtypes and plugin
> prefix|http://www.mail-archive.com/[email protected]/msg89617.html], it
> appears the parameter {{goalName}} of the {{add-archetype-metadata}} mojo
> exists merely due to copy&paste but has no real use in the context of
> archetypes. As such the parameter and its backing code should be removed to
> reduce confusion for end users and to keep the group-level metadata free from
> bogus plugin prefix mappings for archetypes.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira