diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index ec2c85d4f5b..1aa7cfc3bf4 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -32,16 +32,16 @@ jobs:
with:
distribution: temurin
java-version: 17
- server-id: 'sonatype-nexus-staging'
- server-username: 'MAVEN_DEPLOY_USERNAME'
- server-password: 'MAVEN_DEPLOY_TOKEN'
+ server-id: 'central'
+ server-username: 'CENTRAL_PORTAL_USERNAME'
+ server-password: 'CENTRAL_PORTAL_PWD'
gpg-private-key: ${{secrets.MAVEN_GPG_PRIVATE_KEY}}
gpg-passphrase: 'MAVEN_GPG_PASSPHRASE'
- name: Maven release ${{steps.metadata.outputs.current-version}}
env:
- MAVEN_DEPLOY_USERNAME: ${{secrets.MAVEN_DEPLOY_USERNAME}}
- MAVEN_DEPLOY_TOKEN: ${{secrets.MAVEN_DEPLOY_TOKEN}}
+ CENTRAL_PORTAL_USERNAME: ${{secrets.CENTRAL_PORTAL_USERNAME}}
+ CENTRAL_PORTAL_PWD: ${{secrets.CENTRAL_PORTAL_PWD}}
MAVEN_GPG_PASSPHRASE: ${{secrets.MAVEN_GPG_PASSPHRASE}}
run: |
export MAVEN_OPTS="--add-opens=java.base/java.util=ALL-UNNAMED"
diff --git a/bom/pom.xml b/bom/pom.xml
index bc04729683f..8fa922f8dbd 100644
--- a/bom/pom.xml
+++ b/bom/pom.xml
@@ -30,15 +30,14 @@
- 6.0.Final
+ 7.0.Alpha2
3.2.7
1.7.0
https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/
https://repository.jboss.org/nexus/content/repositories/snapshots/
- https://oss.sonatype.org/service/local/staging/deploy/maven2
- https://oss.sonatype.org/content/repositories/snapshots
+ https://central.sonatype.com/api/v1/publisher
@@ -166,16 +165,16 @@
- org.sonatype.plugins
- nexus-staging-maven-plugin
- ${nexus.staging.plugin.version}
+ org.sonatype.central
+ central-publishing-maven-plugin
+ 0.7.0
true
- https://oss.sonatype.org/
- sonatype-nexus-staging
- 15
-
- true
+ central
+
+ true
+
+ published
@@ -204,9 +203,9 @@
-
+
- ossrh-release-repo
+ central-portal-release-repo
false
@@ -214,15 +213,10 @@
-
- sonatype-nexus-snapshots
- Sonatype Nexus Snapshots
- ${ossrh.snapshots.repo.url}
-
- sonatype-nexus-staging
- Nexus Release Repository
- ${ossrh.releases.repo.url}
+ central-portal-staging
+ Central Portal Repository
+ ${central.portal.releases.repo.url}
diff --git a/pom.xml b/pom.xml
index 2b23667afed..d03d85d0705 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,7 +10,7 @@
org.jboss.weld
weld-parent
- 53
+ 54
@@ -85,7 +85,7 @@
4.9.3.0
4.9.3
7.9.0
- 7.0.Alpha1
+ 7.0.Alpha2
1.0.3.Final
5.0.1.Final