diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml
index 32c5f4c0..749de647 100644
--- a/.github/workflows/snapshot.yml
+++ b/.github/workflows/snapshot.yml
@@ -30,7 +30,7 @@ jobs:
server-password: MAVEN_PASSWORD
- name: Build & Publish to Maven Central
- run: mvn -U -B clean deploy # -U: force updates for dependencies, -B: no user input
+ run: mvn -U -B clean deploy -P snapshot # -U: force updates for dependencies, -B: no user input
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
diff --git a/pom.xml b/pom.xml
index e9bfcb00..758a1895 100644
--- a/pom.xml
+++ b/pom.xml
@@ -193,36 +193,24 @@
org.sonatype.central
central-publishing-maven-plugin
- 0.8.0
- true
-
- central
- true
- true
- published
-
org.apache.maven.plugins
maven-gpg-plugin
- 3.1.0
-
-
- sign-artifacts
- verify
-
- sign
-
-
-
-
-
- --pinentry-mode
- loopback
-
-
-
-
+
+
+ maven-release-plugin
+
+
+
+
+
+ snapshot
+
+
+
+ org.sonatype.central
+ central-publishing-maven-plugin
@@ -232,6 +220,51 @@
+
+ org.sonatype.central
+ central-publishing-maven-plugin
+ 0.8.0
+ true
+
+ central
+ true
+ published
+
+
+
+
+ org.apache.maven.plugins
+ maven-gpg-plugin
+ 3.1.0
+
+
+ sign-artifacts
+ verify
+
+ sign
+
+
+
+
+
+ --pinentry-mode
+ loopback
+
+
+
+
+
+
+
+ maven-release-plugin
+ 3.0.1
+
+
+ mvnw
+
+
+
+
maven-compiler-plugin
3.12.1
@@ -286,16 +319,6 @@
-
- maven-release-plugin
- 3.0.1
-
-
- mvnw
-
-
-
-
org.jacoco
jacoco-maven-plugin