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

file path can ref variables for generate filename.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.1
    • None
    • Archetypes
    • None

    Description

      support filepath ref variable. this is useful for generate filepath or filename.

      example:

      variables:
      package: com.company.project
      packagePath: com\company\project
      artifactId: helloworld
      version: 1.0

      filepath1: ${packagePath}\${artifactId}-resource.xml
      output1: com\company\project\helloworld-resource.xml

      filepath2: ${version}\${artifactId}-resource.xml
      output2: 1.0\helloworld-resource.xml

      filepath3: ${packagePath}\web\filters\ExampleFilter.java
      output3: com\company\project\web\filters\ExampleFilter.java

      Attachments

        Activity

          People

            hboutemy Herve Boutemy
            badqiu badqiu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: