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

Use velocity expressions in descriptor properties

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.2
    • Component/s: Plugin
    • Labels:
      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

              • Assignee:
                olamy Olivier Lamy (*$^¨%`£)
                Reporter:
                ehsavoie Emmanuel Hugonnet
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: