From 8f8f0c2d3e4e3a1ac41239e5e8c1d737240728e4 Mon Sep 17 00:00:00 2001 From: ashanmugavel Date: Tue, 18 Jun 2024 09:05:08 +0200 Subject: [PATCH 1/7] chore[xxx]: fix sonar --- .github/workflows/pull-request_backend.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-request_backend.yml b/.github/workflows/pull-request_backend.yml index f340361a75..4cb647931e 100644 --- a/.github/workflows/pull-request_backend.yml +++ b/.github/workflows/pull-request_backend.yml @@ -120,7 +120,7 @@ jobs: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN_BACKEND }} SONAR_ORGANIZATION: ${{ vars.SONAR_ORGANIZATION }} SONAR_PROJECT_KEY: ${{ vars.SONAR_PROJECT_KEY_BACKEND }} - run: mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn --batch-mode sonar:sonar -Dsonar.coverage.jacoco.xmlReportPaths=/home/runner/work/tx-traceability-foss/tx-traceability-foss/tx-coverage/target/site/jacoco-aggregate/jacoco.xml -Dsonar.projectKey=${{ vars.SONAR_PROJECT_KEY_BACKEND }} -Dsonar.organization=${{ vars.SONAR_ORGANIZATION }} + run: mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn --batch-mode sonar:sonar -Dsonar.coverage.jacoco.xmlReportPaths=/home/runner/work/traceability-foss/tx-traceability-foss/tx-coverage/target/site/jacoco-aggregate/jacoco.xml -Dsonar.projectKey=${{ vars.SONAR_PROJECT_KEY_BACKEND }} -Dsonar.organization=${{ vars.SONAR_ORGANIZATION }} Publish-docker-image: needs: [ "Test-and-Sonar" ] From dc2e7ba4c580cbbeb0dedbf6660f30bdc040b2d1 Mon Sep 17 00:00:00 2001 From: ashanmugavel Date: Tue, 18 Jun 2024 10:05:51 +0200 Subject: [PATCH 2/7] chore[xxx]: fix sonar --- .github/workflows/pull-request_backend.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-request_backend.yml b/.github/workflows/pull-request_backend.yml index 4cb647931e..510a591fc2 100644 --- a/.github/workflows/pull-request_backend.yml +++ b/.github/workflows/pull-request_backend.yml @@ -120,7 +120,7 @@ jobs: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN_BACKEND }} SONAR_ORGANIZATION: ${{ vars.SONAR_ORGANIZATION }} SONAR_PROJECT_KEY: ${{ vars.SONAR_PROJECT_KEY_BACKEND }} - run: mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn --batch-mode sonar:sonar -Dsonar.coverage.jacoco.xmlReportPaths=/home/runner/work/traceability-foss/tx-traceability-foss/tx-coverage/target/site/jacoco-aggregate/jacoco.xml -Dsonar.projectKey=${{ vars.SONAR_PROJECT_KEY_BACKEND }} -Dsonar.organization=${{ vars.SONAR_ORGANIZATION }} + run: mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn --batch-mode sonar:sonar -Dsonar.coverage.jacoco.xmlReportPaths=/home/runner/work/tx-traceability-foss/tx-traceability-foss/tx-coverage/target/site/jacoco-aggregate/jacoco.xml -Dsonar.projectKey=eclipse-tractusx -Dsonar.organization=eclipse-tractusx_traceability-foss-backend Publish-docker-image: needs: [ "Test-and-Sonar" ] From e4c6d3bcce18d3727999930944ae3c19ecb45c44 Mon Sep 17 00:00:00 2001 From: ashanmugavel Date: Tue, 18 Jun 2024 10:39:06 +0200 Subject: [PATCH 3/7] chore[xxx]: fix sonar --- .github/workflows/pull-request_backend.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-request_backend.yml b/.github/workflows/pull-request_backend.yml index 510a591fc2..6f8fb27a58 100644 --- a/.github/workflows/pull-request_backend.yml +++ b/.github/workflows/pull-request_backend.yml @@ -120,7 +120,7 @@ jobs: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN_BACKEND }} SONAR_ORGANIZATION: ${{ vars.SONAR_ORGANIZATION }} SONAR_PROJECT_KEY: ${{ vars.SONAR_PROJECT_KEY_BACKEND }} - run: mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn --batch-mode sonar:sonar -Dsonar.coverage.jacoco.xmlReportPaths=/home/runner/work/tx-traceability-foss/tx-traceability-foss/tx-coverage/target/site/jacoco-aggregate/jacoco.xml -Dsonar.projectKey=eclipse-tractusx -Dsonar.organization=eclipse-tractusx_traceability-foss-backend + run: mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn --batch-mode sonar:sonar -Dsonar.coverage.jacoco.xmlReportPaths=/home/runner/work/tx-traceability-foss/tx-traceability-foss/tx-coverage/target/site/jacoco-aggregate/jacoco.xml -Dsonar.projectKey=eclipse-tractusx_traceability-foss-backend -Dsonar.organization=eclipse-tractusx Publish-docker-image: needs: [ "Test-and-Sonar" ] From a202148ce910fd3754a6b1e7f414bf8e06e2aa64 Mon Sep 17 00:00:00 2001 From: ashanmugavel Date: Tue, 18 Jun 2024 11:16:56 +0200 Subject: [PATCH 4/7] chore[xxx]: fix sonar --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 2345b1d748..461d3d7dc6 100644 --- a/pom.xml +++ b/pom.xml @@ -57,7 +57,7 @@ SPDX-License-Identifier: Apache-2.0 9.0.9 4.8.5.0 3.5.0 - 3.10.0.2594 + 4.0.0.4121 3.2.5 3.2.5 4.0.0-M11 From 7db445d575482ca2f8e6bc9beaa6e5595e6eeaad Mon Sep 17 00:00:00 2001 From: ashanmugavel Date: Tue, 18 Jun 2024 11:23:49 +0200 Subject: [PATCH 5/7] chore[xxx]: fix sonar --- .github/workflows/pull-request_backend.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull-request_backend.yml b/.github/workflows/pull-request_backend.yml index 6f8fb27a58..513288cedf 100644 --- a/.github/workflows/pull-request_backend.yml +++ b/.github/workflows/pull-request_backend.yml @@ -118,8 +118,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any SONAR_TOKEN: ${{ secrets.SONAR_TOKEN_BACKEND }} - SONAR_ORGANIZATION: ${{ vars.SONAR_ORGANIZATION }} - SONAR_PROJECT_KEY: ${{ vars.SONAR_PROJECT_KEY_BACKEND }} + SONAR_ORGANIZATION: eclipse-tractusx + SONAR_PROJECT_KEY: eclipse-tractusx_traceability-foss-backend run: mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn --batch-mode sonar:sonar -Dsonar.coverage.jacoco.xmlReportPaths=/home/runner/work/tx-traceability-foss/tx-traceability-foss/tx-coverage/target/site/jacoco-aggregate/jacoco.xml -Dsonar.projectKey=eclipse-tractusx_traceability-foss-backend -Dsonar.organization=eclipse-tractusx Publish-docker-image: From b33d708cbfd9e5fd5e5ef98831c0d7621c8bc381 Mon Sep 17 00:00:00 2001 From: ashanmugavel Date: Tue, 18 Jun 2024 13:22:49 +0200 Subject: [PATCH 6/7] chore[xxx]: fixed sonar --- .github/workflows/pull-request_backend.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull-request_backend.yml b/.github/workflows/pull-request_backend.yml index 513288cedf..ae2fa4b42e 100644 --- a/.github/workflows/pull-request_backend.yml +++ b/.github/workflows/pull-request_backend.yml @@ -118,9 +118,9 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any SONAR_TOKEN: ${{ secrets.SONAR_TOKEN_BACKEND }} - SONAR_ORGANIZATION: eclipse-tractusx - SONAR_PROJECT_KEY: eclipse-tractusx_traceability-foss-backend - run: mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn --batch-mode sonar:sonar -Dsonar.coverage.jacoco.xmlReportPaths=/home/runner/work/tx-traceability-foss/tx-traceability-foss/tx-coverage/target/site/jacoco-aggregate/jacoco.xml -Dsonar.projectKey=eclipse-tractusx_traceability-foss-backend -Dsonar.organization=eclipse-tractusx + SONAR_ORGANIZATION: ${{ vars.SONAR_ORGANIZATION }} + SONAR_PROJECT_KEY: ${{ vars.SONAR_PROJECT_KEY_BACKEND }} + run: mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn --batch-mode sonar:sonar -Dsonar.coverage.jacoco.xmlReportPaths=/home/runner/work/traceability-foss/tx-coverage/target/site/jacoco-aggregate/jacoco.xml -Dsonar.projectKey=${{ vars.SONAR_PROJECT_KEY_BACKEND }} Dsonar.organization=${{ vars.SONAR_ORGANIZATION }} -Dsonar.java.binaries=target/classes Publish-docker-image: needs: [ "Test-and-Sonar" ] From 896e0c335690e405e43164f80481ae0c979c097c Mon Sep 17 00:00:00 2001 From: ashanmugavel Date: Tue, 18 Jun 2024 13:26:11 +0200 Subject: [PATCH 7/7] chore[xxx]: fixed sonar --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e4a9debaf..1f2cd24eda 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ _**For better traceability add the corresponding GitHub issue number in each cha ## [UNRELEASED - DD.MM.YYYY] ### Changed - #965 Implement proxy functionality of the IRS policy store +- XXX Updated sonar maven plugin to version 4.0.0.4121 ### Added - #832 added policymanagement list view, creator and editor