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:18:56 UTC

[jira] Closed: (MNG-1486) Can't use pom properties inside resource directory tag

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

Brett Porter closed MNG-1486.
-----------------------------

       Resolution: Duplicate
    Fix Version/s:     (was: 3.0-alpha-7)

see linked issue - this works in 2.2.1 / 3.0-alpha-5

> Can't use pom properties inside resource directory  tag
> -------------------------------------------------------
>
>                 Key: MNG-1486
>                 URL: http://jira.codehaus.org/browse/MNG-1486
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>    Affects Versions: 2.0
>            Reporter: Filip Vuksanovic
>            Assignee: Jason van Zyl
>            Priority: Minor
>
> I have pom.xml with following snippet:
> <build>
>    <sourceDirectory>src\JavaSource</sourceDirectory>
>    <resources>
>        <resource>
>       <directory>src\JavaSource</directory>
> and it works.
> If I use property like this
> <build>
>    <sourceDirectory>src\JavaSource</sourceDirectory>
>    <resources>
>        <resource>
>       <directory>${project.build.sourceDirectory}</directory>
> it doesn't work. 

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