You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Christopher Stokes (JIRA)" <ji...@codehaus.org> on 2009/06/18 22:50:15 UTC

[jira] Created: (ARCHETYPE-247) Maven properties are not filtered correctly

Maven properties are not filtered correctly
-------------------------------------------

                 Key: ARCHETYPE-247
                 URL: http://jira.codehaus.org/browse/ARCHETYPE-247
             Project: Maven Archetype
          Issue Type: Bug
          Components: Generator
    Affects Versions: 2.0-alpha-4
         Environment: Windows XP
Maven 2.1.0
            Reporter: Christopher Stokes
         Attachments: archetype-metadata.xml, log.txt

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.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (ARCHETYPE-247) Maven properties are not filtered correctly

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/ARCHETYPE-247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=276587#comment-276587 ] 

Herve Boutemy commented on ARCHETYPE-247:
-----------------------------------------

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

> Maven properties are not filtered correctly
> -------------------------------------------
>
>                 Key: ARCHETYPE-247
>                 URL: https://jira.codehaus.org/browse/ARCHETYPE-247
>             Project: Maven Archetype
>          Issue Type: Bug
>          Components: Generator
>    Affects Versions: 2.0-alpha-4
>         Environment: Windows XP
> Maven 2.1.0
>            Reporter: Christopher Stokes
>         Attachments: archetype-metadata.xml, log.txt
>
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira