Skip to content

Commit

Permalink
Merge pull request #861 from rhusar/MODCLUSTER-821
Browse files Browse the repository at this point in the history
MODCLUSTER-821 Create a BOM file
  • Loading branch information
rhusar authored Dec 17, 2024
2 parents 6538389 + f875430 commit 0ec9287
Show file tree
Hide file tree
Showing 6 changed files with 76 additions and 48 deletions.
57 changes: 57 additions & 0 deletions bom/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright The mod_cluster Project Authors
~ SPDX-License-Identifier: Apache-2.0
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.jboss</groupId>
<artifactId>jboss-parent</artifactId>
<version>47</version>
<relativePath/>
</parent>

<groupId>org.jboss.mod_cluster</groupId>
<artifactId>mod_cluster-bom</artifactId>
<version>2.1.0.Final-SNAPSHOT</version>
<packaging>pom</packaging>

<name>mod_cluster: BOM</name>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>mod_cluster-container-spi</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>mod_cluster-container-tomcat-9.0</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>mod_cluster-container-tomcat-10.1</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>mod_cluster-container-tomcat-11.0</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>mod_cluster-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>mod_cluster-load-spi</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
</project>
12 changes: 6 additions & 6 deletions code-coverage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,27 @@

<dependencies>
<dependency>
<groupId>org.jboss.mod_cluster</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>mod_cluster-container-spi</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.mod_cluster</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>mod_cluster-container-tomcat-9.0</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.mod_cluster</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>mod_cluster-container-tomcat-10.1</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.mod_cluster</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>mod_cluster-container-tomcat-11.0</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.mod_cluster</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>mod_cluster-core</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.mod_cluster</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>mod_cluster-load-spi</artifactId>
</dependency>
</dependencies>
Expand Down
4 changes: 2 additions & 2 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
<name>mod_cluster: Core</name>
<dependencies>
<dependency>
<groupId>org.jboss.mod_cluster</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>mod_cluster-container-spi</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.mod_cluster</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>mod_cluster-load-spi</artifactId>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<dependencies>
<dependency>
<groupId>org.jboss.mod_cluster</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>mod_cluster-core</artifactId>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion load-spi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<dependencies>
<dependency>
<groupId>org.jboss.mod_cluster</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>mod_cluster-container-spi</artifactId>
</dependency>
</dependencies>
Expand Down
47 changes: 9 additions & 38 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@
~ SPDX-License-Identifier: Apache-2.0
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.jboss</groupId>
<artifactId>jboss-parent</artifactId>
<version>47</version>
<groupId>org.jboss.mod_cluster</groupId>
<artifactId>mod_cluster-bom</artifactId>
<version>2.1.0.Final-SNAPSHOT</version>
<relativePath>bom</relativePath>
</parent>

<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.mod_cluster</groupId>
<artifactId>mod_cluster-parent</artifactId>
<version>2.1.0.Final-SNAPSHOT</version>
<name>mod_cluster (parent)</name>
<packaging>pom</packaging>

<name>mod_cluster (parent)</name>
<description>An httpd-based load balancer</description>
<description>mod_cluster is an intelligent native Apache httpd-based and pure-Java Undertow-based load-balancer</description>
<url>https://www.modcluster.io</url>

<licenses>
Expand All @@ -36,6 +36,7 @@
</scm>

<modules>
<module>bom</module>
<module>core</module>
<module>container</module>
<module>load-spi</module>
Expand Down Expand Up @@ -100,36 +101,6 @@

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jboss.mod_cluster</groupId>
<artifactId>mod_cluster-container-spi</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.mod_cluster</groupId>
<artifactId>mod_cluster-container-tomcat-9.0</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.mod_cluster</groupId>
<artifactId>mod_cluster-container-tomcat-10.1</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.mod_cluster</groupId>
<artifactId>mod_cluster-container-tomcat-11.0</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.mod_cluster</groupId>
<artifactId>mod_cluster-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.mod_cluster</groupId>
<artifactId>mod_cluster-load-spi</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
Expand Down

0 comments on commit 0ec9287

Please sign in to comment.