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 c9914ee59 RATIS-2435. ratis-bom POM is not signed during release 
staging (#1374)
c9914ee59 is described below

commit c9914ee59e6a99e73c153536cbac5b432297144e
Author: Potato <[email protected]>
AuthorDate: Fri Mar 13 15:54:16 2026 +0800

    RATIS-2435. ratis-bom POM is not signed during release staging (#1374)
---
 ratis-bom/pom.xml | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/ratis-bom/pom.xml b/ratis-bom/pom.xml
index a62f2798d..46c8f556e 100644
--- a/ratis-bom/pom.xml
+++ b/ratis-bom/pom.xml
@@ -145,4 +145,32 @@
       </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>

Reply via email to