Maven
  1. Maven
  2. MNG-3328

Allow multiple profile activation properties.

    Details

    • Type: Improvement Improvement
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.8
    • Fix Version/s: 3.x / Backlog
    • Component/s: Profiles
    • Labels:
      None
    • Number of attachments :
      0

      Description

      The pom model should be changed to allow multiple properties to activate a profile. So the profile activation section could look something like this:

      <activation>
        <properties>
          <my-prop-1>some-value</my-prop-1>
          <my-prop-2>another-value</my-prop-2>
        </properties>
      </activation>
      

      This would provide more flexibility in profile activation.

        Issue Links

          Activity

          Elifarley Callado Coelho made changes -
          Field Original Value New Value
          Link This issue is related to MNG-1753 [ MNG-1753 ]
          Brett Porter made changes -
          Fix Version/s 2.1 [ 13142 ]
          Jason van Zyl made changes -
          Fix Version/s 3.x [ 13145 ]
          Fix Version/s 3.0 [ 13142 ]
          Paul Gier made changes -
          Description The pom model should be changed to allow multiple properties to activate a profile. So the profile activation section could look something like this:

          <activation>
            <properties>
              <my-prop-1>some-value</my-prop-1>
              <my-prop-2>another-value</my-prop-2>
            </properties>
          </activation>

          This would provide more flexibility in profile activation.
          The pom model should be changed to allow multiple properties to activate a profile. So the profile activation section could look something like this:
          {code:xml}
          <activation>
            <properties>
              <my-prop-1>some-value</my-prop-1>
              <my-prop-2>another-value</my-prop-2>
            </properties>
          </activation>
          {code}
          This would provide more flexibility in profile activation.
          Brett Porter made changes -
          Fix Version/s Backlog [ 16138 ]
          Fix Version/s 3.x [ 13145 ]
          Brett Porter made changes -
          Link This issue is duplicated by MNG-1753 [ MNG-1753 ]
          Clemens Fuchslocher made changes -
          Link This issue relates to MNG-4565 [ MNG-4565 ]
          Clemens Fuchslocher made changes -
          Link This issue is related to MNG-4516 [ MNG-4516 ]
          Clemens Fuchslocher made changes -
          Link This issue is related to MNG-3106 [ MNG-3106 ]
          Clemens Fuchslocher made changes -
          Link This issue is related to MNG-4565 [ MNG-4565 ]
          Herve Boutemy made changes -
          Link This issue relates to MNG-4565 [ MNG-4565 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Paul Gier
            • Votes:
              88 Vote for this issue
              Watchers:
              72 Start watching this issue

              Dates

              • Created:
                Updated: