Repository navigation
chore(QTDI-1553): migrate from osshr to central - #1068
Conversation
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Pull Request Overview
Updates the project’s Maven configuration to use Sonatype Central Portal instead of OSSRH, swaps out the Nexus staging plugin for the central-publishing plugin, and aligns Jenkins credentials.
- Replace all OSSRH endpoints and plugin IDs with central.sonatype.com URLs and
central-publishing-maven-plugin. - Add Cloudera public plugin repository and update Jenkins server ID to
central.portal. - Remove explicit release repository in favor of plugin defaults (per inline comment).
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| pom.xml | Switched distributionManagement and repositories to central portal URLs; replaced nexus-staging plugin with central-publishing plugin; added Cloudera public pluginRepository. |
| .jenkins/settings.xml | Changed server <id> from ossrh to central.portal for Jenkins credentials. |
Comments suppressed due to low confidence (3)
pom.xml:139
- [nitpick] This inline comment is vague; consider clarifying which plugin features automatically handle releases and snapshots or remove it if no longer needed.
<!-- looks like release and snapshot plugins are handled by sonatype plugin from the box -->
.jenkins/settings.xml:8
- [nitpick] The server ID
central.portalno longer matches theOSSRH_*environment variable names; consider renaming the env vars or adding documentation so credentials map correctly.
<id>central.portal</id>
pom.xml:139
- The
<repository>section for releases was removed—ensure you explicitly declare a<repository>for releases or verify thatcentral-publishing-maven-pluginwill publish releases correctly to avoid deployment failures.
<!-- looks like release and snapshot plugins are handled by sonatype plugin from the box -->
undx
left a comment
There was a problem hiding this comment.
Left question.
Will 👁️ for any other may miss.
| <repository> | ||
| <id>central-portal-snapshots</id> | ||
| <name>Central Portal Snapshots</name> | ||
| <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
| <id>Cloudera.pub</id> | ||
| <url>https://repository.cloudera.com/content/repositories/public</url> |
There was a problem hiding this comment.
cloudera for releases? (see my previous comment).
There was a problem hiding this comment.
Cloudera is to load maven plug-in. The new is placed there
There was a problem hiding this comment.
And I didn't understand this comment.
|
Found some extra references to sonatype.org: Lines 473 to 474 in 6661911 Also in master pom.xml. Also, did not checked if still mirrored (I think so), check maybe all references to repo.maven.apache.org |
This comment has been minimized.
This comment has been minimized.
3 similar comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
94f94a3 to
4c39c23
Compare
This comment has been minimized.
This comment has been minimized.
4c39c23 to
98dddef
Compare
This comment has been minimized.
This comment has been minimized.
a29405c to
5c91e57
Compare
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>
Requirements
https://qlik-dev.atlassian.net/browse/QTDI-1553
Why this PR is needed?
What does this PR adds (design/code thoughts)?