Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
Let's say I define a value for groupId, artifactId, version, and a handful of custom properties via the interactive prompt when using archetype:generate, but at the confirmation stage I notice a mistake and hit 'N'. I've now got to retype everything again, which is extremely annoying.
When the second prompt appears, default values should now be the values which were entered above, allowing the user to just hit ENTER for the values that were correctly entered last time around.
This is especially frustrating given custom required properties which have default values that can't be edited during the first prompt (see ARCHETYPE-308) as you may enter a handful of correct values, but then need to choose N at the end to alter the default value of a property that you weren't allowed to enter a value for first time around.