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
4 changes: 2 additions & 2 deletions .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ on:
default: false

jboss_parent_override:
description: "Overrides for Jboss-Parent Central releasing"
description: "Overrides for JBoss-Parent Central Profile"
required: false
type: string
# central.serverId : We use 'central-publisher' not 'central'
# central.autoPublsh: Set to false (the plugin default)
# central.autoPublish: Set to false (the plugin default)
# releaseProfile: Use the central profile not jboss-release
# signTag: Reset back to maven-release-plugin default
default: '-Dcentral.serverId=central-publisher -Dcentral.autoPublish=false -DreleaseProfile=central-release -DsignTag=false'
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/maven-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ on:
required: false
type: boolean
default: false
jboss_parent_override:
description: "Overrides for JBoss-Parent Central Profile"
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'

secrets:
SONATYPE_USERNAME:
Expand Down Expand Up @@ -86,4 +94,4 @@ jobs:
MAVEN_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
QUARKUS_CONTAINER_IMAGE_USERNAME: ${{ secrets.QUAY_DEVEL_USERNAME }}
QUARKUS_CONTAINER_IMAGE_PASSWORD: ${{ secrets.QUAY_DEVEL_PASSWORD }}
INPUTS_SNAPSHOT_DEPLOY_COMMAND: ${{ inputs.snapshot_deploy_command }}
INPUTS_SNAPSHOT_DEPLOY_COMMAND: ${{ inputs.snapshot_deploy_command }} ${{ inputs.jboss_parent_override }}
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,13 @@ Workflow for deploying snapshot versions to Maven Central.

- **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
* project_name : **Must** be set by te caller.
* java_version (default: `21`)
* 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`)


## Maven Set Version (`maven-set-version.yml`)
Expand Down