[
https://jira.codehaus.org/browse/MENFORCER-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=279297#comment-279297
]
Erik Godding Boye commented on MENFORCER-118:
---------------------------------------------
I think this should be reported as a bug, and not an improvement. Maven 3
enforces timestamped versions, which makes the dependency converge rule almost
useless with Maven 3 - because of this bug. The priority could also be
lifted....
> DependencyConvergence gets better if it doesn't fail on snapshots of same
> baseVersion
> -------------------------------------------------------------------------------------
>
> Key: MENFORCER-118
> URL: https://jira.codehaus.org/browse/MENFORCER-118
> Project: Maven 2.x Enforcer Plugin
> Issue Type: Improvement
> Components: Standard Rules
> Affects Versions: 1.0.1
> Reporter: Poul Bildsøe
> Priority: Trivial
>
> The DependencyVersionMap used by DependencyConvergense uses
> node.getArtifact().getVersion() when comparing versions. This makes the rule
> fail more often than needed because the version compare doens't ignore the
> fact that some snapshots may have been resolved to timestamp. If the code was
> node.getArtifact().getBaseVersion() instead then DependencyConvergense would
> only fail on real version mismatches.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira