Maven Archetype
  1. Maven Archetype
  2. ARCHETYPE-247

Maven properties are not filtered correctly

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major 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
    • 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
          Hide
          Michael Osipov added a comment -

          Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.

          Show
          Michael Osipov added a comment - Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: