You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2008/06/30 13:59:27 UTC

[jira] Commented: (MNG-3638) Referencing resource directory as a property does not work

    [ http://jira.codehaus.org/browse/MNG-3638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139965#action_139965 ] 

Benjamin Bentmann commented on MNG-3638:
----------------------------------------

bq. ${project.build.resources.resource.directory}
Note the plural form, "resources" is actually a collection (compare the [Maven Model|http://maven.apache.org/ref/current/maven-model/maven.html]). Not sure whether Maven has some indexing syntax for accessing individual collection elements.

> Referencing resource directory as a property does not work
> ----------------------------------------------------------
>
>                 Key: MNG-3638
>                 URL: http://jira.codehaus.org/browse/MNG-3638
>             Project: Maven 2
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 2.0.9
>         Environment: Windows XP Professional SP 2
>            Reporter: Matthew Tordoff
>
> The following property is not resolved by Maven:
> ${project.build.resources.resource.directory}
> It follows the notation described to access any property within the POM, is there an alternative property that can be used to reference the resource directory?

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