From 91108cb46a48ff292a7ccd5f58475b914532cb56 Mon Sep 17 00:00:00 2001 From: Radoslav Husar Date: Tue, 17 Dec 2024 17:09:08 +0100 Subject: [PATCH 1/2] MODCLUSTER-821 Create a BOM file --- bom/pom.xml | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++ pom.xml | 47 +++++++++---------------------------------- 2 files changed, 66 insertions(+), 38 deletions(-) create mode 100644 bom/pom.xml diff --git a/bom/pom.xml b/bom/pom.xml new file mode 100644 index 00000000..97321181 --- /dev/null +++ b/bom/pom.xml @@ -0,0 +1,57 @@ + + + + 4.0.0 + + + org.jboss + jboss-parent + 47 + + + + org.jboss.mod_cluster + mod_cluster-bom + 2.1.0.Final-SNAPSHOT + pom + + mod_cluster: BOM + + + + + ${project.groupId} + mod_cluster-container-spi + ${project.version} + + + ${project.groupId} + mod_cluster-container-tomcat-9.0 + ${project.version} + + + ${project.groupId} + mod_cluster-container-tomcat-10.1 + ${project.version} + + + ${project.groupId} + mod_cluster-container-tomcat-11.0 + ${project.version} + + + ${project.groupId} + mod_cluster-core + ${project.version} + + + ${project.groupId} + mod_cluster-load-spi + ${project.version} + + + + diff --git a/pom.xml b/pom.xml index eb460b7c..82398d6d 100644 --- a/pom.xml +++ b/pom.xml @@ -4,20 +4,20 @@ ~ SPDX-License-Identifier: Apache-2.0 --> + 4.0.0 + - org.jboss - jboss-parent - 47 + org.jboss.mod_cluster + mod_cluster-bom + 2.1.0.Final-SNAPSHOT + bom - 4.0.0 - org.jboss.mod_cluster mod_cluster-parent - 2.1.0.Final-SNAPSHOT + mod_cluster (parent) pom - mod_cluster (parent) - An httpd-based load balancer + mod_cluster is an intelligent native Apache httpd-based and pure-Java Undertow-based load-balancer https://www.modcluster.io @@ -36,6 +36,7 @@ + bom core container load-spi @@ -100,36 +101,6 @@ - - org.jboss.mod_cluster - mod_cluster-container-spi - ${project.version} - - - org.jboss.mod_cluster - mod_cluster-container-tomcat-9.0 - ${project.version} - - - org.jboss.mod_cluster - mod_cluster-container-tomcat-10.1 - ${project.version} - - - org.jboss.mod_cluster - mod_cluster-container-tomcat-11.0 - ${project.version} - - - org.jboss.mod_cluster - mod_cluster-core - ${project.version} - - - org.jboss.mod_cluster - mod_cluster-load-spi - ${project.version} - org.jboss.logging jboss-logging From f8754302db173688c2db39c6a9096b56fe151007 Mon Sep 17 00:00:00 2001 From: Radoslav Husar Date: Tue, 17 Dec 2024 17:10:11 +0100 Subject: [PATCH 2/2] Replace groupId with an expression where possible. --- code-coverage/pom.xml | 12 ++++++------ core/pom.xml | 4 ++-- dist/pom.xml | 2 +- load-spi/pom.xml | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/code-coverage/pom.xml b/code-coverage/pom.xml index e0591869..ad3a3ad8 100644 --- a/code-coverage/pom.xml +++ b/code-coverage/pom.xml @@ -17,27 +17,27 @@ - org.jboss.mod_cluster + ${project.groupId} mod_cluster-container-spi - org.jboss.mod_cluster + ${project.groupId} mod_cluster-container-tomcat-9.0 - org.jboss.mod_cluster + ${project.groupId} mod_cluster-container-tomcat-10.1 - org.jboss.mod_cluster + ${project.groupId} mod_cluster-container-tomcat-11.0 - org.jboss.mod_cluster + ${project.groupId} mod_cluster-core - org.jboss.mod_cluster + ${project.groupId} mod_cluster-load-spi diff --git a/core/pom.xml b/core/pom.xml index a63a7669..d3f0edde 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -14,11 +14,11 @@ mod_cluster: Core - org.jboss.mod_cluster + ${project.groupId} mod_cluster-container-spi - org.jboss.mod_cluster + ${project.groupId} mod_cluster-load-spi diff --git a/dist/pom.xml b/dist/pom.xml index d8a8004c..f6681bee 100644 --- a/dist/pom.xml +++ b/dist/pom.xml @@ -18,7 +18,7 @@ - org.jboss.mod_cluster + ${project.groupId} mod_cluster-core diff --git a/load-spi/pom.xml b/load-spi/pom.xml index 847d5e25..d1148f5d 100644 --- a/load-spi/pom.xml +++ b/load-spi/pom.xml @@ -17,7 +17,7 @@ - org.jboss.mod_cluster + ${project.groupId} mod_cluster-container-spi