davsclaus commented on code in PR #30559:
URL: https://github.com/apache/camel/pull/30559#discussion_r4654553210
##########
dsl/camel-jbang/camel-jbang-run/src/main/resources/templates/spring-boot-pom.ftl:
##########
@@ -114,6 +117,17 @@
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-spring-boot-starter</artifactId>
</dependency>
+[#if Tomcat]
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>[=SpringBootWebStarter]</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-tomcat</artifactId>
+ <scope>provided</scope>
+ </dependency>
+[/#if]
Review Comment:
No change needed: `spring-boot-pom.ftl:112-115` declares
`spring-boot-starter-actuator` for every runtime, before the `[#if Tomcat]`
block, so the standalone Tomcat WAR has it and `/actuator/health` is served.
_Claude Code on behalf of davsclaus_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]