diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml
index 374cd23..df58698 100644
--- a/.github/workflows/create-release.yml
+++ b/.github/workflows/create-release.yml
@@ -12,8 +12,6 @@ jobs:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
GPG_KEY: ${{ secrets.GPG_KEY }}
- MVN_REPO_SERVER_USERNAME: ${{ secrets.MVN_REPO_SERVER_USERNAME }}
- MVN_REPO_SERVER_PASSWORD: ${{ secrets.MVN_REPO_SERVER_PASSWORD }}
- MVN_REPO_SERVER_ID: ${{ secrets.MVN_REPO_SERVER_ID }}
- MVN_REPO_SERVER_RELEASE_URL: ${{ secrets.MVN_REPO_SERVER_RELEASE_URL }}
-
+ MVN_REPO_RELEASE_SERVER_ID: ${{ secrets.MVN_REPO_RELEASE_SERVER_ID }}
+ MVN_REPO_RELEASE_SERVER_USERNAME: ${{ secrets.MVN_REPO_RELEASE_SERVER_USERNAME }}
+ MVN_REPO_RELEASE_SERVER_PASSWORD: ${{ secrets.MVN_REPO_RELEASE_SERVER_PASSWORD }}
diff --git a/.github/workflows/deploy-snapshot.yml b/.github/workflows/deploy-snapshot.yml
index 450dda1..9f9e20f 100644
--- a/.github/workflows/deploy-snapshot.yml
+++ b/.github/workflows/deploy-snapshot.yml
@@ -2,16 +2,15 @@ name: (📡) Deploy Snapshot
on:
push:
- branches:
- - main
+ branches:
+ - "main"
workflow_dispatch:
jobs:
deploy:
uses: sitepark/github-project-workflow/.github/workflows/maven-deploy-snapshot.yml@release/1.x
secrets:
- MVN_REPO_SERVER_USERNAME: ${{ secrets.MVN_REPO_SERVER_USERNAME }}
- MVN_REPO_SERVER_PASSWORD: ${{ secrets.MVN_REPO_SERVER_PASSWORD }}
- MVN_REPO_SERVER_ID: ${{ secrets.MVN_REPO_SERVER_ID }}
- MVN_REPO_SERVER_SNAPSHOT_URL: ${{ secrets.MVN_REPO_SERVER_SNAPSHOT_URL }}
-
+ MVN_REPO_SNAPSHOT_SERVER_ID: ${{ secrets.MVN_REPO_SNAPSHOT_SERVER_ID }}
+ MVN_REPO_SNAPSHOT_SERVER_USERNAME: ${{ secrets.MVN_REPO_SNAPSHOT_SERVER_USERNAME }}
+ MVN_REPO_SNAPSHOT_SERVER_PASSWORD: ${{ secrets.MVN_REPO_SNAPSHOT_SERVER_PASSWORD }}
+ MVN_REPO_SNAPSHOT_SERVER_URL: ${{ secrets.MVN_REPO_SNAPSHOT_SERVER_URL }}
diff --git a/pom.xml b/pom.xml
index 425cb02..641d83b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -184,6 +184,25 @@
@{project.version}
+
+ org.codehaus.mojo
+ build-helper-maven-plugin
+ 1.5
+
+
+ add-test-source
+
+ add-test-source
+
+ process-resources
+
+
+
+
+
+
+
+
org.apache.maven.plugins
maven-enforcer-plugin
@@ -325,7 +344,8 @@
-
+
com.github.spotbugs
spotbugs
@@ -369,18 +389,18 @@
- nexus-staging-release
+ publish-release
- org.sonatype.plugins
- nexus-staging-maven-plugin
- 1.6.13
+ org.sonatype.central
+ central-publishing-maven-plugin
+ 0.5.0
true
- ossrh
- https://s01.oss.sonatype.org/
- true
+ central
+ true
+ published