Skip to content

Add ATR configuration to .asf.yaml - #421

Merged
gnodet merged 4 commits into
masterfrom
add-atr-config
Oct 13, 2026
Merged

gnodet merged 4 commits into
masterfrom
add-atr-config

Conversation

@gnodet

@gnodet gnodet commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

Add the project: section to .asf.yaml to enable Apache Trusted Releases (ATR) integration for maven-archiver releases.

This follows the same pattern as:

  • apache/maven-filtering (shared, download_path_suffix: shared)
  • apache/maven-resources-plugin (plugins, download_path_suffix: plugins)

With atr_sync: true set, ATR will:

  • Import the GPG keys from the Maven KEYS file automatically
  • Manage the vote and publish the source release to dist/release/maven/shared/ on success

@slawekjaranowski

Copy link
Copy Markdown
Member

Please look at https://github.com/apache/maven-script-interpreter/blob/master/.asf.yaml
we need *template_url, *recipients

@slawekjaranowski

Copy link
Copy Markdown
Member

After merg we need to check if ART produce the same yml
https://releases.apache.org/project/yaml/maven-archiver

@slawekjaranowski

Copy link
Copy Markdown
Member

Comment thread .asf.yaml Resolved

@gnodet-bot gnodet-bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ATR configuration structure looks correct and the templates/recipients are now in place.

One issue with announce_recipients: all other Apache Maven components consistently use announce@maven.apache.org for that field, not announce@apache.org:

Using announce@apache.org would route release announcements to the global ASF announce list rather than the Maven project list — almost certainly unintended.

This review was generated by an AI agent, Hermès on behalf of @gnodet.

Comment thread .asf.yaml Resolved
Comment thread .asf.yaml Resolved
Comment thread .asf.yaml Resolved
@ascheman

Copy link
Copy Markdown
Contributor

will be conflict with:

I suggest to fix (by @gnodet) as recommended, then approve/merge. I will rebase 420 if necessary then. If I count days correctly, we could be finished with intended release of 4.0.0-beta-6 until Sunday when I start implementation of apache/maven-sources#57 by merging #420 (otherwise I will postpone).

gnodet and others added 2 commits October 13, 2026 12:56
Co-authored-by: Slawomir Jaranowski <s.jaranowski@gmail.com>

@gnodet-bot gnodet-bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The announce_recipients issue is fixed — announce@maven.apache.org is now correctly used. Config matches the maven-script-interpreter reference pattern. LGTM.

This review was generated by an AI agent, Hermès on behalf of @gnodet.

@gnodet gnodet added the build Pull requests that change the build process label Oct 13, 2026
@gnodet
gnodet merged commit 29c54dd into master Oct 13, 2026
5 of 6 checks passed
@gnodet
gnodet deleted the add-atr-config branch October 13, 2026 11:39
@github-actions github-actions Bot added this to the 4.0.0-beta-6 milestone Oct 13, 2026
ascheman added a commit to aschemaven/maven-archiver that referenced this pull request Oct 13, 2026
The branch-swap prep must carry the current master's .asf.yaml onto the
incoming default branch, or ASF asfyaml drops it at the swap. Master gained
the full ATR project/policy block in apache#421 after this PR was opened; re-adopt
it so the Maven 3 line keeps a correct ATR release config after the switch.

Only intended deviation stays the protected-branch rename
maven-archiver-3.x -> maven-archiver-4.x.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
ascheman added a commit that referenced this pull request Oct 19, 2026
The branch-swap prep must carry the current master's .asf.yaml onto the
incoming default branch, or ASF asfyaml drops it at the swap. Master gained
the full ATR project/policy block in #421 after this PR was opened; re-adopt
it so the Maven 3 line keeps a correct ATR release config after the switch.

Only intended deviation stays the protected-branch rename
maven-archiver-3.x -> maven-archiver-4.x.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Pull requests that change the build process

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants