diff --git a/pom.xml b/pom.xml
index 47a203f..77d0b7f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -17,7 +17,7 @@ SPDX-License-Identifier: LGPL-2.0-or-later
com.github.com-github-javabdd
com.github.javabdd
- 9.0.1-SNAPSHOT
+ 10.0.1-SNAPSHOT
jar
JavaBDD
@@ -140,14 +140,14 @@ SPDX-License-Identifier: LGPL-2.0-or-later
- org.sonatype.plugins
- nexus-staging-maven-plugin
- 1.6.13
+ org.sonatype.central
+ central-publishing-maven-plugin
+ 0.8.0
true
- ossrh
- https://oss.sonatype.org/
- true
+ central
+ true
+ published
@@ -208,17 +208,6 @@ SPDX-License-Identifier: LGPL-2.0-or-later
-
-
- ossrh
- https://oss.sonatype.org/content/repositories/snapshots
-
-
- ossrh
- https://oss.sonatype.org/service/local/staging/deploy/maven2/
-
-
-
scm:git:git://github.com/dexecutor/dependent-tasks-executor.git
scm:git:git@github.com:dexecutor/dexecutor.git
diff --git a/release-steps.md b/release-steps.md
index b61f450..e995fcc 100644
--- a/release-steps.md
+++ b/release-steps.md
@@ -2,8 +2,8 @@
## General information for publishing to Maven Central
-* https://central.sonatype.org/register/central-portal/
-* https://central.sonatype.org/publish/publish-guide/
+* https://central.sonatype.org/publish/publish-portal-guide/
+* https://central.sonatype.org/publish/publish-portal-maven/
## Steps for (mostly) one-time setup
@@ -15,45 +15,45 @@
name = FirstName LastName
email = EmailAddress
```
- By fulling in your `FirstName` and `LastName` and your GitHub `EmailAddress`.
+ By filling in your `FirstName` and `LastName` and your GitHub `EmailAddress`.
* Create a GitHub personal access token, at https://github.com/settings/tokens.
Use it as a password.
It expires after some time, so create a new one if needed.
-* Create a Sonatype personal access token, at https://oss.sonatype.org.
- Log in and go to your profile.
- Instead of *Summary*, select *User Token*.
- Create a user token.
+* Create a Sonatype publishing token, at https://central.sonatype.com/account.
+ Log in and go to https://central.sonatype.com/account.
+ Click *Generate User Token*.
+ Follow the steps, and note the configuration snippet that is generated, which is to be used in a later step.
* Create a local GPG key.
-* Configure "ossrh" server credentials in Maven settings.
+* Configure GPG key and "central" server credentials in Maven settings.
Create/edit `$HOME/.m2/settings.xml`, to have the following settings:
```xml
-
+
- ossrh
+ central
true
- GPG_KEY
+ GPG_KEY_PASSPHRASE
-
+
- ossrh
- SONATYPE_USERNAME
- SONATYPE_TOKEN
+ central
+ SONATYPE_PUBLISHING_USERNAME
+ SONATYPE_PUBLISHING_TOKEN
```
- Fill in your `GPG_KEY`, `SONATYPE_USERNAME` and `SONATYPE_TOKEN`.
+ Fill in your `GPG_KEY_PASSPHRASE`, `SONATYPE_PUBLISHING_USERNAME` and `SONATYPE_PUBLISHING_TOKEN`.
## Steps for each release