Skip to content

Please add common parent POMs that are applicable to general use cases #1340

@lprimak

Description

@lprimak

Improvement proposal

Problem

With maven 3, it was possible to create a small and trivial pom file without "any help".
Maven 4 will (correctly) print a bunch of warnings, and to get a "simple" pom file that works without warnings, it'll probably take a couple of pages of xml.

Solution

In maven 4, realistically will require a parent POM for most projects.
I propose to add already-existing parent POM projects and to https://maven.apache.org/pom/index.html page and and have a jump-off point for users to decide which one to use for their own project.
If that's not appropriate, I am open to any other suggestions where to put these.

Context

When I asked on slack about a year ago whether there was a parent POM that is generally applicable for any project, I was told that there was no such thing.
I created one which works great and is generally applicable.
Today, a reddit user pointed out another one that was started in 2017. I propose to get both of those on the page,
and any other "good" ones that come up.
Both are equally good, one is more complete, and another is smaller in scope (and less code)

One is https://github.com/flowlogix/base-pom / https://docs.flowlogix.com/base-pom (Disclaimer: this is mine)
Another one is https://github.com/basepom/basepom / https://basepom.org

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions