Issue Details (XML | Word | Printable)

Key: MNG-1753
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: John Allen
Votes: 7
Watchers: 5
Operations

If you were logged in you would be able to see more operations.
Maven 2

support improved property based profile activation

Created: 05/Dec/05 09:00 AM   Updated: 16/Oct/08 06:45 AM
Component/s: POM, Profiles
Affects Version/s: None
Fix Version/s: 3.x

Time Tracking:
Not Specified

Issue Links:
Related
 

Complexity: Intermediate


 Description  « Hide
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.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Brett Porter added a comment - 05/Sep/07 03:04 AM
we're currently taking submissions for the new features to accept for 2.1 development - if you'd like to fill in a proposal please drop this in there - thanks!

Michael Mellenthin added a comment - 16/Oct/08 06:45 AM
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?