Skip to content

Dependencies declared in a platform are excluded unless applyMavenExclusions is set to false #368

Closed
@PeterFokkinga

Description

@PeterFokkinga

This is similar / a continuation of issue #360 (which was closed as resolved) and #361 where we were asked for a minimal example that reproduces the problem remaining.

The following build.gradle works (using gradle 8.4)

plugins {
    id 'java'
    id 'io.spring.dependency-management' version '1.1.0'
}

repositories {
    mavenCentral()
    maven {
        url = uri("https://maven.pkg.github.com/PeterFokkinga/spring-dependency-issue")
    }
}

dependencies {
    implementation platform('nl.fokkinga:simple-bom:0.9')
}
image

But with dependency-management 1.1.1 / 1.1.2 and 1.1.3 the transient dependencies are not found:
image

This issue prevents us from updating Spring-boot in our projects to a version newer than 3.1.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions