Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/maven-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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`)
Expand Down
Loading