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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@codehaus.org
     [ http://jira.codehaus.org/browse/MNG-1486?page=all ]

Kenney Westerhof updated MNG-1486:
----------------------------------

    Fix Version/s:     (was: 2.0.5)
                   2.0.6

> Can't use pom properties inside resource directory  tag
> -------------------------------------------------------
>
>                 Key: MNG-1486
>                 URL: http://jira.codehaus.org/browse/MNG-1486
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Inheritence and Interpolation
>    Affects Versions: 2.0
>            Reporter: Filip Vuksanovic
>            Priority: Minor
>             Fix For: 2.0.6
>
>
> 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