This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new f0a0044ea06 CAMEL-19177: camel-jbang - spring boot platform-http no
longer need servlet
f0a0044ea06 is described below
commit f0a0044ea06545a0099989b429eec952f08c3bc2
Author: Claus Ibsen <[email protected]>
AuthorDate: Tue Jun 13 09:04:23 2023 +0200
CAMEL-19177: camel-jbang - spring boot platform-http no longer need servlet
---
.../org/apache/camel/dsl/jbang/core/commands/ExportSpringBoot.java | 6 ------
1 file changed, 6 deletions(-)
diff --git
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportSpringBoot.java
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportSpringBoot.java
index 76408e3576a..e393f3ef0ea 100644
---
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportSpringBoot.java
+++
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportSpringBoot.java
@@ -420,12 +420,6 @@ class ExportSpringBoot extends Export {
// remove out of the box dependencies
answer.removeIf(s -> s.contains("camel-core"));
- // if platform-http is included then we need servlet as implementation
- if (answer.stream().anyMatch(s -> s.contains("camel-platform-http") &&
!s.contains("camel-servlet"))) {
- // version does not matter
- answer.add("mvn:org.apache.camel:camel-servlet:1.0-SNAPSHOT");
- }
-
return answer;
}