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

Should ask input for requiredProperty with defaultValue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.2.1
    • None
    • None
    • Patch

    Description

      It seems that if a requiredProperty is defined with a defaultValue, the generate mojo does not ask user input. In my opinion it should, just like it does it for the version.

      DefaultArchetypeFactory lines 156-168 seem to be the culprit and I'll attach a patch that might fix this.

      Attachments

        1. ARCHETYPE-200.patch
          1 kB
          Grégory Joseph

        Issue Links

          Activity

            People

              slachiewicz Sylwester Lachiewicz
              gjoseph Grégory Joseph
              Votes:
              41 Vote for this issue
              Watchers:
              26 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: