You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2026/07/08 07:21:17 UTC
(maven) 01/01: configure push-to-atr profile for source+binaries in apache-maven subproject
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.git
commit 75ee005d86016406c424b3197a4fec57842a129b
Author: Hervé Boutemy <hb...@apache.org>
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 | 47 +++++++++++++++++++++++++++++++++++++++++++++++
pom.xml | 20 ++++++++++++++++++++
2 files changed, 67 insertions(+)
diff --git a/apache-maven/pom.xml b/apache-maven/pom.xml
index c61af53502..a7d160095d 100644
--- a/apache-maven/pom.xml
+++ b/apache-maven/pom.xml
@@ -398,6 +398,53 @@ 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>
+ <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>
+ <skip>false</skip>
+ </configuration>
+ </execution>
+ <execution>
+ <id>upload-bin-to-atr</id>
+ <phase>deploy</phase>
+ <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 c9ba830b17..26ae32b3f0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1096,6 +1096,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>