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

Enforce no conflicts in pluginManagement

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 3.0.0-M3
    • None
    • Standard Rules
    • None

    Description

      Sometimes you inherit from a 3rd party parent which manages certain plugin versions.
      In your own parent (inheriting from the 3rd party parent) you might manage the same plugins to different versions.
      Often this is not done deliberately but rather for historical reason (for a concrete use case look at https://issues.apache.org/jira/browse/SLING-9307). It would be helpful to have a Maven enforcer rule which would enforce that all plugins are only managed once in the pom hierarchy. Optionally one should allow only downgrades or upgrades in the lower level poms.

      Attachments

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: