[jira] [Commented] (MNG-6356) property from list element in pom model

2019-07-24 Thread Michael Osipov (JIRA)


[ 
https://issues.apache.org/jira/browse/MNG-6356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16892201#comment-16892201
 ] 

Michael Osipov commented on MNG-6356:
-

Can you provide a sample project which we could turn into an IT?

> property from list element in pom model
> ---
>
> Key: MNG-6356
> URL: https://issues.apache.org/jira/browse/MNG-6356
> Project: Maven
>  Issue Type: Bug
>Affects Versions: 3.5.2
> Environment: linux
>Reporter: Ernst Reissner
>Priority: Major
> Fix For: waiting-for-feedback
>
>
> 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 
> ernst.reiss...@simuline.eu
>  ${project.organization.name}
>  ${project.developers[0].email}
> the latter is not replaced and just comes litterally.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (MNG-6356) property from list element in pom model

2020-04-16 Thread Michael Osipov (Jira)


[ 
https://issues.apache.org/jira/browse/MNG-6356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17085276#comment-17085276
 ] 

Michael Osipov commented on MNG-6356:
-

The problem could be simply Plexus Interpolation.

> property from list element in pom model
> ---
>
> Key: MNG-6356
> URL: https://issues.apache.org/jira/browse/MNG-6356
> Project: Maven
>  Issue Type: Bug
>Affects Versions: 3.5.2
> Environment: linux
>Reporter: Ernst Reissner
>Priority: Major
> Fix For: waiting-for-feedback, wontfix-candidate
>
> 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
> ernst.reiss...@simuline.eu
>  ${project.organization.name}
>  $\{project.developers[0].email}
> 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)