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

support improved property based profile activation

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • POM, Profiles
    • None

    Description

      support better profile activation via

      a) multiple property elements in the activation element.

      eg:-

      <activation>
      <property>
      <name>os.name</name>
      <valueWindows XP</value>
      </property>
      <property>
      <name>os.name</name>
      <valueWindows 2000</value>
      </property>
      </activation>

      b) regex based property parsing for both name and value elements (dont know how you'll want to handle the tagging to indicate that something is a regex property rather than a plain one but for now im using regexName and regexValue)

      eg:-

      <activation>
      <regexProperty>
      <name>os.name</name>
      <regexValue>Windows 2000|Windows XP</regexValue>
      </property>
      </activation>

      same for name.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              skaze skaze
              Votes:
              18 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: