This is an automated email from the ASF dual-hosted git repository.
adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ratis.git
The following commit(s) were added to refs/heads/master by this push:
new 61d60a322 RATIS-2440. Let ratis-bom inherit from Apache parent (#1381)
61d60a322 is described below
commit 61d60a322a55c61a54128e0991b8308f1a4a4131
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Sun Mar 22 11:16:57 2026 +0100
RATIS-2440. Let ratis-bom inherit from Apache parent (#1381)
---
pom.xml | 12 +++---------
ratis-bom/pom.xml | 45 +++++++++++----------------------------------
2 files changed, 14 insertions(+), 43 deletions(-)
diff --git a/pom.xml b/pom.xml
index 5c098c311..14a35a7d1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -140,9 +140,6 @@
<properties>
-
<project.build.outputTimestamp>2025-11-03T02:50:35Z</project.build.outputTimestamp>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- where to find the generated LICENSE files -->
<license.aggregate.path>
${project.build.directory}/maven-shared-archive-resources/META-INF/LICENSE
@@ -168,12 +165,9 @@
<spotbugs.version>4.8.6</spotbugs.version>
<spotbugs-plugin.version>4.8.6.2</spotbugs-plugin.version>
- <distMgmtSnapshotsId>apache.snapshots.https</distMgmtSnapshotsId>
- <distMgmtSnapshotsName>Apache Development Snapshot
Repository</distMgmtSnapshotsName>
-
<distMgmtSnapshotsUrl>https://repository.apache.org/content/repositories/snapshots</distMgmtSnapshotsUrl>
- <distMgmtStagingId>apache.staging.https</distMgmtStagingId>
- <distMgmtStagingName>Apache Release Distribution
Repository</distMgmtStagingName>
-
<distMgmtStagingUrl>https://repository.apache.org/service/local/staging/deploy/maven2</distMgmtStagingUrl>
+ <distMgmtStagingId>${distMgmtReleasesId}</distMgmtStagingId>
+ <distMgmtStagingName>${distMgmtReleasesName}</distMgmtStagingName>
+ <distMgmtStagingUrl>${distMgmtReleasesUrl}</distMgmtStagingUrl>
<shell-executable>bash</shell-executable>
diff --git a/ratis-bom/pom.xml b/ratis-bom/pom.xml
index 46c8f556e..aac81f017 100644
--- a/ratis-bom/pom.xml
+++ b/ratis-bom/pom.xml
@@ -14,6 +14,14 @@
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache</groupId>
+ <artifactId>apache</artifactId>
+ <version>35</version>
+ <relativePath /> <!-- resolve from repository -->
+ </parent>
+
<groupId>org.apache.ratis</groupId>
<artifactId>ratis-bom</artifactId>
<version>3.3.0-SNAPSHOT</version>
@@ -36,12 +44,9 @@
</distributionManagement>
<properties>
- <distMgmtSnapshotsId>apache.snapshots.https</distMgmtSnapshotsId>
- <distMgmtSnapshotsName>Apache Development Snapshot
Repository</distMgmtSnapshotsName>
-
<distMgmtSnapshotsUrl>https://repository.apache.org/content/repositories/snapshots</distMgmtSnapshotsUrl>
- <distMgmtStagingId>apache.staging.https</distMgmtStagingId>
- <distMgmtStagingName>Apache Release Distribution
Repository</distMgmtStagingName>
-
<distMgmtStagingUrl>https://repository.apache.org/service/local/staging/deploy/maven2</distMgmtStagingUrl>
+ <distMgmtStagingId>${distMgmtReleasesId}</distMgmtStagingId>
+ <distMgmtStagingName>${distMgmtReleasesName}</distMgmtStagingName>
+ <distMgmtStagingUrl>${distMgmtReleasesUrl}</distMgmtStagingUrl>
<!-- Contains all shaded thirdparty dependencies; make sure to also update
in pom.xml -->
<ratis.thirdparty.version>1.0.11</ratis.thirdparty.version>
<!-- no testable code in this module -->
@@ -145,32 +150,4 @@
</plugin>
</plugins>
</build>
-
- <profiles>
- <profile>
- <id>apache-release</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-gpg-plugin</artifactId>
- <version>3.2.7</version>
- <executions>
- <execution>
- <id>sign-release-artifacts</id>
- <goals>
- <goal>sign</goal>
- </goals>
- <configuration>
- <gpgArguments>
- <arg>--digest-algo=SHA512</arg>
- </gpgArguments>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
</project>