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

required property keys cannot have '.' in the name

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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>
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: