Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split reactor POM into separate parent and reactor POMs #621

Open
Bananeweizen opened this issue Dec 21, 2023 · 0 comments
Open

Split reactor POM into separate parent and reactor POMs #621

Bananeweizen opened this issue Dec 21, 2023 · 0 comments

Comments

@Bananeweizen
Copy link
Collaborator

Bananeweizen commented Dec 21, 2023

Currently the POM in the root of the project is used both as reactor (or aggregator) and parent for the Maven modules. That's done in many projects, but leads to a minor annoyance: All plugins listed in this POM are executed for all modules and the aggregator itself, it's not possible to have a plugin in the aggregator ("at the end") only. By splitting the parent POM out into a separate file that would be possible, and we could avoid such things like the newly introduced profile with file existence check from #615.

Does anyone see a reason why NOT to split out the parent POM content into a separate file? E.g. moving it into reposityroot/parent/pom.xml? Maven will be happy with both, but I don't want to break anything else on CI that I might not be aware of.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant