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

Rule RequireSameVersions: dependency artifacts are not checked

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 1.3.1
    • None
    • Standard Rules
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            rfscholte Robert Scholte
            rwoo Rod Woo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment