diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 7ac022d..9c73fb7 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -21,8 +21,16 @@ jobs:
with:
java-version: '17'
distribution: 'adopt'
+ cache: maven
+ server-id: github
+ server-username: MAVEN_USERNAME
+ server-password: MAVEN_TOKEN
- name: "Package"
run: mvn -B package --file pom.xml -Dgpg.skip
+ env:
+ MAVEN_USERNAME: ${{ github.repository_owner }}
+ MAVEN_TOKEN: ${{secrets.GITHUB_TOKEN}}
+ MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
- name: "Target Stage"
run: mkdir staging && cp */target/*.jar staging
- name: "Upload artifact"
diff --git a/pom.xml b/pom.xml
index 928dba7..a1b6f35 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,7 +10,7 @@
UTF-8
UTF-8
- 4.1.4
+ 4.1.5
1.2.1
1.5.12
@@ -91,12 +91,6 @@
https://mvn.lumine.io/repository/maven-public/
-
- github
- Github Packages for configured
- https://maven.pkg.github.com/CarmJos/configured
-
-