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

Activating a profile based on the existence of multiple files is not possible

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 3.3.3
    • None
    • Core
    • None

    Description

      Currently each type of activation (os, jdk, file, property) can only be used once for activating a single profile.
      Therefore it is not possible to activate a profile in case two different files are existing, although since Maven 3.2.2 (MNG-4565) it is possible to combine multiple activations of different types.
      Multiple file or property should therefore be supported to allow to express something like:
      Enable profileA in case both fileA and fileB do exists

      For jdk and os this is less relevant because all conditions are combined with AND.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kwin Konrad Windszus
              Votes:
              4 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: