You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2009/12/31 04:16:56 UTC

[jira] Closed: (MNG-4310) Can't use property names in resources element

     [ http://jira.codehaus.org/browse/MNG-4310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed MNG-4310.
-----------------------------

       Resolution: Cannot Reproduce
    Fix Version/s:     (was: 2.2.2)
                       (was: 2.2.x)

works in 2.2.1

> Can't use property names in resources element
> ---------------------------------------------
>
>                 Key: MNG-4310
>                 URL: http://jira.codehaus.org/browse/MNG-4310
>             Project: Maven 2 & 3
>          Issue Type: Bug
>         Environment: Windows XP Professional. JDK 1.5
>            Reporter: Zarar Siddiqi
>
> {code:xml}
> <build>
>     <resources>
>          <resource>
>             <directory>target/gen/doclet/WEB-INF/classes/META-INF</directory>
>             <filtering>true</filtering>
>             <targetPath>META-INF</targetPath>
>          </resource>            
>     </resources>
> </build>
> {code} 
> I can't use {{${project.build.directory}}} instead of _target_ in the _directory_ element in the above snippet.  Same is true for other Maven and project properties.

-- 
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