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

required property keys cannot have '.' in the name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0-alpha-5
    • 2.1
    • None
    • 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

            hboutemy Herve Boutemy
            karlp Karl Palsson
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: