maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Gier (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MNG-3328) Allow multiple profile activation properties.
Date Fri, 16 May 2008 15:47:27 GMT

    [ http://jira.codehaus.org/browse/MNG-3328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=135140#action_135140
] 

Paul Gier commented on MNG-3328:
--------------------------------

For better compatibility with the current maven model, the syntax for this should look more
like this:
{noformat}
<activation>
  <property>
    <name>my-prop-1</name>
    <value>some-value</value>
  </property>
  <property>
    <name>my-prop-2</name>
    <value>another-value</value>
  </property>
</activation>
{noformat}

If either of these properties match the given value, the profile should be activated.  
In addition, the other activators (os, jvm, file, etc) should also be allowed to have multiple
values.


> 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

        

Mime
View raw message