From 2572615181ca65d82c485f3c011be9181e11aa97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Volkan=20Yaz=C4=B1c=C4=B1?= Date: Thu, 10 Oct 2024 16:51:14 +0200 Subject: [PATCH] Change BOM activation and stop managing dependencies --- pom.xml | 165 +++++++++--------- ...gs_maven_plugin.xml => bom_activation.xml} | 6 +- src/changelog/.11.x.x/bom_deps.xml | 15 ++ 3 files changed, 102 insertions(+), 84 deletions(-) rename src/changelog/.11.x.x/{update_com_github_spotbugs_spotbugs_maven_plugin.xml => bom_activation.xml} (52%) create mode 100644 src/changelog/.11.x.x/bom_deps.xml diff --git a/pom.xml b/pom.xml index 0018f5a..09293ef 100644 --- a/pom.xml +++ b/pom.xml @@ -206,15 +206,9 @@ 7.0.0.202409031743-r - 7.0.0 - 1.0.0 21.7.1 10.5.0 - 8.1.0 - 2.0.0 - 1.1.2 2.50.0 - 4.8.6 3.0.0 @@ -254,41 +248,14 @@ - - biz.aQute.bnd - biz.aQute.bnd.annotation - ${bnd.annotation.version} - + @@ -442,47 +409,6 @@ clean - - - flatten-bom - - flatten - - - none - - bom - - - remove - remove - remove - remove - interpolate - - keep - - - - @@ -1018,6 +944,83 @@ + + + + bom + + + + + .logging-parent-bom-activator + + + + + + + + org.codehaus.mojo + flatten-maven-plugin + + + + + flatten-revision + + + + + flatten-bom + + flatten + + process-resources + + bom + + + remove + interpolate + remove + remove + remove + remove + + keep + + + + + + + + + + + + diff --git a/src/changelog/.11.x.x/update_com_github_spotbugs_spotbugs_maven_plugin.xml b/src/changelog/.11.x.x/bom_activation.xml similarity index 52% rename from src/changelog/.11.x.x/update_com_github_spotbugs_spotbugs_maven_plugin.xml rename to src/changelog/.11.x.x/bom_activation.xml index 73429c4..0f8bf7f 100644 --- a/src/changelog/.11.x.x/update_com_github_spotbugs_spotbugs_maven_plugin.xml +++ b/src/changelog/.11.x.x/bom_activation.xml @@ -2,7 +2,7 @@ - - Update `com.github.spotbugs:spotbugs-maven-plugin` to version `4.8.6.4` + type="changed"> + + Activate `flatten-bom` execution of `flatten-maven-plugin` using a `.logging-parent-bom-activator` file diff --git a/src/changelog/.11.x.x/bom_deps.xml b/src/changelog/.11.x.x/bom_deps.xml new file mode 100644 index 0000000..231fcf5 --- /dev/null +++ b/src/changelog/.11.x.x/bom_deps.xml @@ -0,0 +1,15 @@ + + + + + Remove following managed dependencies to avoid polluting BOMs: +** `biz.aQute.bnd:biz.aQute.bnd.annotation` +** `com.github.spotbugs:spotbugs-annotations` +** `org.jspecify:jspecify` +** `org.osgi:osgi.annotation` +** `org.osgi:org.osgi.annotation.bundle` +** `org.osgi:org.osgi.annotation.versioning` +