From 186d5bbcd52395e40ad9c8e881afaae53d7e1e3d Mon Sep 17 00:00:00 2001 From: ritwiksahani Date: Tue, 15 Jul 2025 12:24:06 +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 22ecf9f31f7d3af2950f587ffa2450779e610315 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 4e0cffe..1afa363 100644 --- a/pom.xml +++ b/pom.xml @@ -344,6 +344,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 ac1dc80cd44e4fbad8b52bceacf66948e9f3aa5d 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 1afa363..30f0df6 100644 --- a/pom.xml +++ b/pom.xml @@ -344,91 +344,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 - - @@ -470,6 +385,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 c5a3540bdb16f722058ad51de534ed5644768f65 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 | 35 +++++++---------------------------- 1 file changed, 7 insertions(+), 28 deletions(-) diff --git a/pom.xml b/pom.xml index 30f0df6..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 - - - @@ -390,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