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:19:00 UTC

[jira] [Moved] (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 moved MNG-6356 to MRESOURCES-257:
------------------------------------------------

        Fix Version/s:     (was: wontfix-candidate)
                           (was: waiting-for-feedback)
                  Key: MRESOURCES-257  (was: MNG-6356)
    Affects Version/s:     (was: 3.5.2)
                       3.1.0
              Project: Maven Resources Plugin  (was: Maven)

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