This is an automated email from the ASF dual-hosted git repository. hboutemy pushed a commit to branch push-to-atr-3.9.x in repository https://gitbox.apache.org/repos/asf/maven.git
commit dd9430fc32ef73dc0ba826d9eda3ce7f86115cb5 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 fe70cc5e82..31ad5fe484 100644 --- a/apache-maven/pom.xml +++ b/apache-maven/pom.xml @@ -297,6 +297,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 22195656fb..fe38d8d381 100644 --- a/pom.xml +++ b/pom.xml @@ -705,6 +705,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>
