You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by ar...@apache.org on 2026/10/13 14:08:52 UTC

(tooling-trusted-releases) 02/02: Add Maven plugin mention on the compose upload page

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

alitheg pushed a commit to branch arm
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git

commit 8c2616df369d6ff4767e82075b470722f303e744
Author: Alastair McFarlane <ar...@apache.org>
AuthorDate: Tue Oct 13 15:03:32 2026 +0100

    Add Maven plugin mention on the compose upload page
---
 atr/get/upload.py | 28 +++++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)

diff --git a/atr/get/upload.py b/atr/get/upload.py
index efa688c2..b9c25db0 100644
--- a/atr/get/upload.py
+++ b/atr/get/upload.py
@@ -81,7 +81,8 @@ async def selected(
         htm.a(".btn.btn-outline-primary.me-2", href="#file-upload")["Use the browser"],
         htm.a(".btn.btn-outline-primary.me-2", href="#svn-upload")["Use SVN"],
         htm.a(".btn.btn-outline-primary.me-2", href="#rsync-upload")["Use rsync"],
-        htm.a(".btn.btn-outline-primary", href="#github-upload")["Use GitHub Workflow"],
+        htm.a(".btn.btn-outline-primary.me-2", href="#github-upload")["Use GitHub Workflow"],
+        htm.a(".btn.btn-outline-primary", href="#maven-upload")["Use Maven"],
     ]
 
     block.h2(id="file-upload")["File upload"]
@@ -150,6 +151,8 @@ async def selected(
 
     _render_github_workflow(block, release, ci_builds_enabled)
 
+    _render_maven_plugin(block)
+
     return await template.blank(
         f"Upload files to {release.short_display_name}",
         content=block.collect(),
@@ -225,6 +228,29 @@ jobs:
     block.p["You can also use the", htm.code[" Upload to ATR "], "step directly in an existing workflow."]
 
 
+def _render_maven_plugin(block: htm.Block) -> None:
+    block.h2(id="maven-upload")["Maven plugin"]
+    block.p[
+        "Projects that release with Maven can upload files into this draft from their release build, ",
+        "for example during ",
+        htm.code["mvn release:perform"],
+        ", using the ",
+        htm.a(href="https://github.com/apache/tooling-atr-maven-plugin")["ATR Maven Plugin"],
+        ". It authenticates with a ",
+        htm.a(href=util.as_url(docs.page, path="release-manager-setup") + "#personal-access-tokens")[
+            "personal access token"
+        ],
+        ", which you configure as a server in your Maven ",
+        htm.code["settings.xml"],
+        ".",
+    ]
+    block.p[
+        "The ",
+        htm.a(href="https://apache.github.io/tooling-atr-maven-plugin/")["plugin documentation"],
+        " shows how to configure your credentials and a release profile, and how to place files in subdirectories.",
+    ]
+
+
 def _render_ssh_keys_info(block: htm.Block, user_ssh_keys: Sequence[sql.SSHKey]) -> None:
     known_cves_url = "https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj"
     block.p[


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