You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Shane Isbell (JIRA)" <ji...@codehaus.org> on 2008/10/02 07:50:08 UTC

[jira] Commented: (MNG-3638) Ability to evaluate expressions involving collections

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

Shane Isbell commented on MNG-3638:
-----------------------------------

In 3.0, we are converting the model into URI/value pairs: so the parameter you specified would be: http://apache.org/maven/project/build/resources#collection/resource/directory. I've excluded any URI with collection from being used in interpolation because I have no idea how to choose the correct element within the collection, there being, say two resource/directory.

If someone can come up with a solid, deterministic rule for how this can be done, I can implement it.

> Ability to evaluate expressions involving collections
> -----------------------------------------------------
>
>                 Key: MNG-3638
>                 URL: http://jira.codehaus.org/browse/MNG-3638
>             Project: Maven 2
>          Issue Type: New Feature
>          Components: General
>    Affects Versions: 2.0.9
>         Environment: Windows XP Professional SP 2
>            Reporter: Matthew Tordoff
>             Fix For: 3.x
>
>
> 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