You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by hb...@apache.org on 2026/05/12 16:55:18 UTC

(tooling-atr-maven-plugin) 01/01: move plugin to tooling

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

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

commit 20c5128a69f76ee85a8fe7022db74a41895e8878
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Tue May 12 18:55:03 2026 +0200

    move plugin to tooling
---
 README.md                                            |  6 +++---
 pom.xml                                              | 20 ++++++++++++++++----
 src/it/apache-release-profile/pom.xml                | 14 +++++++-------
 src/it/apache-release-profile/verify.groovy          |  6 +++---
 .../plugins => tooling}/atr/AbstractAtrMojo.java     |  2 +-
 .../{maven/plugins => tooling}/atr/AtrClient.java    |  2 +-
 .../plugins => tooling}/atr/CheckComposingMojo.java  |  2 +-
 .../{maven/plugins => tooling}/atr/UploadMojo.java   |  2 +-
 src/site/markdown/index.md                           |  6 +++---
 src/site/markdown/usage.md                           | 18 +++++++++---------
 src/site/site.xml                                    |  2 +-
 11 files changed, 46 insertions(+), 34 deletions(-)

diff --git a/README.md b/README.md
index cd758b2..90c0d65 100644
--- a/README.md
+++ b/README.md
@@ -17,10 +17,10 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-# Maven ATR Plugin
+# Tooling ATR Maven Plugin
 
-Studying ATR integration for Maven.
+ATR integration for Maven.
 
