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

Use velocity expressions in descriptor properties

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.2
    • Plugin
    • None

    Description

      The descriptor can use velocity expressions for value and defaultValue, thus enabling the creation of velocity global properties for an archetype.
      For example :

      <requiredProperty key="className">
        <defaultValue>${rootArtifactId.substring(0,1).toUpperCase()}${rootArtifactId.substring(1)}</defaultValue>
      </requiredProperty>

      Attachments

        1. patch_jira_383.patch
          3 kB
          Emmanuel Hugonnet

        Issue Links

          Activity

            People

              olamy Olivier Lamy
              ehsavoie Emmanuel Hugonnet
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: