You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Mellenthin (JIRA)" <ji...@codehaus.org> on 2008/10/16 13:46:19 UTC

[jira] Commented: (MNG-1753) support improved property based profile activation

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

Michael Mellenthin commented on MNG-1753:
-----------------------------------------

We need profile activation per workset. A possible solution is to activate a profile in settings.xml by property. We don't want to set a system property but rather add a property in pom.xml. Is it planned to support this feature in 2.1 or only in 3.x?

> support improved property based profile activation
> --------------------------------------------------
>
>                 Key: MNG-1753
>                 URL: http://jira.codehaus.org/browse/MNG-1753
>             Project: Maven 2
>          Issue Type: New Feature
>          Components: POM, Profiles
>            Reporter: John Allen
>             Fix For: 3.x
>
>
> support better profile activation via 
> a) multiple property elements in the activation element.
> eg:-
> <activation>
> <property>
> <name>os.name</name>
> <valueWindows XP</value>
> </property>
> <property>
> <name>os.name</name>
> <valueWindows 2000</value>
> </property>
> </activation>
> b) regex based property parsing for both name and value elements (dont know how you'll want to handle the tagging to indicate that something is a regex property rather than a plain one but for now im using regexName and regexValue)
> eg:-
> <activation>
> <regexProperty>
> <name>os.name</name>
> <regexValue>Windows 2000|Windows XP</regexValue>
> </property>
> </activation>
> same for name.

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