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

Jason van Zyl commented on MNG-1486:
------------------------------------

I'm going to write a little test case that uses the logic from the 
help:effective-pom plugin and a little xpath to make checking these things dead 
simple. It should be easy for users to give us a quick example of something not 
working.

> 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: Inheritance and Interpolation
>    Affects Versions: 2.0
>            Reporter: Filip Vuksanovic
>            Assignee: Jason van Zyl
>            Priority: Minor
>             Fix For: 2.0.x
>
>
> 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

        

Reply via email to