[forge-issues] [JBoss JIRA] (FORGE-2269) Archetype-list command is displaying duplicate entries
George Gastaldi (JIRA)
issues at jboss.org
Fri Mar 6 10:44:51 EST 2015
George Gastaldi created FORGE-2269:
--------------------------------------
Summary: Archetype-list command is displaying duplicate entries
Key: FORGE-2269
URL: https://issues.jboss.org/browse/FORGE-2269
Project: Forge
Issue Type: Bug
Components: Build Tools - Maven
Affects Versions: 2.15.0.Final
Reporter: George Gastaldi
Assignee: George Gastaldi
Fix For: 2.15.1.Final
When you have a class that implements {{ArchetypeCatalogFactory}} and implicitly register another one with the same name using {{org.jboss.forge.addon.maven.archetype.ArchetypeCatalogFactoryRegistry.addArchetypeCatalogFactory(ArchetypeCatalogFactory)}}, the {{archetype-list}} command shows duplicate entries:
{code}
[forge-distribution-2.15.0.Final]$ archetype-list
fabric8 = io.fabric8.forge.camel.commands.project.FabricArchetypeCatalogFactory at bedc1833
camel = io.fabric8.forge.camel.commands.project.CamelArchetypeCatalogFactory at 5a0d4b6
{code}
Explicit registration should take precedence on existing services, so it should allow easy overriding of archetype catalog factories.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the forge-issues
mailing list