From 440d8eac40edd34edd7f68d1e7f6f5acdc30ccce Mon Sep 17 00:00:00 2001 From: Patrik Korytar Date: Tue, 6 Oct 2026 09:50:52 +0200 Subject: [PATCH] NCL-10036 Remove snapshot URL workaround --- .github/workflows/maven-release.yml | 2 +- .github/workflows/maven-snapshot.yml | 3 +-- README.md | 6 +++++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml index 4bd4d37..fbde6b5 100644 --- a/.github/workflows/maven-release.yml +++ b/.github/workflows/maven-release.yml @@ -42,7 +42,7 @@ on: description: "Overrides for JBoss-Parent Central Profile" required: false type: string - # First two need to passed as arguments to the release plugin: + # First two need to be passed as arguments to the release plugin: # central.serverId : We use 'central-publisher' not 'central' # central.autoPublish: Set to false (the plugin default) # releaseProfiles: Use the central profile not jboss-release diff --git a/.github/workflows/maven-snapshot.yml b/.github/workflows/maven-snapshot.yml index 0fc164a..5c244ba 100644 --- a/.github/workflows/maven-snapshot.yml +++ b/.github/workflows/maven-snapshot.yml @@ -33,9 +33,8 @@ on: required: false type: string # central.serverId : We use 'central-publisher' not 'central' - # central-sonatype.url: Due to https://github.com/jboss/jboss-parent-pom/issues/540 we need to override the URL # This also activates the central-release profile to use the correct plugins and skips gpg tagging. - default: '-Dcentral.serverId=central-publisher -Dcentral.sonatype.url=https://central.sonatype.com/repository/maven-snapshots -Pcentral-release -Dgpg.skip' + default: '-Dcentral.serverId=central-publisher -Pcentral-release -Dgpg.skip' secrets: SONATYPE_USERNAME: diff --git a/README.md b/README.md index d41d3a1..c0d3d48 100644 --- a/README.md +++ b/README.md @@ -232,6 +232,8 @@ jobs: ## Maven Release (`maven-release.yml`) Workflow for performing a release to Maven Central (Sonatype). This can be manually run by going to the GitHub Actions tab and selecting the workflow. +Releases <= v0.0.24 are compatible with `jboss-parent` <= v53. v0.0.25 upward require `jboss-parent` v54+. + - **Tasks**: Configures Git, sets up Java and GPG, performs `release:prepare` and `release:perform`, and pushes changes/tags back to the repository. The next version is set by bumping the patch version by 1 and putting the @@ -249,6 +251,8 @@ Note that the `jboss-parent` overrides the release-plugin `tagNameFormat` to use ## Maven Snapshot (`maven-snapshot.yml`) Workflow for deploying snapshot versions to Maven Central. Gated to the upstream repo so forks don't attempt to publish +Releases <= v0.0.24 are compatible with `jboss-parent` <= v53. v0.0.25 upward require `jboss-parent` v54+. + - **Tasks**: Deploy our SNAPSHOT version of our project to Maven Central Optionally builds and pushes a Quarkus Jib image to Quay.io. - **Inputs**: The following inputs are available to be overridden @@ -257,7 +261,7 @@ Workflow for deploying snapshot versions to Maven Central. Gated to the upstream * snapshot_deploy_command (default `mvn -B -V deploy`) * fetch_all_commits (default: `false`) * quarkus_jib_image ( default: `false`) - * jboss_parent_override: This is used to override variables from the jboss-parent (default `-Dcentral.serverId=central-publisher -Dcentral.sonatype.url=https://central.sonatype.com/repository/maven-snapshots -Pcentral-release -Dgpg.skip`) + * jboss_parent_override: This is used to override variables from the jboss-parent (default `-Dcentral.serverId=central-publisher -Pcentral-release -Dgpg.skip`) - **Permissions**: `none` ## Gradle Snapshot (`gradle-snapshot.yml`)