diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1fb40e2..56e5cc7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,8 +10,7 @@ before_script: - export CI_JOB_TIMESTAMP="-Dbuild.timestamp=$(date --utc --iso-8601=seconds)" cache: -# Change the cache key if major dependencies change - key: constant151 + key: "$CI_JOB_NAME" paths: - .m2/repository diff --git a/.mvn/settings-maven-central.xml b/.mvn/settings-maven-central.xml index 30b15c3..7fc46fe 100644 --- a/.mvn/settings-maven-central.xml +++ b/.mvn/settings-maven-central.xml @@ -5,7 +5,7 @@ central ${MVN_CENTRAL_USER} - ${MAVEN_CENTRAL_TOKEN} + ${MVN_CENTRAL_TOKEN} diff --git a/pom.xml b/pom.xml index 12d7e68..7214bfe 100644 --- a/pom.xml +++ b/pom.xml @@ -202,7 +202,7 @@ org.apache.maven.plugins maven-gpg-plugin 3.2.8 - + @@ -612,6 +612,12 @@ release-sign-artifacts + + + performRelease + true + + @@ -630,30 +636,6 @@ - - release-central - - - - org.apache.maven.plugins - maven-gpg-plugin - - - sign-artifacts - verify - - sign - - - - - - org.sonatype.central - central-publishing-maven-plugin - - - - owasp-check