Skip to content

[MNG-5909] Activating a profile based on the existence of multiple files is not possible #7875

@jira-importer

Description

@jira-importer

Konrad Windszus opened MNG-5909 and commented

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.


Affects: 3.3.3

Issue Links:

  • MNG-4565 Requiring multiple profile activation conditions to be true does not work

  • MNG-7577 Ability to activate profile based on multiple property values

  • MNG-8286 Add a condition profile based on a simple expressions

Remote Links:

4 votes, 10 watchers

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions