Repository navigation
fix(QTDI-3703): Backport Central Portal publishing to 1.64 - #1309
Conversation
Replace the OSSRH / nexus-staging-maven-plugin publishing with central-publishing-maven-plugin 0.8.0 (central.portal), as on master: - root pom: distributionManagement, repositories and pluginRepositories use central.portal; release, no-staging and snapshot profiles - component-studio: add the release-zl profile (talend_nexus_deployment) - talend-component-maven-plugin: drop the component-runtime-di provided dependency (as done in #1068) Calendar versioning (QTDI-3301) is not taken. Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
🧐 Scope & Design review — QTDI-3703Note: critic runs in the same context as the implementer — structured self-review, not a substitute for human review. Critic Round 1 — FindingsFiles:
Edge cases challenged and found OK: Approval gate: APPROVED after 1 round — no Blocker or Major findings, 4 Minor (non-blocking). Signed: Claude Sonnet 5.5 |
🔍 Code Review — QTDI-3703Reviewed 3 files changed on this branch (base Findings
Other checks: no whitespace errors ( Summary
Files with no findings: Exhaustive local review — all 3 changed files reviewed. Generated by AI; findings should be validated by a human reviewer. Signed: Claude Sonnet 5.5 |
|

0 New Issues
0 Fixed Issues
0 Accepted Issues
No data about coverage (52.50% Estimated after merge)
Requirements
Why this PR is needed?
QTDI-3703: the MAINTENANCE release of
maintenance/1.64fails inrelease:performwithServer credentials with ID "ossrh" not found!. The 1.64pom.xmlstill publishes withnexus-staging-maven-plugin(ossrh/oss.sonatype.org), while.jenkins/settings.xmlon 1.64 only definescentral.portal(taken from master by #1140 without the matching pom changes). OSSRH has been sunset by Sonatype, so restoring anossrhcredential is not a fix. The Sonatype snapshot deploy stage of theJenkinsfilehas the same mismatch (thesnapshotprofile it activates does not exist on 1.64).What does this PR adds (design/code thoughts)?
Backport of master's final publishing state (QTDI-1553: #1068, #1071, #1072, #1073 and later fixes, incl.
publishingServerIdfrom #1271). Push/pull mechanism unchanged relative to master; build, tests, dependencies and image generation are untouched.pom.xmldistributionManagement: only asnapshotRepositorycentral.portal(https://central.sonatype.com/repository/maven-snapshots); theossrhrelease<repository>is removed.repositories/pluginRepositories:oss.snapshotsreplaced bycentral.portal(snapshots only, releases disabled).nexus-staging-maven-pluginreplaced bycentral-publishing-maven-plugin0.8.0 (property +pluginManagement).release(excludeArtifactsfor the studio modules),no-staging(skipPublishing+publishingServerId central.portal) and the newsnapshotfollow master. Plugin versions of source/javadoc/gpg inside the profiles stay as on 1.64.component-studio/pom.xml: newrelease-zlprofile publishing to the private Nexus (talend_nexus_deployment), already activated byrelease-3.1-perform-studio.sh.talend-component-maven-plugin/pom.xml:component-runtime-diprovided dependency removed (as chore(QTDI-1553): migrate from osshr to central #1068).ClasspathMojoBaseonly references it as a string. This is the only change with a build-graph effect.Not taken: calendar versioning (QTDI-3301),
<scm>/<tag>rewrite, Java 17, dependency/plugin bumps. Not touched (already identical to master):.jenkins/settings.xml,Jenkinsfile,ci/Jenkinsfile-release,.jenkins/scripts/release/*,images/.Validation
help:effective-pombefore/after for default,release,gpg2,snapshot,gpg2,no-staging, andcomponent-studiowithrelease-zl,no-staging: only publishing-related sections differ; noossrh/nexus-staging/oss.snapshotsleft.mvn clean verify(Maven gets401fromartifacts-oss.talend.com; no credentials locally). CI on this PR is the first full verification, in particular thattalend-component-maven-plugincompiles without thecomponent-runtime-didependency.Checklist
mvn clean verifypasses locally — not run (401 on Talend OSS Nexus), CI to confirmAI generated code
https://internal.qlik.dev/general/ways-of-working/code-reviews/#guidelines-for-ai-generated-code
AI contribution metrics
100%(185/185 changed lines)100%(185/185 changed lines)17%(131/760 words retained from the AI draft in the Dev-approved plan, 1 revision)🤖 Generated with Claude Code