Details
Description
As questioned in Archtypes and plugin prefix, 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.
the more I read the code, the more I ask myself: why does this add-archetype-metadata mojo ever exist?
the whole thing, not only goalName, seems a copy, but this does not have any meaning for an archetype: an archetype is simply not a plugin, plugin mapping does not have any meaning, and LATEST isn't used
IIUC, the whole class should be removed, and its lifecycle binding in maven-archetype packaging
WDYT?