You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2018/06/29 09:50:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16527367#comment-16527367 ]
Konrad Windszus commented on MNG-5909:
--------------------------------------
As the PR from above is somehow not showing the changes, the relevant commit id is: https://github.com/apache/maven/pull/92/commits/2efe3d2d3b92685d83c2598a7f85c39ebdd59ebc
> 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
(v7.6.3#76005)