You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/06/13 07:05:04 UTC

[camel] branch camel-3.x updated: CAMEL-19177: camel-jbang - spring boot platform-http no longer need servlet

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch camel-3.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-3.x by this push:
     new 86037d964d5 CAMEL-19177: camel-jbang - spring boot platform-http no longer need servlet
86037d964d5 is described below

commit 86037d964d5ab05575162744243ba31433c4cc66
Author: Claus Ibsen <cl...@gmail.com>
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 8b4e95b9ef5..4631a9f0e68 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
@@ -423,12 +423,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;
     }