Repository navigation
[HOLD until maven-sources#57 swap] Switch default-branch metadata to Maven 3 (.asf.yaml + .github) - #340
Open
ascheman wants to merge 1 commit into
Conversation
Prepare the maven-source-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-source-plugin-3.x -> maven-source-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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-source-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-source-plugin-3.x→maven-source-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.