You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "jieryn (JIRA)" <ji...@codehaus.org> on 2009/02/10 13:58: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=164754#action_164754 ]
jieryn commented on MNG-1753:
-----------------------------
Please supply profile activation based on whether or not this build is a development line or not, e.g. containing -SNAPSHOT in the $project.version. This may be covered by the regexProperty suggestion above, but perhaps is worthwhile as its own first class activation citizen.
> 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