[
https://jira.codehaus.org/browse/MVERSIONS-144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=280403#comment-280403
]
Falko Modler commented on MVERSIONS-144:
----------------------------------------
For us, this plugin is incomplete without being able to specify excludes for
the display-*/*-report goals because that means we have to check manually which
version updates a worth looking into (or we have to manipulate the report with
a script or something similar).
In our continuous site build we want to send an email to a responsible project
member with all new dependency updates (if any). We could achieve this easily
if the above mentioned goals had an exclude property.
Didn't check Will's patch, but the exclusion feature should be able to handle
regular expressions.
This way you could achieve something like: Report springframework 3.0.x updates
but not 3.1 and higher.
> Allow excluding certain versions of artifacts
> ---------------------------------------------
>
> Key: MVERSIONS-144
> URL: https://jira.codehaus.org/browse/MVERSIONS-144
> Project: Maven 2.x Versions Plugin
> Issue Type: New Feature
> Reporter: Will May
> Priority: Minor
> Attachments:
> Allow_certain_artifact_versions_to_be_excluded_from_consideration.patch,
> Allow_certain_artifact_versions_to_be_excluded_from_consideration_with_test.patch
>
>
> As some popular projects have released versions with invalid version numbers
> such as asm (version number 20041228.180559), it would be useful to be able
> to ignore certain versions when checking for updates. This functionality
> could also be used to exclude a version which has a known vulnerability.
> This patch doesn't include any unit tests for the new functionality as it's
> only a quick go. I've tested it locally and it correctly ignored the various
> commons-configuration and asm invalid versions. To add a unit test, it would
> be easier to use something such as Mockito but that is Java 5+ only. Are
> there any plans to upgrade to Java 5? Or are there any Java 1.4 mocking
> frameworks?
--
This message is automatically generated by JIRA.
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