Uploaded image for project: 'Maven Enforcer Plugin'
  1. Maven Enforcer Plugin
  2. MENFORCER-194

Rule RequireSameVersions: dependency artifacts are not checked

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.3.1
    • Fix Version/s: None
    • Component/s: Standard Rules
    • Labels:
    • Flags:
      Patch

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rwoo Rod Woo
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: