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

Maven properties are not filtered correctly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0-alpha-4
    • Fix Version/s: None
    • Component/s: Generator
    • Labels:
      None
    • Environment:
      Windows XP
      Maven 2.1.0

      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.

        Attachments

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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: