From feb841fea7b594afc6df57192e121ed45260923d Mon Sep 17 00:00:00 2001 From: ritwiksahani Date: Tue, 15 Jul 2025 12:31:19 +0530 Subject: [PATCH 1/4] Add permissions for build-report --- .github/workflows/build-report.yml | 5 +++++ 1 file changed, 5 insertions(+) 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 From 4211ab7908c8ad8f03474f03ab0c4449add81d33 Mon Sep 17 00:00:00 2001 From: itsankit-google Date: Mon, 9 Jun 2025 18:28:47 +0000 Subject: [PATCH 2/4] add maven release plugins --- pom.xml | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) diff --git a/pom.xml b/pom.xml index 64bf346..3c6c352 100644 --- a/pom.xml +++ b/pom.xml @@ -323,6 +323,91 @@ + + + + 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/7/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 + + + + + + org.apache.maven.plugins + maven-release-plugin + 2.5.3 + + v${releaseVersion} + v@{project.version} + true + + releases + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.14 + true + + https://oss.sonatype.org + sonatype.release + + From 87d733399ed8f74f452192f1be627f46a3e87114 Mon Sep 17 00:00:00 2001 From: itsankit-google Date: Tue, 10 Jun 2025 04:14:07 +0000 Subject: [PATCH 3/4] fix build --- .github/workflows/e2e.yml | 10 +-- pom.xml | 165 ++++++++++++++++++-------------------- 2 files changed, 85 insertions(+), 90 deletions(-) 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 3c6c352..7ee2d86 100644 --- a/pom.xml +++ b/pom.xml @@ -323,91 +323,6 @@ - - - - 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/7/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 - - - - - - org.apache.maven.plugins - maven-release-plugin - 2.5.3 - - v${releaseVersion} - v@{project.version} - true - - releases - - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.14 - true - - https://oss.sonatype.org - sonatype.release - - @@ -449,6 +364,86 @@ + + release + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.14 + true + + https://oss.sonatype.org + sonatype.release + 655dc88dc770c3 + + + + + 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 From e663ac0765800b4fd6336595782d597db085ace2 Mon Sep 17 00:00:00 2001 From: sahusanket Date: Wed, 9 Jul 2025 21:09:17 +0530 Subject: [PATCH 4/4] Ossrh migration for cdf develop --- pom.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index 7ee2d86..a41e81a 100644 --- a/pom.xml +++ b/pom.xml @@ -369,14 +369,14 @@ - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.14 + org.sonatype.central + central-publishing-maven-plugin + 0.8.0 true - https://oss.sonatype.org - sonatype.release - 655dc88dc770c3 + sonatype.release + false + true