Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6868

Ability to define properties that are lists

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 3.6.3
    • None
    • Core
    • None

    Description

      It would be nice if this would be possible in pom.xml:

      <properties>
      	<my-property.list-of-sthg>
      		<tag>tagA</tag>
      		<tag>tagB</tag>
      	</my-property.list-of-sthg>
      </properties>
      

      So it could be used like this:

      <plugin>
      	...
      	<configuration>
      		<tags>${my-property.list-of-sthg}</tags>
      	</configuration>
      </plugin>
      

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            raffig RafaƂ Figas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: