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/02/21 13:31:00 UTC
[jira] [Comment Edited] (MNG-6868) Ability to define properties
that are lists
[ https://issues.apache.org/jira/browse/MNG-6868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17041862#comment-17041862 ]
Michael Osipov edited comment on MNG-6868 at 2/21/20 1:30 PM:
--------------------------------------------------------------
I highly doubt that this will be ever implemented because properly interpolation happens *after* the XML tree has been read. It would take some real effort to make this work...
was (Author: michael-o):
I highly doubt that this will be ever implemented because properly interpolation happens *after* the XML tree has been read.
> Ability to define properties that are lists
> -------------------------------------------
>
> Key: MNG-6868
> URL: https://issues.apache.org/jira/browse/MNG-6868
> Project: Maven
> Issue Type: New Feature
> Components: core
> Affects Versions: 3.6.3
> Reporter: RafaĆ Figas
> Priority: Major
>
> It would be nice if this would be possible in pom.xml:
> {noformat}
> <properties>
> <my-property.list-of-sthg>
> <tag>tagA</tag>
> <tag>tagB</tag>
> </my-property.list-of-sthg>
> </properties>
> {noformat}
> So it could be used like this:
> {noformat}
> <plugin>
> ...
> <configuration>
> <tags>${my-property.list-of-sthg}</tags>
> </configuration>
> </plugin>
> {noformat}
> It would be helpful when using profiles. Otherwise one has to move whole plugin into profile even if the difference is only in one list parameter.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)