diff --git a/.github/workflows/build-report.yml b/.github/workflows/build-report.yml index 691236c..9c2f338 100644 --- a/.github/workflows/build-report.yml +++ b/.github/workflows/build-report.yml @@ -21,6 +21,11 @@ on: types: - completed +permissions: + actions: read # Allows reading workflow run information + statuses: write # Required if the action updates commit statuses + checks: write # Required if it updates GitHub Checks API + jobs: build: runs-on: ubuntu-latest diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index ff6362e..3dd4077 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -43,7 +43,7 @@ jobs: steps: # Pinned 1.0.0 version - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: path: plugin submodules: 'recursive' @@ -58,13 +58,13 @@ jobs: e2e-test: - '**/e2e-test/**' - name: Checkout e2e test repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: cdapio/cdap-e2e-tests path: e2e - name: Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ github.workflow }}-${{ hashFiles('**/pom.xml') }} @@ -92,14 +92,14 @@ jobs: ORACLE_PROJECT_ID : ${{ steps.secrets.outputs.ORACLE_PROJECT_ID }} - name: Upload report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: Cucumber report path: ./**/target/cucumber-reports - name: Upload debug files - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: Debug files diff --git a/pom.xml b/pom.xml index 4e0cffe..4e542f7 100644 --- a/pom.xml +++ b/pom.xml @@ -66,19 +66,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 @@ -88,17 +78,6 @@ - - - sonatype.release - https://oss.sonatype.org/service/local/staging/deploy/maven2 - - - sonatype.snapshots - https://oss.sonatype.org/content/repositories/snapshots - - - @@ -385,6 +364,86 @@ + + release + + + + org.sonatype.central + central-publishing-maven-plugin + 0.8.0 + true + + sonatype.release + false + true + + + + + org.apache.maven.plugins + maven-source-plugin + 2.2.1 + + true + + + + attach-sources + package + + jar-no-fork + + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.9.1 + + -Xdoclint:none + false + + http://download.oracle.com/javase/${jee.version}/docs/api/ + + ${project.name} ${project.version} + + CDAP Licensed under the Apache License, Version 2.0.]]> + + + + + attach-javadoc + package + + jar + + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + ${gpg.passphrase} + ${gpg.useagent} + + + + + sign + + + + + + + e2e-tests