[
https://issues.apache.org/jira/browse/MENFORCER-484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17736188#comment-17736188
]
Slawomir Jaranowski commented on MENFORCER-484:
-----------------------------------------------
{{requireSameVersion}} simply check if given artivacts have the same version
like in example:
https://maven.apache.org/enforcer/enforcer-rules/requireSameVersions.html
{{dependencyConvergence}} check if the same artifact accessible by transitive
dependencies has the same version on all dependency tree levels
https://maven.apache.org/enforcer/enforcer-rules/dependencyConvergence.html
> [Question/Bug?] about requireSameVersion
> ----------------------------------------
>
> Key: MENFORCER-484
> URL: https://issues.apache.org/jira/browse/MENFORCER-484
> Project: Maven Enforcer Plugin
> Issue Type: Bug
> Components: requireSameVersions
> Reporter: Eugenio Lentini
> Priority: Major
>
> Hello,
> I am using the {{requireSameVersion}} rule but it does not print, like the
> dependency convergence, where issues are.
> There is just an error but via {{mvn dependency:tree -Dverbose}} I cannot see
> any conflict.
> Questions:
> * How does it suppose to work this rule?
> * Is it possible to print the tree as in dependencyConvergence?
> * What is the difference between requireSameVersion and
> dependencyConvergence?
> Thanks in advance for the answers.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)