Skip to content

Conversation

gastaldi
Copy link
Contributor

@gastaldi gastaldi commented Sep 3, 2025

This generates a io.smallrye:smallrye-fault-tolerance-bom artifact that can simplify its usage as a managed dependency

Here is the generated pom.xml:

<?xml version='1.0' encoding='UTF-8'?>
<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/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>io.smallrye</groupId>
    <artifactId>smallrye-fault-tolerance-bom</artifactId>
    <version>6.9.3-SNAPSHOT</version>
    <name>Smallrye Fault Tolerance: BOM</name>
    <packaging>pom</packaging>
    <description>Centralized dependencyManagement for the SmallRye Fault Tolerance Project</description>
    
    <url>https://smallrye.io</url>    
    <licenses>
        <license>
            <name>Apache License, Version 2.0</name>
            <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
            <distribution>repo</distribution>
        </license>
    </licenses>
    
    
    <scm>
        <connection>scm:git:[email protected]:smallrye/smallrye-fault-tolerance.git</connection>
        <developerConnection>scm:git:[email protected]:smallrye/smallrye-fault-tolerance.git</developerConnection>
        <url>https://github.com/smallrye/smallrye-fault-tolerance/</url>
        <tag>HEAD</tag>
    </scm>
        
    <distributionManagement>
      
      <repository>
        <id>oss.sonatype</id>
        <name>${model.distributionManagement.repository.name}</name>
        <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
        <layout>default</layout>
      </repository>
            
      <snapshotRepository>
        <id>oss.sonatype</id>
        <name>${model.distributionManagement.snapshotRepository.name}</name>
        <url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
        <layout>default</layout>
      </snapshotRepository>
      
    </distributionManagement>
        
    <developers>
        <developer>
            <id>radcortez</id>
            <name>Roberto Cortez</name>
            <email>[email protected]</email>
            <organization>Red Hat</organization>
            <organizationUrl>https://www.redhat.com/en</organizationUrl>
        </developer>
    </developers>
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>io.smallrye</groupId>
                <artifactId>smallrye-fault-tolerance-api</artifactId>
                <version>6.9.3-SNAPSHOT</version>
            </dependency>
            <dependency>
                <groupId>io.smallrye</groupId>
                <artifactId>smallrye-fault-tolerance-core</artifactId>
                <version>6.9.3-SNAPSHOT</version>
            </dependency>
            <dependency>
                <groupId>io.smallrye</groupId>
                <artifactId>smallrye-fault-tolerance-kotlin</artifactId>
                <version>6.9.3-SNAPSHOT</version>
            </dependency>
            <dependency>
                <groupId>io.smallrye</groupId>
                <artifactId>smallrye-fault-tolerance-autoconfig-core</artifactId>
                <version>6.9.3-SNAPSHOT</version>
            </dependency>
            <dependency>
                <groupId>io.smallrye</groupId>
                <artifactId>smallrye-fault-tolerance-autoconfig-processor</artifactId>
                <version>6.9.3-SNAPSHOT</version>
            </dependency>
            <dependency>
                <groupId>io.smallrye</groupId>
                <artifactId>smallrye-fault-tolerance-apiimpl</artifactId>
                <version>6.9.3-SNAPSHOT</version>
            </dependency>
            <dependency>
                <groupId>io.smallrye</groupId>
                <artifactId>smallrye-fault-tolerance-standalone</artifactId>
                <version>6.9.3-SNAPSHOT</version>
            </dependency>
            <dependency>
                <groupId>io.smallrye</groupId>
                <artifactId>smallrye-fault-tolerance-mutiny</artifactId>
                <version>6.9.3-SNAPSHOT</version>
            </dependency>
            <dependency>
                <groupId>io.smallrye</groupId>
                <artifactId>smallrye-fault-tolerance-rxjava3</artifactId>
                <version>6.9.3-SNAPSHOT</version>
            </dependency>
            <dependency>
                <groupId>io.smallrye</groupId>
                <artifactId>smallrye-fault-tolerance-vertx</artifactId>
                <version>6.9.3-SNAPSHOT</version>
            </dependency>
            <dependency>
                <groupId>io.smallrye</groupId>
                <artifactId>smallrye-fault-tolerance</artifactId>
                <version>6.9.3-SNAPSHOT</version>
            </dependency>
            <dependency>
                <groupId>io.smallrye</groupId>
                <artifactId>smallrye-fault-tolerance-context-propagation</artifactId>
                <version>6.9.3-SNAPSHOT</version>
            </dependency>
            <dependency>
                <groupId>io.smallrye</groupId>
                <artifactId>smallrye-fault-tolerance-tracing-propagation</artifactId>
                <version>6.9.3-SNAPSHOT</version>
            </dependency>
        </dependencies>
    </dependencyManagement>
</project>

Copy link
Contributor

@Ladicek Ladicek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if this is gonna be correctly added to the release, but this is apparently done by other SmallRye projects, so it should work :-)

@Ladicek Ladicek added this to the 6.9.3 milestone Sep 3, 2025
Copy link
Contributor

@Ladicek Ladicek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, no. This is not correct -- the test suite artifacts are not deployed, so they should not be managed by the BOM.

@gastaldi
Copy link
Contributor Author

gastaldi commented Sep 3, 2025

Ahh good catch, forgot to check that. I'll fix it asap

This generates a `io.smallrye:smallrye-fault-tolerance-bom` artifact that can simplify its usage as a managed dependency
@gastaldi
Copy link
Contributor Author

gastaldi commented Sep 3, 2025

@Ladicek updated. I have also updated the pom.xml generated snippet in the issue description

@Ladicek
Copy link
Contributor

Ladicek commented Sep 4, 2025

Great, thanks!

@Ladicek Ladicek merged commit a0fa3a1 into smallrye:main Sep 4, 2025
13 checks passed
@gastaldi gastaldi deleted the bom branch September 4, 2025 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants