From d0972665181dcff3472c8a1e92dc4e76fae308ab Mon Sep 17 00:00:00 2001 From: Ulli Hafner Date: Mon, 20 May 2024 11:11:14 +0200 Subject: [PATCH 1/2] Fix SpotBugs processing. Reuse the same activation ID as in parent POM. Deactivate flattening when tests are ignored. --- pom.xml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 00476c19..57b235ca 100644 --- a/pom.xml +++ b/pom.xml @@ -493,8 +493,8 @@ false javascript - ${basedir}/src/main/resources - ${basedir}/src/main/webapp/js + src/main/resources + src/main/webapp/js **/*.js @@ -592,7 +592,7 @@ - run-spotbugs + spotbugs check @@ -736,11 +736,18 @@ ci + + + maven.test.failure.ignore + true + + true false false false + true From f538b455b3ef04c426b33a5b23b63ec0c4b124b8 Mon Sep 17 00:00:00 2001 From: Ulli Hafner Date: Mon, 20 May 2024 11:20:11 +0200 Subject: [PATCH 2/2] Add sort-pom configuration. --- pom.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pom.xml b/pom.xml index 57b235ca..05341f08 100644 --- a/pom.xml +++ b/pom.xml @@ -256,6 +256,11 @@ com.github.ekryd.sortpom sortpom-maven-plugin ${sortpom-maven-plugin.version} + + false + true + false +