Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-2239

Auto pickup of ArchetypeCatalogFactory instances from AddonRegistry is not working

XMLWordPrintable

      I try to create a new project, and select [7] to select from maven archetype catalog, but the values for catalog and archetype cannot be entered. I am not sure how its supposed to work.

      Here is what I did

      [forge-distribution-2.14.0.Final]$ project-new
      ***INFO*** Required inputs not satisfied, entering interactive mode
      ? Project name:  muydemo
      ? Top level package [org.muydemo]:
      ? Version [1.0.0-SNAPSHOT]:
      ? Final name:
      ? Project location [/opt/forge-distribution-2.14.0.Final]:
      
      [0] (x) war
      [1] ( ) jar
      [2] ( ) parent
      [3] ( ) addon
      [4] ( ) ear
      [5] ( ) resource-jar
      [6] ( ) from-archetype
      [7] ( ) from-archetype-catalog
      
      Press <ENTER> to confirm, or <CTRL>+C to cancel.
      ? Project type: [0-7] 7
      
      [0] (x) Maven
      
      Press <ENTER> to confirm, or <CTRL>+C to cancel.
      ? Build system: [0]
      ***ERROR*** Catalog must be specified.
      ***ERROR*** Archetype must be specified.
      

              rhn-support-ggastald George Gastaldi
              cibsen@redhat.com Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: