You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2020/04/27 22:21:00 UTC
[jira] [Updated] (MRESOURCES-257) property from list element in pom
model
[ https://issues.apache.org/jira/browse/MRESOURCES-257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov updated MRESOURCES-257:
--------------------------------------
Fix Version/s: 3.1.1
> 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
> Priority: Major
> Fix For: 3.1.1
>
> 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>ernst.reissner@simuline.eu</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)