[ http://jira.codehaus.org/browse/MNG-1486?page=comments#action_84547 ]
Jason Melnick commented on MNG-1486:
------------------------------------
This issue needs to be resolved to really get the most out of the inheritance
model. If I've declared the <sourceDirectory> in a parent pom, the child should
be able to use ${project.build.sourceDirectory} throughout.
> 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
> 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