gnodet-bot commented on code in PR #30559:
URL: https://github.com/apache/camel/pull/30559#discussion_r4657429846
##########
dsl/camel-jbang/camel-jbang-run/src/main/resources/templates/spring-boot-kubernetes-pom.ftl:
##########
@@ -158,6 +168,16 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
+[#if War]
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <version>3.5.1</version>
Review Comment:
💡 **Nit:** `spring-boot-starter-parent` manages `maven-war-plugin` through
its BOM (3.4.0 in Spring Boot 3.5.0). An explicit `<version>3.5.1</version>`
overrides the BOM and means version upgrades must be tracked manually in this
template instead of flowing from the Spring Boot parent.
Drop the `<version>` tag:
```suggestion
<artifactId>maven-war-plugin</artifactId>
```
##########
dsl/camel-jbang/camel-jbang-run/src/main/resources/templates/spring-boot-pom.ftl:
##########
@@ -155,6 +169,16 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
+[#if War]
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <version>3.5.1</version>
Review Comment:
💡 **Nit (same as `spring-boot-kubernetes-pom.ftl`):** Drop the explicit
version and let `spring-boot-starter-parent` manage `maven-war-plugin`.
```suggestion
<artifactId>maven-war-plugin</artifactId>
```
--
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]