[
https://issues.apache.org/jira/browse/MRESOURCES-257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dennis Lundberg closed MRESOURCES-257.
--------------------------------------
Assignee: Dennis Lundberg
Resolution: Fixed
I converted the supplied sample project (thank you) into an integration test,
to verify that this issue has been solved.
> property from list element in pom model
> ---------------------------------------
>
> Key: MRESOURCES-257
> URL: https://issues.apache.org/jira/browse/MRESOURCES-257
> Project: Maven Resources Plugin
> Issue Type: Bug
> Affects Versions: 3.1.0
> Environment: linux
> Reporter: Ernst Reissner
> Assignee: Dennis Lundberg
> Priority: Major
> Fix For: 3.2.0
>
> Attachments: project.tar
>
>
> I tried to filter $\{project.developers[0].email}
> Although mvn help:evaluate finds the correct answer, filtering does not work
> else.
> Even if i havein the properties section of the pom one of the three
> <authorMail>[email protected]</authorMail>
> <authorMail>${project.organization.name}</authorMail>
> <authorMail>$\{project.developers[0].email}</authorMail>
> the latter is not replaced and just comes litterally.
>
> Update: I added a minimal project
> comprising a pom and some resource to be filtered.
> What we see is, that ${project.organization.name} is filtered,
> whereas $\{project.developers[0].email} is not: remains literal.
>
> Also I think, better than developers[0] would be a way to use a label,
> e.g. a key, like an identifier. (but this is a feature request. )
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)