-
Enhancement
-
Resolution: Done
-
Minor
-
2.14.0.Final
-
None
eg out of the box there is no archetype-catalogs registered, but if you choose no #7 in the project-new it would fail
[forge-distribution-2.14.0.Final]$ project-new ***INFO*** Required inputs not satisfied, entering interactive mode ? Project name: mydemo ? Top level package [org.mydemo]: ? 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] ( ) resource-jar [5] ( ) ear [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.
So I think project-new should hide [7] if there is no catalogs, eg archetype-list is empty.