build: remove unused opentelemetry bom
This commit is contained in:
@@ -215,6 +215,22 @@ class MavenModuleProfileTest {
|
|||||||
.isFalse();
|
.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
|
@Test
|
||||||
void productionDocsDoNotAdvertiseMemorySessionStore() throws Exception {
|
void productionDocsDoNotAdvertiseMemorySessionStore() throws Exception {
|
||||||
String runbook = Files.readString(repositoryRoot()
|
String runbook = Files.readString(repositoryRoot()
|
||||||
|
|||||||
8
pom.xml
8
pom.xml
@@ -146,7 +146,6 @@
|
|||||||
<caffeine.version>3.1.8</caffeine.version>
|
<caffeine.version>3.1.8</caffeine.version>
|
||||||
<resilience4j.version>2.2.0</resilience4j.version>
|
<resilience4j.version>2.2.0</resilience4j.version>
|
||||||
<micrometer.version>1.13.6</micrometer.version>
|
<micrometer.version>1.13.6</micrometer.version>
|
||||||
<otel.version>1.42.1</otel.version>
|
|
||||||
<paho-mqtt.version>1.2.5</paho-mqtt.version>
|
<paho-mqtt.version>1.2.5</paho-mqtt.version>
|
||||||
<taos-jdbcdriver.version>3.8.4</taos-jdbcdriver.version>
|
<taos-jdbcdriver.version>3.8.4</taos-jdbcdriver.version>
|
||||||
<springdoc-openapi.version>2.8.17</springdoc-openapi.version>
|
<springdoc-openapi.version>2.8.17</springdoc-openapi.version>
|
||||||
@@ -202,13 +201,6 @@
|
|||||||
<type>pom</type>
|
<type>pom</type>
|
||||||
<scope>import</scope>
|
<scope>import</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>io.opentelemetry</groupId>
|
|
||||||
<artifactId>opentelemetry-bom</artifactId>
|
|
||||||
<version>${otel.version}</version>
|
|
||||||
<type>pom</type>
|
|
||||||
<scope>import</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.junit</groupId>
|
<groupId>org.junit</groupId>
|
||||||
<artifactId>junit-bom</artifactId>
|
<artifactId>junit-bom</artifactId>
|
||||||
|
|||||||
Reference in New Issue
Block a user