[
https://jira.codehaus.org/browse/MENFORCER-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=287092#comment-287092
]
Raman Gupta commented on MENFORCER-118:
---------------------------------------
Agree with Erik, this is a show-stopper for timestamped snapshot use. See my
StackOverflow question here for a repeatable test scenario:
http://stackoverflow.com/questions/8662129/maven-unique-snapshots-and-dependency-convergence
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira