Skip to content

build: migrate from ossrh to central#703

Merged
mivek merged 2 commits intomainfrom
build/maven-central
Jul 13, 2025
Merged

build: migrate from ossrh to central#703
mivek merged 2 commits intomainfrom
build/maven-central

Conversation

@mivek
Copy link
Copy Markdown
Owner

@mivek mivek commented Jul 13, 2025

OSSRH is now deprecated. This migrates to maven central repository.

Copilot AI review requested due to automatic review settings July 13, 2025 10:04
@github-actions
Copy link
Copy Markdown

Please check on sonarcloud https://sonarcloud.io/project/pull_requests_list?id=io.github.mivek%3AmetarParser that the PR does not add any issue.

This comment was marked as outdated.

mivek added 2 commits July 13, 2025 12:37
OSSRH is now deprecated. This migrates to maven central repository.
Automatic analysis in now activated on the project.
@mivek mivek force-pushed the build/maven-central branch from 53aad13 to de5415e Compare July 13, 2025 10:37
@mivek mivek requested a review from Copilot July 13, 2025 10:44
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR migrates the project from the deprecated OSSRH staging to the Maven Central publishing plugin and updates related configurations.

  • Replace the Maven Nexus staging plugin and OSSRH IDs with the central-publishing-maven-plugin and “central” IDs
  • Add <name> elements to all submodule POMs for clearer module identification
  • Update .settings.xml and GitHub Actions workflows to use new Maven Central credentials and remove legacy Sonar workflows

Reviewed Changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.

Show a summary per file
File Description
pom.xml Update distributionManagement IDs and swap nexus-staging-maven-plugin for central-publishing-maven-plugin
metarParser-spi/pom.xml Add <name> element
metarParser-services/pom.xml Add <name> element
metarParser-parsers/pom.xml Add <name> element
metarParser-entities/pom.xml Add <name> element
metarParser-commons/pom.xml Add <name> element
.settings.xml Change server ID/env vars for central, remove old OSSRH profile
.github/workflows/sonar-master.yml Remove legacy SonarCloud CI workflow
.github/workflows/release.yml Update Maven Central server ID and credential environment variables
.github/workflows/build_sonar_verify.yml Remove legacy Sonar verify workflow
Comments suppressed due to low confidence (4)

pom.xml:341

  • Consider specifying an explicit in the central-publishing-maven-plugin configuration to ensure it always targets the correct Sonatype endpoint, even if the plugin's defaults change in a future version.
                      <groupId>org.sonatype.central</groupId>

.settings.xml:6

  • The old OSSRH profile was removed—ensure that any local or CI builds relying on that profile are updated or documented, so the new default server credentials are applied consistently.
            <id>central</id>

@mivek mivek merged commit f54b54d into main Jul 13, 2025
11 checks passed
@mivek mivek deleted the build/maven-central branch July 13, 2025 10:55
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 2.20.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants