[ https://jira.codehaus.org/browse/MNG-3328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=340824#comment-340824 ]
Richard Calmbach commented on MNG-3328: --------------------------------------- Full support for boolean expressions for activation conditions would be really useful. At a minimum, multiple properties should be treated as "AND", the way it was always intended. You can do "OR" by duplicating a profile (ugly but at least *possible*), but currently, there is no way to do "AND" - a serious limitation. > Allow multiple profile activation properties. > --------------------------------------------- > > Key: MNG-3328 > URL: https://jira.codehaus.org/browse/MNG-3328 > Project: Maven 2 & 3 > Issue Type: Improvement > Components: Profiles > Affects Versions: 2.0.8 > Reporter: Paul Gier > Fix For: 3.x / Backlog > > > The pom model should be changed to allow multiple properties to activate a > profile. So the profile activation section could look something like this: > {code:xml} > <activation> > <properties> > <my-prop-1>some-value</my-prop-1> > <my-prop-2>another-value</my-prop-2> > </properties> > </activation> > {code} > This would provide more flexibility in profile activation. -- This message was sent by Atlassian JIRA (v6.1.6#6162)