From fd61df4cd3c118efbed0a7f12ff1012ce6720e9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20D=C3=BCmont?= Date: Fri, 18 Oct 2024 12:36:39 +0200 Subject: [PATCH 1/4] Fix plugins path root declarations; Make PMD run by default --- pom.xml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index e09c50d42..4b53c172b 100644 --- a/pom.xml +++ b/pom.xml @@ -396,9 +396,9 @@ maven-checkstyle-plugin 3.5.0 - .pipeline/checkstyle.xml + ${project.rootdir}/.pipeline/checkstyle.xml - .pipeline/checkstyle-suppressions.xml + ${project.rootdir}/.pipeline/checkstyle-suppressions.xml false @@ -413,13 +413,20 @@ org.apache.maven.plugins maven-pmd-plugin 3.25.0 + + + verify + + check + + + - .pipeline/pmd.xml - .pipeline/sdk_specific_pmd_rules.xml + ${project.rootdir}/.pipeline/pmd.xml + ${project.rootdir}/.pipeline/sdk_specific_pmd_rules.xml - /rulesets/java/maven-pmd-plugin-default.xml false ${maven.compiler.release} @@ -435,9 +442,9 @@ https://gitbox.apache.org/repos/asf?p=maven-pmd-plugin.git;a=blob_plain;f=src/ma spotbugs-maven-plugin 4.8.6.4 - .pipeline/spotbugs.xml + ${project.rootdir}/.pipeline/spotbugs.xml - .pipeline/spotbugs-exclusions.xml + ${project.rootdir}/.pipeline/spotbugs-exclusions.xml Max Low 2048 From 3ad86da0a3c0fcdaeee35df3979a16ec4b183bce Mon Sep 17 00:00:00 2001 From: SAP Cloud SDK Bot Date: Fri, 18 Oct 2024 10:39:12 +0000 Subject: [PATCH 2/4] Formatting --- pom.xml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pom.xml b/pom.xml index 4b53c172b..3a34d47c0 100644 --- a/pom.xml +++ b/pom.xml @@ -413,14 +413,6 @@ org.apache.maven.plugins maven-pmd-plugin 3.25.0 - - - verify - - check - - - ${project.rootdir}/.pipeline/pmd.xml @@ -436,6 +428,14 @@ https://gitbox.apache.org/repos/asf?p=maven-pmd-plugin.git;a=blob_plain;f=src/ma com/sap/ai/sdk/orchestration/client/**/* + + + + check + + verify + + com.github.spotbugs From df571e7bc2b1a8763cc797bf659bac20e5cafd49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20D=C3=BCmont?= Date: Fri, 18 Oct 2024 12:47:11 +0200 Subject: [PATCH 3/4] Print errors to console --- pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/pom.xml b/pom.xml index 4b53c172b..31074fd5c 100644 --- a/pom.xml +++ b/pom.xml @@ -430,6 +430,7 @@ https://gitbox.apache.org/repos/asf?p=maven-pmd-plugin.git;a=blob_plain;f=src/ma false ${maven.compiler.release} + true com/sap/ai/sdk/core/client/**/* From 578379dba8f0c391fe771efc6d89db152142feaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20D=C3=BCmont?= <22489773+newtork@users.noreply.github.com> Date: Mon, 21 Oct 2024 11:37:16 +0200 Subject: [PATCH 4/4] Remove unrelated change --- pom.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 87d3c9a9e..32cee0669 100644 --- a/pom.xml +++ b/pom.xml @@ -396,9 +396,9 @@ maven-checkstyle-plugin 3.5.0 - ${project.rootdir}/.pipeline/checkstyle.xml + .pipeline/checkstyle.xml - ${project.rootdir}/.pipeline/checkstyle-suppressions.xml + .pipeline/checkstyle-suppressions.xml false @@ -443,9 +443,9 @@ https://gitbox.apache.org/repos/asf?p=maven-pmd-plugin.git;a=blob_plain;f=src/ma spotbugs-maven-plugin 4.8.6.4 - ${project.rootdir}/.pipeline/spotbugs.xml + .pipeline/spotbugs.xml - ${project.rootdir}/.pipeline/spotbugs-exclusions.xml + .pipeline/spotbugs-exclusions.xml Max Low 2048