You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2024/10/04 12:35:00 UTC
[jira] [Closed] (MNG-5909) Activating a profile based on the existence of multiple files is not possible
[ https://issues.apache.org/jira/browse/MNG-5909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet closed MNG-5909.
--------------------------------
Resolution: Won't Fix
Fixed with MNG-8286
> Activating a profile based on the existence of multiple files is not possible
> -----------------------------------------------------------------------------
>
> Key: MNG-5909
> URL: https://issues.apache.org/jira/browse/MNG-5909
> Project: Maven
> Issue Type: Improvement
> Components: Core
> Affects Versions: 3.3.3
> Reporter: Konrad Windszus
> Priority: Major
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)