diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cc59869..9b248ce 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,7 +41,7 @@ jobs: with: ref: ${{ github.event.workflow_run.head_sha }} - name: Cache - uses: actions/cache@v2.1.3 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ github.workflow }}-${{ hashFiles('**/pom.xml') }} diff --git a/pom.xml b/pom.xml index f0bc810..e7f0a51 100644 --- a/pom.xml +++ b/pom.xml @@ -57,16 +57,6 @@ HEAD - - - sonatype.release - https://oss.sonatype.org/service/local/staging/deploy/maven2 - - - sonatype.snapshots - https://oss.sonatype.org/content/repositories/snapshots - - https://issues.cask.co/browse/CDAP @@ -86,19 +76,9 @@ - - sonatype - https://oss.sonatype.org/content/groups/public - - true - - - false - - sonatype-snapshots - https://oss.sonatype.org/content/repositories/snapshots + https://central.sonatype.com/repository/maven-snapshots false @@ -367,13 +347,14 @@ - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.2 + org.sonatype.central + central-publishing-maven-plugin + 0.8.0 true - https://oss.sonatype.org - sonatype.release + sonatype.release + false + true @@ -408,10 +389,6 @@ org.apache.maven.plugins maven-gpg-plugin - - org.sonatype.plugins - nexus-staging-maven-plugin -