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

Ability to activate profile based on multiple property values

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.8.6
    • None
    • Core
    • None

    Description

      There is no way I can see to activate a profile based on multiple properties. (This could almost be considered a bug.) For example:

        <activation>
          <property>
            <name>foo</name>
          </property>
          <property>
            <name>bar</name>
          </property>
        </activation>
      

      This was mentioned two years ago in a comment when MNG-4565 was addressed; the following is not possible:

        <activation>
          <property>
            <name>!skipTests</name>
          </property>
          <property>
            <name>!skipITs</name>
          </property>
        </activation>
      

      This is similar to MNG-5909.

      It's of limited use to have logical AND working (MNG-4565) if we can't have multiple things of the same type to have an AND condition on.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            garretwilson Garret Wilson

            Dates

              Created:
              Updated:

              Slack

                Issue deployment