This is an automated email from the ASF dual-hosted git repository.
Croway pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot-examples.git
The following commit(s) were added to refs/heads/main by this push:
new 75e47e81 Fix observation example: drop hardcoded
micrometer-tracing-bom import
75e47e81 is described below
commit 75e47e81b5ab9e8874a11d2062fa8154a06464d5
Author: croway <[email protected]>
AuthorDate: Fri Sep 4 09:08:34 2026 +0200
Fix observation example: drop hardcoded micrometer-tracing-bom import
observation/pom.xml imported micrometer-tracing-bom 1.5.0 ahead of
spring-boot-dependencies (which manages 1.7.1), forcing micrometer-core
down to 1.15.0. That version is missing the JvmMemoryMeterConventions
class, so service2 crashed at startup with a ClassNotFoundException
before service1/client could even be reached. spring-boot-dependencies
already manages micrometer-tracing consistently, so the extra BOM
import is removed instead of pinned to a matching version.
Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JvQJNT1UYzqUm5HQtkL6Nu
---
observation/pom.xml | 8 --------
1 file changed, 8 deletions(-)
diff --git a/observation/pom.xml b/observation/pom.xml
index 32f74caa..50909d42 100644
--- a/observation/pom.xml
+++ b/observation/pom.xml
@@ -36,19 +36,11 @@
<properties>
<category>Management and Monitoring</category>
<title>Micrometer Observation</title>
- <micrometer-tracing.version>1.5.0</micrometer-tracing.version>
</properties>
<!-- import Spring-Boot and Camel BOM -->
<dependencyManagement>
<dependencies>
- <dependency>
- <groupId>io.micrometer</groupId>
- <artifactId>micrometer-tracing-bom</artifactId>
- <version>${micrometer-tracing.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-spring-boot-bom</artifactId>