[ https://issues.apache.org/jira/browse/ARCHETYPE-538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Scourfield updated ARCHETYPE-538: --------------------------------------- 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. was: 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 those which were previously entered, 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. > When re-entering property values after answering 'N' to confirm properties > configuration during archetype:generate, prompts should default to the > previously-entered values. > ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: ARCHETYPE-538 > URL: https://issues.apache.org/jira/browse/ARCHETYPE-538 > Project: Maven Archetype > Issue Type: Bug > Reporter: David Scourfield > Priority: Minor > > 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. -- This message was sent by Atlassian JIRA (v7.6.3#76005)