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 2023/04/09 18:17:00 UTC

[jira] [Commented] (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=17709982#comment-17709982 ] 

Michael Osipov commented on MNG-6868:
-------------------------------------

[~gnodet], this is one of the issues I told your about regarding non-string property values.

> 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.20.10#820010)