GH-3894: Prepare RC: stage through nexus-staging-maven-plugin #3895
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 285 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.338
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #3895"
general
weight: 0.35
RussellSpitzer
Rationale for this change
prepare-rc.shdeploys with a plainmvn deploy, lets Nexus implicitly create a staging repository, and then guesses which open repository in theorg.apache.parquetprofile was created. This PR switches to using an explicit repository creation which returns the exact repo-id we need to validate.Note: We don't need to do anything for Cancel or Release scripts since they already require the repo-id. Prepare is the only step which currently makes the repository without being sure which one it made.
What changes are included in this PR?
Maven Changes
- Adds
nexus-staging-maven-plugin1.7.0 to theapache-releaseprofile with extensions enabled. Replacingmaven-deploy-pluginformvn deployunder that profileAutomation Script Changes
prepare-rc.shpasses-DstagingDescription="Apache Parquet <version> RC<n>"and validates using the repository id (no check for a single repository or fail check)Created staging repository with IDlines fromtarget/nexus-deploy.lognexus_find_open_staging_repo(and its one-open-repo guard) andnexus_close_staging_repo, which have no remaining callers.Are these changes tested?
Yes.
0.0.0-testversionAre there any user-facing changes?
For release managers only.
release:performalso activates theapache-releaseprofile, so a manual release now stages through the plugin too:release:performcloses the staging repository itself, so the manual "Close" step in Nexus is no longer needed../mvnw release:perform -DskipTests -Darguments="-DskipTests -DstagingDescription='Apache Parquet <version> RC<n>'".Steps 2 and 3 of the release guide need a follow-up update in the parquet-site repository.
Closes #3894
🤖 Generated in tandem with Claude Code