build: remove unused opentelemetry bom
This commit is contained in:
@@ -215,6 +215,22 @@ class MavenModuleProfileTest {
|
||||
.isFalse();
|
||||
}
|
||||
|
||||
@Test
|
||||
void observabilityBuildSurfaceUsesMicrometerWithoutUnusedOpenTelemetryBom() throws Exception {
|
||||
Document pom = rootPom();
|
||||
|
||||
assertThat(hasProjectProperty(pom, "micrometer.version"))
|
||||
.isTrue();
|
||||
assertThat(hasDependency(pom, "io.micrometer", "micrometer-bom"))
|
||||
.isTrue();
|
||||
assertThat(hasProjectProperty(pom, "otel.version"))
|
||||
.isFalse();
|
||||
assertThat(hasDependency(pom, "io.opentelemetry", "opentelemetry-bom"))
|
||||
.isFalse();
|
||||
assertThat(productionJavaContains("io.opentelemetry"))
|
||||
.isFalse();
|
||||
}
|
||||
|
||||
@Test
|
||||
void productionDocsDoNotAdvertiseMemorySessionStore() throws Exception {
|
||||
String runbook = Files.readString(repositoryRoot()
|
||||
|
||||
Reference in New Issue
Block a user