Issue Type: Improvement Improvement
Assignee: Unassigned
Attachments: filteredPropertiesUpdate.patch
Created: 06/Sep/12 10:29 AM
Description:

It is common to use properties for things that share versions - such as slf4j, spring, etc - but sometimes you want to update just properties for a specific group and not all groups.

(For instance, your company com.foo dependencies should be updated, but you dont' want to update your ${spring.version})

The attached patch makes the update-properties use the same -Dincludes and -Dexcludes as the update-dependencies mojo.

When deciding whether to update a property or not, it walks over every artifact that is in the ArtifactAssociation and makes sure that they are all allowed to be updated based on the inclusion / exclusion filters.

If a property is used by an artifact that is not allowed to be updated, it will log a message explaining that. (if a property is shared between com.foo and com.bar and you said -Dincludes=com.foo - then that property wont be updated)

Included in the patch is updated documentation and three new IT's that test the behavior.

Project: Maven 2.x Versions Plugin
Priority: Major Major
Reporter: Ryan Gardner
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to