This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch push-to-atr
in repository https://gitbox.apache.org/repos/asf/maven-apache-parent.git

commit 60acefa14cf0062669aeae63e77c5cd163a6e503
Author: HervĂ© Boutemy <[email protected]>
AuthorDate: Sun Jun 21 22:02:21 2026 +0200

    add push-to-atr profile
---
 docs/src/site/apt/index.apt.vm | 11 +++++++++++
 pom.xml                        | 34 ++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/docs/src/site/apt/index.apt.vm b/docs/src/site/apt/index.apt.vm
index 0eabf80..082b2e8 100644
--- a/docs/src/site/apt/index.apt.vm
+++ b/docs/src/site/apt/index.apt.vm
@@ -204,6 +204,17 @@ The <<<apache-release>>> Profile
 
  Those files also end up in the staging repository and Maven Central.
 
+* The <<<push-to-atr>>> Profile
+
+ Since release 39, <<<push-to-atr>>> profile is provided to help upload built 
release content to
+ {{{https://tooling.apache.org/}Apache Tooling}}'s Trusted Releases platform, 
and compose the release
+ using 
{{{https://apache.github.io/tooling-atr-maven-plugin/}<<<atr-maven-plugin}}.
+
+ See ATR's {{{https://release-test.apache.org/tutorial}tutorial}} for a quick 
introduction: you'll have to create a
+ project, for example using
+ 
{{{https://github.com/apache/infrastructure-asfyaml/blob/main/README.md#project}<<<project>>>
 entry in <<<.asf.yaml}},
+ and start the release in ATR before composing.
+
 Settings Configuration
   
   You can have a look at the page in Apache website
diff --git a/pom.xml b/pom.xml
index afe6857..a5036d5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -137,6 +137,7 @@ under the License.
     <version.maven-source-plugin>3.4.0</version.maven-source-plugin>
     <!-- for surefire, failsafe and surefire-report -->
     <version.maven-surefire>3.5.6</version.maven-surefire>
+    <version.tooling.atr>1.0.0-alpha-1</version.tooling.atr>
     <surefire.version>${version.maven-surefire}</surefire.version>
     <version.maven-war-plugin>3.5.1</version.maven-war-plugin>
   </properties>
@@ -526,6 +527,39 @@ under the License.
       </build>
     </profile>
     <!-- END SNIPPET: release-profile -->
+    <profile>
+      <id>push-to-atr</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.tooling</groupId>
+            <artifactId>atr-maven-plugin</artifactId>
+            <version>${version.tooling.atr}</version>
+            <executions>
+              <execution>
+                <id>atr-check-composing</id>
+                <goals>
+                  <goal>check-composing</goal>
+                </goals>
+              </execution>
+              <execution>
+                <id>upload-to-atr</id>
+                <goals>
+                  <goal>upload</goal>
+                </goals>
+                <configuration>
+                  <files>
+                    
<file>${project.build.directory}/${project.artifactId}-${project.version}-source-release.zip</file>
+                    
<file>${project.build.directory}/${project.artifactId}-${project.version}-source-release.zip.sha512</file>
+                    
<file>${project.build.directory}/${project.artifactId}-${project.version}-source-release.zip.asc</file>
+                  </files>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
     <profile>
       <id>jdk8</id>
       <activation>

Reply via email to