You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Rod Woo (JIRA)" <ji...@codehaus.org> on 2014/06/07 18:41:10 UTC
[jira] (MENFORCER-194) Rule RequireSameVersions: dependency
artifacts are not checked
Rod Woo created MENFORCER-194:
---------------------------------
Summary: Rule RequireSameVersions: dependency artifacts are not checked
Key: MENFORCER-194
URL: https://jira.codehaus.org/browse/MENFORCER-194
Project: Maven Enforcer Plugin
Issue Type: Bug
Components: Standard Rules
Affects Versions: 1.3.1
Reporter: Rod Woo
Attachments: RequireSameVersions_setDependencies.patch
In RequireSameVersions.java you must prefer the method project.getDependencyArtifacts() to project.getArtifacts().
Testcase and patch are attached.
Furthermore, the official documentation of the rule should make clear that transitive dependencies are not considered. This will make the rule for many users meaningless.
Furthermore, the official documentation of the rule should make clear that the test coverage of the rule implementation is small.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)