[ 
https://issues.apache.org/jira/browse/MNG-5909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16527370#comment-16527370
 ] 

ASF GitHub Bot commented on MNG-5909:
-------------------------------------

kwin commented on issue #92: MNG-5909 : Add combined expression evaluator to 
file activation property
URL: https://github.com/apache/maven/pull/92#issuecomment-401308116
 
 
   @lbndev Can you redo the PR only containing the actual change (IIUC this is 
only commit 
https://github.com/apache/maven/pull/92/commits/2efe3d2d3b92685d83c2598a7f85c39ebdd59ebc).
 Otherwise it is impossible to review.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> 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)

Reply via email to