Skip to content

[MENFORCER-508] Extend requireSameVersions rule to optionally enforce same versions among reactor modulesΒ #874

Closed

Description

@jira-importer

Konrad Windszus opened MENFORCER-508 and commented

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


Affects: 3.5.0

Remote Links:

Activity

  1. jira-importer commented on Aug 18, 2024

    @jira-importer
    Author

    Konrad Windszus commented

    Fixed in 04c1122.

  2. modified the milestones: , 3.6.0 on Jun 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions