Maven Archetype
  1. Maven Archetype
  2. ARCHETYPE-332

required property keys cannot have '.' in the name

    Details

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

      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

        Hide
        Herve Boutemy added a comment -

        done in r1159816

        Show
        Herve Boutemy added a comment - done in r1159816

          People

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

            Dates

            • Created:
              Updated:
              Resolved: