This is an automated email from the ASF dual-hosted git repository. hboutemy pushed a commit to branch push-to-atr-3.10.x in repository https://gitbox.apache.org/repos/asf/maven.git
commit 06e97ea00ee56afe7ae31c8cb1b83aed653b14e7 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 c2e08c769a..777ea58b95 100644 --- a/apache-maven/pom.xml +++ b/apache-maven/pom.xml @@ -300,6 +300,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 1a61126e53..4b71fc4dab 100644 --- a/pom.xml +++ b/pom.xml @@ -763,6 +763,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>
