Uploaded image for project: 'Maven Archetype'
  1. Maven Archetype
  2. ARCHETYPE-538

When re-entering property values after answering 'N' to confirm properties configuration during archetype:generate, prompts should default to the previously-entered values.

    XMLWordPrintableJSON

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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            daiscog David Scourfield
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: