diff --git a/.github/workflows/deploy-release.yml b/.github/workflows/deploy-release.yml
index ad4682b..f6500b8 100644
--- a/.github/workflows/deploy-release.yml
+++ b/.github/workflows/deploy-release.yml
@@ -13,7 +13,7 @@ jobs:
with:
java-version: 17
distribution: 'temurin'
- server-id: sonatype-nexus-staging
+ server-id: central
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.GPG_KEY }}
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 37eed43..9b34d68 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -48,7 +48,7 @@ jobs:
with:
java-version: 17
distribution: 'temurin'
- server-id: sonatype-nexus-snapshots
+ server-id: central
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Run maven deploy
diff --git a/pom.xml b/pom.xml
index 7b133b1..63ce11b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -42,6 +42,7 @@
1.9.1
3.0
2.9.1
+ 0.9.0
${project.artifactId}
Library that provides a JUnit rule for setting up unit test using an embedded in-memory database (H2)
@@ -76,13 +77,13 @@
- sonatype-nexus-snapshots
- https://oss.sonatype.org/content/repositories/snapshots
+ central
+ https://central.sonatype.com
- sonatype-nexus-staging
- Nexus Release Repository
- https://oss.sonatype.org/service/local/staging/deploy/maven2/
+ central
+ Maven Central
+ https://central.sonatype.com
@@ -111,6 +112,16 @@
+ org.sonatype.central
+ central-publishing-maven-plugin
+ true
+
+ central
+ true
+ published
+
+
+
@@ -390,6 +401,11 @@
coveralls-maven-plugin
${coveralls-maven-plugin.version}
+
+ org.sonatype.central
+ central-publishing-maven-plugin
+ ${central-publishing-maven-plugin.version}
+
@@ -441,6 +457,16 @@
+
+ org.sonatype.central
+ central-publishing-maven-plugin
+ true
+
+ central
+ true
+ validated
+
+