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

Bug generating project with blank property

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 3.0.0
    • Component/s: Archetypes, Generator
    • Labels:
      None
    • Environment:
      Ubuntu 14.04

      Description

      I've created an archetype with several required properties.

      I've tried to create a project using the command "archetype:generate", and I've enter an space as the value of one of those required properties.
      When I finished defining property values, console prints an infinite loop with the info about my properties:

      [WARNING] Archetype is not fully configured
      [INFO] Using property: groupId = rrr
      [INFO] Using property: artifactId = rrr
      [INFO] Using property: version = rrr
      [INFO] Using property: package = rrr
      [INFO] Using property: databaseDriverClass = rrr
      [INFO] Using property: databasePassword =
      [INFO] Using property: databasePlatform = rrr
      [INFO] Using property: databaseUrl = rrr
      [INFO] Using property: databaseUsername = rr
      [INFO] Using property: logFileName = rr
      [INFO] Using property: projectName = rr

      The output never ends until I cancel the process.

        Attachments

          Activity

            People

            • Assignee:
              paranoiabla Petar Tahchiev
              Reporter:
              fcardoso Fran Cardoso
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: