Maven Archetype
  1. Maven Archetype
  2. ARCHETYPE-332

required property keys cannot have '.' in the name

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0-alpha-5
    • Fix Version/s: 2.1
    • Component/s: None
    • Labels:
      None

      Description

      Having the following in my archetype-metadata.xml:

              <requiredProperty key="kversion_spring">
                  <defaultValue>3.0.3.RELEASE</defaultValue>
              </requiredProperty>
      

      and the following in my archetype-resources/pom.xml

          <properties>
              <version.spring>${kversion_spring}</version.spring>
          </properties>
      

      generates code as expected (below), however, if the key is "kversion.spring" then the property is not expanded.

          <properties>
              <version.spring>3.0.3.RELEASE</version.spring>
          </properties>
      

        Activity

        Karl Palsson created issue -
        Hervé Boutemy made changes -
        Field Original Value New Value
        Fix Version/s 2.1 [ 16795 ]
        Hervé Boutemy made changes -
        Resolution Fixed [ 1 ]
        Assignee Herve Boutemy [ hboutemy ]
        Status Open [ 1 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 09:05:55 UTC 2015 [ 1428224755734 ]
        Mark Thomas made changes -
        Workflow jira [ 12716770 ] Default workflow, editable Closed status [ 12748105 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 22:17:37 UTC 2015 [ 1428272257260 ]
        Mark Thomas made changes -
        Workflow jira [ 12953861 ] Default workflow, editable Closed status [ 12990991 ]

          People

          • Assignee:
            Hervé Boutemy
            Reporter:
            Karl Palsson
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development