You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elifarley Callado Coelho (JIRA)" <ji...@codehaus.org> on 2008/03/27 20:04:58 UTC
[jira] Commented: (MNG-3328) Allow multiple profile activation
properties.
[ http://jira.codehaus.org/browse/MNG-3328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=128914#action_128914 ]
Elifarley Callado Coelho commented on MNG-3328:
-----------------------------------------------
Maybe adding support for boolean operators would be nice. Here is an example:
---
<activation>
<and>
<property><name>prop-1</name></property>
<property><name>prop-2</name></property>
<property><name>prop-3</name></property>
<or>
<property><name>prop-4</name></property>
<not>
<property><name>prop-5</name></property>
</not>
<property><name>prop-6</name></property>
<os>MacOS</os>
</or>
</and>
</activation>
---
> Allow multiple profile activation properties.
> ---------------------------------------------
>
> Key: MNG-3328
> URL: http://jira.codehaus.org/browse/MNG-3328
> Project: Maven 2
> Issue Type: Improvement
> Components: Profiles
> Affects Versions: 2.0.8
> Reporter: Paul Gier
>
> The pom model should be changed to allow multiple properties to activate a profile. So the profile activation section could look something like this:
> <activation>
> <properties>
> <my-prop-1>some-value</my-prop-1>
> <my-prop-2>another-value</my-prop-2>
> </properties>
> </activation>
> This would provide more flexibility in profile activation.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira