Details

    • Type: Bug Bug
    • Status: 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

      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

          Christopher Stokes created issue -
          larrys made changes -
          Field Original Value New Value
          Link This issue is related to ARCHETYPE-318 [ ARCHETYPE-318 ]
          larrys made changes -
          Link This issue relates to ARCHETYPE-255 [ ARCHETYPE-255 ]
          Hide
          Hervé 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
          Hervé 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.
          Michael Osipov made changes -
          Resolution Won't Fix [ 2 ]
          Status Open [ 1 ] Closed [ 6 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 09:05:55 UTC 2015 [ 1428224755734 ]
          Mark Thomas made changes -
          Workflow jira [ 12716704 ] Default workflow, editable Closed status [ 12748144 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 22:17:37 UTC 2015 [ 1428272257260 ]
          Mark Thomas made changes -
          Workflow jira [ 12954162 ] Default workflow, editable Closed status [ 12991417 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Closed Closed
          1985d 22h 58m 1 Michael Osipov 25/Nov/14 14:47

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development