Java Mailing List Archive

http://www.java2.5341.com/

Home » issues.maven »

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

Jan Bartel (JIRA)

2008-10-16


Author LoginPost Reply

  [ 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

   
©2008 java2.5341.com - Jax Systems, LLC, U.S.A.