Skip to content

Latest commit

 

History

History

solace-spring-boot-bom

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Solace Spring Boot Bill of Materials (BOM)

Contents

Overview

The Solace Spring Boot Bill of Materials (BOM) is a POM file which defines the versions of Solace Spring Boot projects that are compatible to a particular version of Spring Boot.

Spring Boot Version Compatibility

Consult the table below to determine which version of the BOM you need to use:

Spring Boot Solace Spring Boot BOM
2.2.4 1.0.0
2.3.0 1.1.0
2.6.4 1.2.x
2.7.7 1.3.0
3.0.6 2.0.0
3.3.1 2.1.x
3.3.3 2.2.0

Including the BOM

In addition to showing how to include the BOM, the following snippets also shows how to use "version-less" Solace dependencies (solace-spring-boot-starer in this case) when using the BOM.

Using it with Maven

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>com.solace.spring.boot</groupId>
            <artifactId>solace-spring-boot-bom</artifactId>
            <version>2.2.0</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>

<dependencies>
    <dependency>
        <groupId>com.solace.spring.boot</groupId>
        <artifactId>solace-spring-boot-starter</artifactId>
    </dependency>
</dependencies>

Using it with Gradle

dependencies {
    implementation(platform("com.solace.spring.boot:solace-spring-boot-bom:2.2.0"))
    implementation("com.solace.spring.boot:solace-spring-boot-starter")
}