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

Extend requireSameVersions rule to optionally enforce same versions among reactor modules

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.5.0
    • next-release
    • requireSameVersions
    • None

    Description

      Currently the rule https://maven.apache.org/enforcer/enforcer-rules/requireSameVersions.html does not support checking versions of the actual Maven modules (but only of contained dependencies and/or plugins). Often it is important that all modules of an aggregator project share a common version (in order to ease/allow releases). I propose to add an additional flag sameModuleVersions which if set to true enforces all modules built from the reactor root share a common version. This should also support CI-friendly versions

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: