Skip to content

RATIS-2440. Let ratis-bom inherit from Apache parent#1381

Open
adoroszlai wants to merge 3 commits intoapache:masterfrom
adoroszlai:RATIS-2440
Open

RATIS-2440. Let ratis-bom inherit from Apache parent#1381
adoroszlai wants to merge 3 commits intoapache:masterfrom
adoroszlai:RATIS-2440

Conversation

@adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

ratis-bom module does not inherit from ratis main (root) POM to avoid leaking dependencies. However, it could inherit from maven-apache-parent, which is also the parent of ratis main.

This lets ratis-bom inherit, among others:

  • apache-release profile
  • Apache plugin versions, for consistency with rest of Ratis
  • distMgmtSnapshots* properties
  • project.build.outputTimestamp, to fix [ERROR] Reproducible Build not activated by project.build.outputTimestamp property...

Also remove some of these items from root POM, which inherits them from:

https://github.com/apache/maven-apache-parent/blob/apache-35/pom.xml#L90-L92
https://github.com/apache/maven-apache-parent/blob/apache-35/pom.xml#L94-L95
https://github.com/apache/maven-apache-parent/blob/apache-35/pom.xml#L106

https://issues.apache.org/jira/browse/RATIS-2440

How was this patch tested?

mvn -DskipTests -Pdist clean install
mvn -DskipTests -Pdist clean package artifact:compare

CI:
https://github.com/adoroszlai/ratis/actions/runs/23310397439

@adoroszlai adoroszlai self-assigned this Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant