diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 6875ec1..195215f 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -23,7 +23,7 @@ jobs:
gpg-private-key: ${{ secrets.COM_SONATYPE_CENTRAL_POLARION_OPENSOURCE_GPG_PRIVATE_KEY }}
- name: Prepare Cache
id: prepare-cache
- uses: actions/cache@v4
+ uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
with:
path: |
/home/runner/.m2
@@ -108,14 +108,14 @@ jobs:
gpg-private-key: ${{ secrets.COM_SONATYPE_CENTRAL_POLARION_OPENSOURCE_GPG_PRIVATE_KEY }}
- name: Restore Cache
id: restore-cache
- uses: actions/cache@v4
+ uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
with:
path: |
/home/runner/.m2
/home/runner/work
key: ${{ needs.build.outputs.cache_key }}
- name: Publish to Maven Central
- run: mvn --batch-mode -DskipTests=true -Dmaven.javadoc.skip=true package -P gpg-sign -P nexus-staging
+ run: mvn --batch-mode -DskipTests=true -Dmaven.javadoc.skip=true deploy -P gpg-sign -P nexus-staging
# deploy to GitHub Packages
deploy-github-packages:
@@ -136,7 +136,7 @@ jobs:
gpg-private-key: ${{ secrets.COM_SONATYPE_CENTRAL_POLARION_OPENSOURCE_GPG_PRIVATE_KEY }}
- name: Cache
id: cache
- uses: actions/cache@v4
+ uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
with:
path: |
/home/runner/.m2
diff --git a/pom.xml b/pom.xml
index a12bcc3..f3e563d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -102,20 +102,6 @@
org.apache.maven.plugins
maven-source-plugin
-
-
- io.swagger.core.v3
- swagger-maven-plugin
-
- JSON
-
- ch.sbb.polarion.extension.generic.rest.controller
- ch.sbb.polarion.extension.generic.rest.model
- ch.sbb.polarion.extension.api.extender.rest.controller
- ch.sbb.polarion.extension.api.extender.rest.model
-
-
-