Maven Archetype
  1. Maven Archetype
  2. ARCHETYPE-247

Maven properties are not filtered correctly

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0-alpha-4
    • Fix Version/s: None
    • Component/s: Generator
    • Labels:
      None
    • Environment:
      Windows XP
      Maven 2.1.0
    • Number of attachments :
      2

      Description

      File: src/main/resources/archetype-resources/pom.xml
      References variables:

      • $ {groupId}
      • $ {artifactId}
      • $ {version}
      • $project.name
      • $ {java.user.name}
      • $ {basedir}

      The last three properties are not being referenced from Velocity as expected from the documentation.

      Are these not supported via filtering?

      Attached is the debug log and the pom.xml I am using.

      1. archetype-metadata.xml
        0.7 kB
        Christopher Stokes
      2. log.txt
        64 kB
        Christopher Stokes

        Issue Links

          Activity

          Hide
          Herve Boutemy added a comment -

          "as expected from the documentation": which documentation are you referring to?
          AFAIK, these variables are effectively not available when generating a project from archetype

          Show
          Herve Boutemy added a comment - "as expected from the documentation": which documentation are you referring to? AFAIK, these variables are effectively not available when generating a project from archetype

            People

            • Assignee:
              Unassigned
              Reporter:
              Christopher Stokes
            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: