Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ public void customize(Build build) {
}
if (build.dependencies().has("distributed-tracing") && isBoot4OrLater()) {
build.dependencies()
.add("spring-boot-micrometer-tracing",
Dependency.withCoordinates("org.springframework.boot", "spring-boot-micrometer-tracing"));
.add("spring-boot-micrometer-tracing-brave",
Dependency.withCoordinates("org.springframework.boot", "spring-boot-micrometer-tracing-brave"));
build.dependencies()
.add("spring-boot-micrometer-tracing-test",
Dependency.withCoordinates("org.springframework.boot", "spring-boot-micrometer-tracing-test")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class ObservabilityDistributedTracingBuildCustomizerTests extends AbstractExtens
@Test
void shouldAddMicrometerTracingOnBoot4OrLater() {
ProjectRequest request = createProjectRequest(SupportedBootVersion.V4_0, "distributed-tracing");
assertThat(mavenPom(request)).hasDependency("org.springframework.boot", "spring-boot-micrometer-tracing");
assertThat(mavenPom(request)).hasDependency("org.springframework.boot", "spring-boot-micrometer-tracing-brave");
assertThat(mavenPom(request)).hasDependency("org.springframework.boot", "spring-boot-micrometer-tracing-test",
null, Dependency.SCOPE_TEST);
}
Expand All @@ -43,7 +43,7 @@ void shouldAddMicrometerTracingOnBoot4OrLater() {
void shouldNotAddMicrometerTracingOnBootBefore4() {
ProjectRequest request = createProjectRequest(SupportedBootVersion.V3_5, "distributed-tracing");
assertThat(mavenPom(request)).doesNotHaveDependency("org.springframework.boot",
"spring-boot-micrometer-tracing");
"spring-boot-micrometer-tracing-brave");
assertThat(mavenPom(request)).doesNotHaveDependency("org.springframework.boot",
"spring-boot-micrometer-tracing-test");
}
Expand Down
Loading