You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stephan Schroevers (JIRA)" <ji...@codehaus.org> on 2012/01/19 18:35:02 UTC

[jira] (MENFORCER-118) DependencyConvergence gets better if it doesn't fail on snapshots of same baseVersion

    [ https://jira.codehaus.org/browse/MENFORCER-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=288864#comment-288864 ] 

Stephan Schroevers commented on MENFORCER-118:
----------------------------------------------

And another +1. Indeed, this is a show-stopper when using Maven 3.
                
> 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