[ https://issues.apache.org/jira/browse/MNG-5909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17314806#comment-17314806 ]
Michael Osipov commented on MNG-5909: ------------------------------------- I don't have any storng opinion about this, but I understand that people need more flexibility. [~rfscholte], [~hboutemy], is this something we'd like to support in 4? > 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.3.4#803005)