Skip to content

Dedicated parent POM for dependency management #184

@gavvvr

Description

@gavvvr

Right now the root pom.xml has at least 2 responsibilities:

  • versions management
  • default plugins configurations, which are supposed to be inherited by child sub-modules

IMO it would be great if versions could be managed in a dedicated place (like Gradle's libs.versions.toml version catalog or Gradle's java-platform POM)

Such separation of responsibilities can be achieved in Maven if the root pom.xml will extend from some versions-management-pom.xml. This way all versions will get managed in one single place, which will declutter the root pom.xml

@johanhaleby what do you think? I am only afraid this can potentially break automatic dependency upgrades (from tools like Renovate or dependabot), but I can't say for sure, this needs to be tested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions