This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to branch maven-4.0.x
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/maven-4.0.x by this push:
new 7711abe2e8 configure push-to-atr profile for source+binaries in
apache-maven subproject
7711abe2e8 is described below
commit 7711abe2e8ce99cd02afe0a62b9676aac67729b5
Author: Hervé Boutemy <[email protected]>
AuthorDate: Wed Jul 8 09:20:57 2026 +0200
configure push-to-atr profile for source+binaries in apache-maven subproject
---
apache-maven/pom.xml | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
pom.xml | 20 ++++++++++++++++++++
2 files changed, 71 insertions(+)
diff --git a/apache-maven/pom.xml b/apache-maven/pom.xml
index dac0617fc9..39b00c2429 100644
--- a/apache-maven/pom.xml
+++ b/apache-maven/pom.xml
@@ -390,6 +390,57 @@ under the License.
</plugins>
</build>
</profile>
+ <profile>
+ <id>push-to-atr</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.tooling</groupId>
+ <artifactId>atr-maven-plugin</artifactId>
+ <configuration>
+ <project>maven</project>
+ <runOnlyAtExecutionRoot>false</runOnlyAtExecutionRoot>
+ </configuration>
+ <executions>
+ <execution>
+ <id>upload-src-to-atr</id>
+ <goals>
+ <goal>upload</goal>
+ </goals>
+ <configuration>
+ <directory>${project.version}/source</directory>
+ <files>
+
<file>${project.build.directory}/${project.artifactId}-${project.version}-src.tar.gz</file>
+
<file>${project.build.directory}/${project.artifactId}-${project.version}-src.tar.gz.sha512</file>
+
<file>${project.build.directory}/${project.artifactId}-${project.version}-src.tar.gz.asc</file>
+
<file>${project.build.directory}/${project.artifactId}-${project.version}-src.zip</file>
+
<file>${project.build.directory}/${project.artifactId}-${project.version}-src.zip.sha512</file>
+
<file>${project.build.directory}/${project.artifactId}-${project.version}-src.zip.asc</file>
+ </files>
+ </configuration>
+ </execution>
+ <execution>
+ <id>upload-bin-to-atr</id>
+ <goals>
+ <goal>upload</goal>
+ </goals>
+ <configuration>
+ <directory>${project.version}/binaries</directory>
+ <files>
+
<file>${project.build.directory}/${project.artifactId}-${project.version}-bin.tar.gz</file>
+
<file>${project.build.directory}/${project.artifactId}-${project.version}-bin.tar.gz.sha512</file>
+
<file>${project.build.directory}/${project.artifactId}-${project.version}-bin.tar.gz.asc</file>
+
<file>${project.build.directory}/${project.artifactId}-${project.version}-bin.zip</file>
+
<file>${project.build.directory}/${project.artifactId}-${project.version}-bin.zip.sha512</file>
+
<file>${project.build.directory}/${project.artifactId}-${project.version}-bin.zip.asc</file>
+ </files>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
<profile>
<id>versionlessMavenDist</id>
<build>
diff --git a/pom.xml b/pom.xml
index 4c675c2d64..559e1d4901 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1149,6 +1149,26 @@ under the License.
</plugins>
</build>
</profile>
+ <profile>
+ <id>push-to-atr</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.tooling</groupId>
+ <artifactId>atr-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>upload-to-atr</id>
+ <configuration>
+ <!-- we have a dedicated distribution module -->
+ <skip>true</skip>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
<profile>
<id>reporting</id>
<reporting>