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