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.

        Activity

        Show
        paranoiabla Petar Tahchiev added a comment - This has been fixed here: https://github.com/apache/maven-archetype/commit/81efe27c75b649e353eb000e255c82704126a17e
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in maven-archetype-m3 #223 (See https://builds.apache.org/job/maven-archetype-m3/223/)
        ARCHETYPE-501 Blank archetype properties are invalid. (paranoiabla: rev 81efe27c75b649e353eb000e255c82704126a17e)

        • maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui/ArchetypeConfiguration.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in maven-archetype-m3 #223 (See https://builds.apache.org/job/maven-archetype-m3/223/ ) ARCHETYPE-501 Blank archetype properties are invalid. (paranoiabla: rev 81efe27c75b649e353eb000e255c82704126a17e) maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui/ArchetypeConfiguration.java

          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:

              Development