Skip to content

Conversation

@knoxy5467
Copy link
Contributor

This pull request updates the Maven publishing configuration across all modules to use the new Central Repository publishing endpoints and plugin. It replaces the deprecated Sonatype Nexus Staging plugin and AWS-specific endpoints with the new central-publishing-maven-plugin and updated URLs, ensuring compatibility with the latest publishing requirements.

Repository publishing configuration updates:

  • Changed the <distributionManagement> section in all pom.xml files to use the new Central Repository (central) IDs and endpoints for both snapshot and release repositories, replacing the old ossrh and AWS URLs. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]

Build and deployment plugin updates:

  • Replaced the deprecated nexus-staging-maven-plugin with the new central-publishing-maven-plugin (version 0.7.0) in all modules, and updated the plugin configuration to use publishingServerId=central. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

Dependency cleanup:

  • Removed the unnecessary provided dependency for commons-compress in the root pom.xml, as it is no longer required for vulnerability mitigation. Additionally the new publishing plugins required removal of that block.

Replace nexus-staging-maven-plugin with central-publishing-maven-plugin
and update repository URLs from aws.oss.sonatype.org to
ossrh-staging-api.central.sonatype.com across all modules.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants