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)