Repository navigation
[HOLD until maven-sources#57 swap] Switch default-branch metadata to Maven 3 (.asf.yaml + .github) - #718
Conversation
Prepare the maven-deploy-plugin-3.x branch to become the default master after the apache/maven-sources#57 branch swap. Config read from the default branch must already live on the incoming default branch: - .asf.yaml: adopt the current master's content, renaming only the protected 4.x branch (maven-deploy-plugin-3.x -> maven-deploy-plugin-4.x); the diff vs master is exactly that one line. - .github: carry over the repo-wide, default-branch-sourced ISSUE_TEMPLATE forms and the scheduled stale.yml, and align pull_request_template.md to master. Line-specific config (dependabot, maven-verify CI, release-drafter) stays the Maven 3 line's. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SJcgjSha5PNT8WFBMC1v5b
gnodet-bot
left a comment
There was a problem hiding this comment.
Config-only PR preparing the branch topology swap for maven-deploy-plugin. The .asf.yaml, issue templates, PR template, and stale workflow all look correct.
Note on PR description: The description says this PR "drops autolink_jira" but the diff shows autolink_jira: [MDEPLOY] is actually retained (unchanged context line). This is accurate behavior — it should stay. The description is just slightly misleading.
This review was generated by an AI agent, Hermès on behalf of @gnodet.
| required: true | ||
|
|
||
| - type: textarea | ||
| id: massage |
There was a problem hiding this comment.
💡 Nit: id: massage → id: message (typo). This appears to be pre-existing on master — worth fixing there too.
| Thanks for taking the time to fill out this new feature, improvement proposal. | ||
|
|
||
| - type: textarea | ||
| id: massage |
There was a problem hiding this comment.
💡 Nit: id: massage → id: message (same typo as in BUG.yml, pre-existing from master).
Part of apache/maven-sources#57 (switching plugin default branches back to Maven 3, cf. Plan / runbook).
⛔ DO NOT MERGE before the swap. This PR should be merged immediately around the branch rename on 2026-10-18 (coordinated with INFRA). Please review/approve by 2026-10-16 so it can be merged right at the switch.
This prepares the
maven-deploy-plugin-3.xbranch to become the defaultmasterafter the swap. Config GitHub reads from the default branch must already live on the incoming default branch, or it is silently dropped at the switch.What changes
.asf.yamlAdopts the current
master's.asf.yamlwholesale (branch protection, project metadata, features — whatever master carries today), with the single intended difference being the protected-branch renamemaven-deploy-plugin-3.x→maven-deploy-plugin-4.x:Why: ASF asfyaml only honours the default branch's
.asf.yaml, so anything that lives only on today'smasterwould be silently lost once this dormant-3.xbranch becomes the newmaster. Nodefault_branchis set — the default pointer is restored tomasterby INFRA as part of the renames.It also drops the
-3.x-only, now-vestigialjira_options/autolink_jira(not present on master; the Maven JIRA has migrated to GitHub issues). Say so in review if you want it kept on the Maven 3 line..github/.github/is read from the default branch, so the swap must carry the repo-wide, default-sourced parts or they silently drop:ISSUE_TEMPLATE/forms and the scheduledstale.ymlthatmasterhas and this branch was missing;pull_request_template.mdto master's current version.Line-specific config stays the Maven 3 line's —
dependabot.yml, themaven-verifyCI, and release-drafter (workflow + any config) are deliberately left untouched. Whether the Maven 3 line should auto-draft releases is a separate call for @slawekjaranowski, not something to flip silently here.Short inconsistency window after merge
Until the rename completes and Jenkins re-discovers branches,
job/masteris still today's Maven 4 job and the-4.xjob doesn't exist yet, so some badges/links briefly point at not-yet-existing branches. Expected; it resolves once the 2026-10-18 swap finishes.