You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Rafał Figas (Jira)" <ji...@apache.org> on 2020/02/21 10:32:00 UTC

[jira] [Created] (MNG-6868) Ability to define properties that are lists

Rafał Figas created MNG-6868:
--------------------------------

             Summary: 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


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)