-It starts with a Maven plugin to [upload Apache distribution artifacts](https://release-test.apache.org/tutorial) to ATR before vote, like [`atr upload` CLI](https://github.com/apache/tooling-releases-client/blob/main/COMMANDS.md#atr-upload).
+It provides a Maven plugin with and [`atr:upload` goal](src/site/usage.md) to [upload Apache distribution artifacts](https://release-test.apache.org/tutorial) to ATR before vote, like [`atr upload` CLI](https://github.com/apache/tooling-releases-client/blob/main/COMMANDS.md#atr-upload).
 
 This can be triggered during `mvn deploy` in an `atr` profile along `apache-release` one: see IT `mvn -Prun-its verify` for demo.
diff --git a/pom.xml b/pom.xml
index 2789be8..413f329 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,17 +27,29 @@ under the License.
     <relativePath />
   </parent>
 
-  <artifactId>maven-atr-plugin</artifactId>
+  <groupId>org.apache.tooling</groupId>
+  <artifactId>atr-maven-plugin</artifactId>
   <version>1.0.0-beta-1-SNAPSHOT</version>
   <packaging>maven-plugin</packaging>
 
-  <name>Apache Maven ATR Plugin</name>
+  <name>Apache Tooling ATR Maven Plugin</name>
   <description>Maven plugin for ATR (Apache Test Release) integration to upload Apache distribution artifacts.</description>
 
   <prerequisites>
     <maven>3.9.0</maven>
   </prerequisites>
 
+  <scm>
+    <connection>scm:git:https://gitbox.apache.org/repos/asf/tooling-atr-maven-plugin.git</connection>
+    <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/tooling-atr-maven-plugin.git</developerConnection>
+    <tag>main</tag>
+    <url>https://github.com/apache/tooling-atr-maven-plugin/tree/${project.scm.tag}</url>
+  </scm>
+  <issueManagement>
+    <system>GitHub Issues</system>
+    <url>https://github.com/apache/tooling-atr-maven-plugin/issues</url>
+  </issueManagement>
+
   <properties>
     <mavenVersion>3.9.15</mavenVersion>
   </properties>
@@ -102,8 +114,8 @@ under the License.
       <build>
         <plugins>
           <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-atr-plugin</artifactId>
+            <groupId>org.apache.tooling</groupId>
+            <artifactId>atr-maven-plugin</artifactId>
             <version>${project.version}</version>
             <configuration>
               <project>${project.artifactId}</project>
diff --git a/src/it/apache-release-profile/pom.xml b/src/it/apache-release-profile/pom.xml
index 10a0039..ee34feb 100644
--- a/src/it/apache-release-profile/pom.xml
+++ b/src/it/apache-release-profile/pom.xml
@@ -26,12 +26,12 @@ under the License.
     <version>37</version>
   </parent>
 
-  <groupId>org.apache.maven.its.atr</groupId>
-  <artifactId>maven-atr-test-apache-release</artifactId>
+  <groupId>org.apache.tooling.its.atr</groupId>
+  <artifactId>tooling-atr-test-apache-release</artifactId>
   <version>1.0-SNAPSHOT</version>
 
   <name>ATR Plugin IT - Apache Release Profile</name>
-  <description>Integration test for maven-atr-plugin with apache-release profile</description>
+  <description>Integration test for atr-mavenplugin with apache-release profile</description>
 
   <properties>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -43,8 +43,8 @@ under the License.
     <pluginManagement>
       <plugins>
         <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-atr-plugin</artifactId>
+          <groupId>org.apache.tooling</groupId>
+          <artifactId>atr-maven-plugin</artifactId>
           <version>@project.version@</version>
         </plugin>
       </plugins>
@@ -57,8 +57,8 @@ under the License.
       <build>
         <plugins>
           <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-atr-plugin</artifactId>
+            <groupId>org.apache.tooling</groupId>
+            <artifactId>atr-maven-plugin</artifactId>
             <configuration>
               <dryRun>true</dryRun>
               <project>${project.artifactId}</project>
diff --git a/src/it/apache-release-profile/verify.groovy b/src/it/apache-release-profile/verify.groovy
index 0cbc495..1fa8732 100644
--- a/src/it/apache-release-profile/verify.groovy
+++ b/src/it/apache-release-profile/verify.groovy
@@ -21,13 +21,13 @@
 def buildLog = new File(basedir, 'build.log')
 assert buildLog.exists()
 
-assert buildLog.text.contains('[INFO] Checking project release in ATR: https://release-test.apache.org/projects/maven-atr-test-apache-release version 1.0-SNAPSHOT') :
+assert buildLog.text.contains('[INFO] Checking project release in ATR: https://release-test.apache.org/projects/tooling-atr-test-apache-release version 1.0-SNAPSHOT') :
         'Expected message not found in build log'
 
-assert buildLog.text.contains('to https://release-test.apache.org/file/maven-atr-test-apache-release/1.0-SNAPSHOT/maven-atr-test-apache-release-1.0-SNAPSHOT-source-release.zip') :
+assert buildLog.text.contains('to https://release-test.apache.org/file/tooling-atr-test-apache-release/1.0-SNAPSHOT/tooling-atr-test-apache-release-1.0-SNAPSHOT-source-release.zip') :
         'Expected message not found in build log'
 
-assert buildLog.text.contains('to https://release-test.apache.org/file/maven-atr-test-apache-release/1.0-SNAPSHOT/maven-atr-test-apache-release-1.0-SNAPSHOT-source-release.zip.sha512') :
+assert buildLog.text.contains('to https://release-test.apache.org/file/tooling-atr-test-apache-release/1.0-SNAPSHOT/tooling-atr-test-apache-release-1.0-SNAPSHOT-source-release.zip.sha512') :
         'Expected message not found in build log'
 
 return true
diff --git a/src/main/java/org/apache/maven/plugins/atr/AbstractAtrMojo.java b/src/main/java/org/apache/tooling/atr/AbstractAtrMojo.java
similarity index 99%
rename from src/main/java/org/apache/maven/plugins/atr/AbstractAtrMojo.java
rename to src/main/java/org/apache/tooling/atr/AbstractAtrMojo.java
index 21320a9..45b360e 100644
--- a/src/main/java/org/apache/maven/plugins/atr/AbstractAtrMojo.java
+++ b/src/main/java/org/apache/tooling/atr/AbstractAtrMojo.java
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.atr;
+package org.apache.tooling.atr;
 
 import java.io.File;
 import java.net.URL;
diff --git a/src/main/java/org/apache/maven/plugins/atr/AtrClient.java b/src/main/java/org/apache/tooling/atr/AtrClient.java
similarity index 99%
rename from src/main/java/org/apache/maven/plugins/atr/AtrClient.java
rename to src/main/java/org/apache/tooling/atr/AtrClient.java
index 371dde1..ce7dbfc 100644
--- a/src/main/java/org/apache/maven/plugins/atr/AtrClient.java
+++ b/src/main/java/org/apache/tooling/atr/AtrClient.java
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.atr;
+package org.apache.tooling.atr;
 
 import java.io.IOException;
 import java.io.InputStream;
diff --git a/src/main/java/org/apache/maven/plugins/atr/CheckComposingMojo.java b/src/main/java/org/apache/tooling/atr/CheckComposingMojo.java
similarity index 98%
rename from src/main/java/org/apache/maven/plugins/atr/CheckComposingMojo.java
rename to src/main/java/org/apache/tooling/atr/CheckComposingMojo.java
index b51b5bc..6681cf8 100644
--- a/src/main/java/org/apache/maven/plugins/atr/CheckComposingMojo.java
+++ b/src/main/java/org/apache/tooling/atr/CheckComposingMojo.java
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.atr;
+package org.apache.tooling.atr;
 
 import org.apache.maven.plugin.MojoExecutionException;
 import org.apache.maven.plugin.MojoFailureException;
diff --git a/src/main/java/org/apache/maven/plugins/atr/UploadMojo.java b/src/main/java/org/apache/tooling/atr/UploadMojo.java
similarity index 99%
rename from src/main/java/org/apache/maven/plugins/atr/UploadMojo.java
rename to src/main/java/org/apache/tooling/atr/UploadMojo.java
index 38b2429..8655b9e 100644
--- a/src/main/java/org/apache/maven/plugins/atr/UploadMojo.java
+++ b/src/main/java/org/apache/tooling/atr/UploadMojo.java
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.atr;
+package org.apache.tooling.atr;
 
 import java.nio.file.Path;
 
diff --git a/src/site/markdown/index.md b/src/site/markdown/index.md
index ec8764e..4bfd15b 100644
--- a/src/site/markdown/index.md
+++ b/src/site/markdown/index.md
@@ -17,9 +17,9 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-# Apache Maven ATR Plugin
+# Apache Tooling ATR Maven Plugin
 
-The Maven ATR Plugin is used to upload Apache release artifacts to [ATR (Apache Trusted Releases)][introduction-to-atr] before starting a vote.
+The ATR Maven Plugin is used to upload Apache release artifacts to [ATR (Apache Trusted Releases)][introduction-to-atr] before starting a vote.
 
 ## Goals Overview
 
@@ -29,7 +29,7 @@ The ATR Plugin has one goal:
 
 ## Usage
 
-General instructions on how to use the Maven ATR Plugin can be found on the [usage page](./usage.html).
+General instructions on how to use the ATR Maven Plugin can be found on the [usage page](./usage.html).
 
 In case you still have questions regarding the plugin's usage, please feel free to contact the [user mailing list](./mailing-lists.html). The posts to the mailing list are archived and could already contain the answer to your question as part of an older thread. Hence, it is also worth browsing/searching the [mail archive](./mailing-lists.html).
 
diff --git a/src/site/markdown/usage.md b/src/site/markdown/usage.md
index 014da37..1658883 100644
--- a/src/site/markdown/usage.md
+++ b/src/site/markdown/usage.md
@@ -21,7 +21,7 @@ under the License.
 
 ## Configuring Credentials
 
-The Maven ATR Plugin uses Maven's standard authentication mechanism. Configure your ATR credentials in `~/.m2/settings.xml`:
+The ATR Maven Plugin uses Maven's standard authentication mechanism. Configure your ATR credentials in `~/.m2/settings.xml`:
 
 ```xml
 <settings>
@@ -44,7 +44,7 @@ For security, you should encrypt your password using [Maven's password encryptio
 To upload release artifacts to ATR:
 
 ```
-mvn org.apache.maven.plugins:maven-atr-plugin:upload \
+mvn org.apache.tooling:atr-maven-plugin:upload \
   -Datr.project=maven \
   -Datr.version=4.0.0 \
   -Datr.files=apache-maven-4.0.0-src.tar.gz,apache-maven-4.0.0-src.tar.gz.sha512
@@ -52,7 +52,7 @@ mvn org.apache.maven.plugins:maven-atr-plugin:upload \
 
 ## Integration with Release Profile
 
-The typical use case is to integrate the ATR plugin into your `apache-release` profile:
+The typical use case is to integrate the ATR plugin into a `push-to-atr` profile that will be used optionally with `apache-release` profile:
 
 ```xml
 <project>
@@ -60,8 +60,8 @@ The typical use case is to integrate the ATR plugin into your `apache-release` p
   <build>
     <plugins>
       <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-atr-plugin</artifactId>
+        <groupId>org.apache.tooling</groupId>
+        <artifactId>atr-maven-plugin</artifactId>
         <version>1.0.0-beta-1-SNAPSHOT</version>
       </plugin>
     </plugins>
@@ -69,12 +69,12 @@ The typical use case is to integrate the ATR plugin into your `apache-release` p
 
   <profiles>
     <profile>
-      <id>apache-release</id>
+      <id>push-to-atr</id>
       <build>
         <plugins>
           <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-atr-plugin</artifactId>
+            <groupId>org.apache.tooling</groupId>
+            <artifactId>atr-maven-plugin</artifactId>
             <configuration>
               <project>${project.artifactId}</project>
               <version>${project.version}</version>
@@ -111,7 +111,7 @@ The typical use case is to integrate the ATR plugin into your `apache-release` p
 Then during the release process:
 
 ```
-mvn clean deploy -Papache-release
+mvn clean deploy -Papache-release,push-to-atr
 ```
 
 ## Directory Organization
diff --git a/src/site/site.xml b/src/site/site.xml
index df0a98f..b34fffd 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -19,7 +19,7 @@ under the License.
 -->
 <project xmlns="http://maven.apache.org/DECORATION/1.8.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 http://maven.apache.org/xsd/decoration-1.8.0.xsd"
-  name="Maven ATR Plugin">
+  name="Tooling ATR Maven Plugin">
 
   <body>
     <menu name="Overview">


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org