From 71dd95b26dd7dba84af2d8f1d62425a6de145de8 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Thu, 15 Oct 2026 11:13:34 +0300 Subject: [PATCH] Depend on spring-web instead of the web starter in library modules --- common/coap-server/pom.xml | 9 ++------- common/edge-api/pom.xml | 8 ++------ common/edqs/pom.xml | 8 ++------ common/integration/apache-pulsar/pom.xml | 9 ++------- common/integration/aws-integrations/pom.xml | 9 ++------- common/integration/azure-integrations/pom.xml | 9 ++------- common/integration/coap-integrations/pom.xml | 9 ++------- common/integration/gcloud-integrations/pom.xml | 9 ++------- common/integration/integration-api/pom.xml | 9 ++------- common/integration/kafka-integrations/pom.xml | 9 ++------- common/integration/rabbitmq-integrations/pom.xml | 9 ++------- common/integration/remote-integration-api/pom.xml | 8 ++------ common/integration/tuya-integrations/pom.xml | 9 ++------- common/report/pom.xml | 4 ++-- common/script/remote-js-client/pom.xml | 9 ++------- common/script/script-api/pom.xml | 9 ++------- common/version-control/pom.xml | 9 ++------- edqs/pom.xml | 8 ++++++++ integration/apache-pulsar/pom.xml | 8 ++++++++ integration/aws/pom.xml | 8 ++++++++ integration/azure/pom.xml | 8 ++++++++ integration/coap/pom.xml | 8 ++++++++ integration/http/pom.xml | 8 ++++++++ integration/kafka/pom.xml | 8 ++++++++ integration/mqtt/pom.xml | 8 ++++++++ integration/opc-ua/pom.xml | 8 ++++++++ integration/pubsub/pom.xml | 8 ++++++++ integration/rabbitmq/pom.xml | 8 ++++++++ integration/tcp-udp/pom.xml | 8 ++++++++ integration/tuya/pom.xml | 8 ++++++++ report/pom.xml | 8 ++++++++ 31 files changed, 146 insertions(+), 111 deletions(-) diff --git a/common/coap-server/pom.xml b/common/coap-server/pom.xml index 67ad862ae5..3eae4cb568 100644 --- a/common/coap-server/pom.xml +++ b/common/coap-server/pom.xml @@ -49,13 +49,8 @@ spring-context - org.springframework.boot - spring-boot-starter-webmvc - provided - - - org.springframework.boot - spring-boot-jackson2 + org.springframework + spring-web provided diff --git a/common/edge-api/pom.xml b/common/edge-api/pom.xml index 7fa53f26d5..39cf6d4f21 100644 --- a/common/edge-api/pom.xml +++ b/common/edge-api/pom.xml @@ -63,12 +63,8 @@ spring-context - org.springframework.boot - spring-boot-starter-webmvc - - - org.springframework.boot - spring-boot-jackson2 + org.springframework + spring-web io.netty diff --git a/common/edqs/pom.xml b/common/edqs/pom.xml index b226448b73..ef73da174e 100644 --- a/common/edqs/pom.xml +++ b/common/edqs/pom.xml @@ -63,12 +63,8 @@ discovery-api - org.springframework.boot - spring-boot-starter-webmvc - - - org.springframework.boot - spring-boot-jackson2 + org.springframework + spring-web com.github.ben-manes.caffeine diff --git a/common/integration/apache-pulsar/pom.xml b/common/integration/apache-pulsar/pom.xml index a6a42f592c..95699d5f2a 100644 --- a/common/integration/apache-pulsar/pom.xml +++ b/common/integration/apache-pulsar/pom.xml @@ -36,13 +36,8 @@ script-api - org.springframework.boot - spring-boot-starter-webmvc - provided - - - org.springframework.boot - spring-boot-jackson2 + org.springframework + spring-web provided diff --git a/common/integration/aws-integrations/pom.xml b/common/integration/aws-integrations/pom.xml index bea63972f4..5877300e29 100644 --- a/common/integration/aws-integrations/pom.xml +++ b/common/integration/aws-integrations/pom.xml @@ -34,13 +34,8 @@ script-api - org.springframework.boot - spring-boot-starter-webmvc - provided - - - org.springframework.boot - spring-boot-jackson2 + org.springframework + spring-web provided diff --git a/common/integration/azure-integrations/pom.xml b/common/integration/azure-integrations/pom.xml index 00beba3b31..33eb5b74ec 100644 --- a/common/integration/azure-integrations/pom.xml +++ b/common/integration/azure-integrations/pom.xml @@ -34,13 +34,8 @@ script-api - org.springframework.boot - spring-boot-starter-webmvc - provided - - - org.springframework.boot - spring-boot-jackson2 + org.springframework + spring-web provided diff --git a/common/integration/coap-integrations/pom.xml b/common/integration/coap-integrations/pom.xml index 5f6c839896..035c2cc695 100644 --- a/common/integration/coap-integrations/pom.xml +++ b/common/integration/coap-integrations/pom.xml @@ -39,13 +39,8 @@ script-api - org.springframework.boot - spring-boot-starter-webmvc - provided - - - org.springframework.boot - spring-boot-jackson2 + org.springframework + spring-web provided diff --git a/common/integration/gcloud-integrations/pom.xml b/common/integration/gcloud-integrations/pom.xml index 16099a5fb1..e1177ae65a 100644 --- a/common/integration/gcloud-integrations/pom.xml +++ b/common/integration/gcloud-integrations/pom.xml @@ -30,13 +30,8 @@ integration-api - org.springframework.boot - spring-boot-starter-webmvc - provided - - - org.springframework.boot - spring-boot-jackson2 + org.springframework + spring-web provided diff --git a/common/integration/integration-api/pom.xml b/common/integration/integration-api/pom.xml index 5948836d31..b68e94fb6e 100644 --- a/common/integration/integration-api/pom.xml +++ b/common/integration/integration-api/pom.xml @@ -84,13 +84,8 @@ commons-lang3 - org.springframework.boot - spring-boot-starter-webmvc - provided - - - org.springframework.boot - spring-boot-jackson2 + org.springframework + spring-web provided diff --git a/common/integration/kafka-integrations/pom.xml b/common/integration/kafka-integrations/pom.xml index d5245ccf9d..d0fa907c67 100644 --- a/common/integration/kafka-integrations/pom.xml +++ b/common/integration/kafka-integrations/pom.xml @@ -34,13 +34,8 @@ script-api - org.springframework.boot - spring-boot-starter-webmvc - provided - - - org.springframework.boot - spring-boot-jackson2 + org.springframework + spring-web provided diff --git a/common/integration/rabbitmq-integrations/pom.xml b/common/integration/rabbitmq-integrations/pom.xml index 1930f8710b..d35294a935 100644 --- a/common/integration/rabbitmq-integrations/pom.xml +++ b/common/integration/rabbitmq-integrations/pom.xml @@ -30,13 +30,8 @@ integration-api - org.springframework.boot - spring-boot-starter-webmvc - provided - - - org.springframework.boot - spring-boot-jackson2 + org.springframework + spring-web provided diff --git a/common/integration/remote-integration-api/pom.xml b/common/integration/remote-integration-api/pom.xml index 1d8f124dda..eb42719ef5 100644 --- a/common/integration/remote-integration-api/pom.xml +++ b/common/integration/remote-integration-api/pom.xml @@ -62,12 +62,8 @@ spring-context - org.springframework.boot - spring-boot-starter-webmvc - - - org.springframework.boot - spring-boot-jackson2 + org.springframework + spring-web io.netty diff --git a/common/integration/tuya-integrations/pom.xml b/common/integration/tuya-integrations/pom.xml index 2022d0d6ae..0d32fdd791 100644 --- a/common/integration/tuya-integrations/pom.xml +++ b/common/integration/tuya-integrations/pom.xml @@ -34,13 +34,8 @@ script-api - org.springframework.boot - spring-boot-starter-webmvc - provided - - - org.springframework.boot - spring-boot-jackson2 + org.springframework + spring-web provided diff --git a/common/report/pom.xml b/common/report/pom.xml index 156e59a39f..da6d7bd9af 100644 --- a/common/report/pom.xml +++ b/common/report/pom.xml @@ -59,8 +59,8 @@ compile - org.springframework.boot - spring-boot-starter-webmvc + org.springframework + spring-web org.springframework.boot diff --git a/common/script/remote-js-client/pom.xml b/common/script/remote-js-client/pom.xml index d975b0a26b..12398e33f8 100644 --- a/common/script/remote-js-client/pom.xml +++ b/common/script/remote-js-client/pom.xml @@ -47,13 +47,8 @@ message - org.springframework.boot - spring-boot-starter-webmvc - provided - - - org.springframework.boot - spring-boot-jackson2 + org.springframework + spring-web provided diff --git a/common/script/script-api/pom.xml b/common/script/script-api/pom.xml index 144bc54ff5..ef859a8401 100644 --- a/common/script/script-api/pom.xml +++ b/common/script/script-api/pom.xml @@ -87,13 +87,8 @@ tbel - org.springframework.boot - spring-boot-starter-webmvc - provided - - - org.springframework.boot - spring-boot-jackson2 + org.springframework + spring-web provided diff --git a/common/version-control/pom.xml b/common/version-control/pom.xml index 47a6f83d19..288428c7e5 100644 --- a/common/version-control/pom.xml +++ b/common/version-control/pom.xml @@ -47,13 +47,8 @@ spring-context - org.springframework.boot - spring-boot-starter-webmvc - provided - - - org.springframework.boot - spring-boot-jackson2 + org.springframework + spring-web provided diff --git a/edqs/pom.xml b/edqs/pom.xml index 1d6a0c8428..d366ee3896 100644 --- a/edqs/pom.xml +++ b/edqs/pom.xml @@ -97,6 +97,14 @@ assertj-core test + + org.springframework.boot + spring-boot-starter-webmvc + + + org.springframework.boot + spring-boot-jackson2 + diff --git a/integration/apache-pulsar/pom.xml b/integration/apache-pulsar/pom.xml index f81588fb8d..5a51af1f1f 100644 --- a/integration/apache-pulsar/pom.xml +++ b/integration/apache-pulsar/pom.xml @@ -41,6 +41,14 @@ org.thingsboard.common.integration remote-integration-api + + org.springframework.boot + spring-boot-starter-webmvc + + + org.springframework.boot + spring-boot-jackson2 + diff --git a/integration/aws/pom.xml b/integration/aws/pom.xml index 41a86f31d3..ae71eddf3b 100644 --- a/integration/aws/pom.xml +++ b/integration/aws/pom.xml @@ -41,6 +41,14 @@ org.thingsboard.common.integration remote-integration-api + + org.springframework.boot + spring-boot-starter-webmvc + + + org.springframework.boot + spring-boot-jackson2 + diff --git a/integration/azure/pom.xml b/integration/azure/pom.xml index 86a6a23a29..5d5d9d5789 100644 --- a/integration/azure/pom.xml +++ b/integration/azure/pom.xml @@ -41,6 +41,14 @@ org.thingsboard.common.integration remote-integration-api + + org.springframework.boot + spring-boot-starter-webmvc + + + org.springframework.boot + spring-boot-jackson2 + diff --git a/integration/coap/pom.xml b/integration/coap/pom.xml index caf30f83f2..734f625ebc 100644 --- a/integration/coap/pom.xml +++ b/integration/coap/pom.xml @@ -41,6 +41,14 @@ org.thingsboard.common.integration remote-integration-api + + org.springframework.boot + spring-boot-starter-webmvc + + + org.springframework.boot + spring-boot-jackson2 + diff --git a/integration/http/pom.xml b/integration/http/pom.xml index 1d619ab324..d0e21cb581 100644 --- a/integration/http/pom.xml +++ b/integration/http/pom.xml @@ -42,6 +42,14 @@ org.thingsboard.common.integration remote-integration-api + + org.springframework.boot + spring-boot-starter-webmvc + + + org.springframework.boot + spring-boot-jackson2 + diff --git a/integration/kafka/pom.xml b/integration/kafka/pom.xml index 28e498fa45..73bf0ae9fc 100644 --- a/integration/kafka/pom.xml +++ b/integration/kafka/pom.xml @@ -41,6 +41,14 @@ org.thingsboard.common.integration remote-integration-api + + org.springframework.boot + spring-boot-starter-webmvc + + + org.springframework.boot + spring-boot-jackson2 + diff --git a/integration/mqtt/pom.xml b/integration/mqtt/pom.xml index 2bc8af134e..43558426a9 100644 --- a/integration/mqtt/pom.xml +++ b/integration/mqtt/pom.xml @@ -41,6 +41,14 @@ org.thingsboard.common.integration remote-integration-api + + org.springframework.boot + spring-boot-starter-webmvc + + + org.springframework.boot + spring-boot-jackson2 + diff --git a/integration/opc-ua/pom.xml b/integration/opc-ua/pom.xml index e1ae8ffc85..f0dc3e2319 100644 --- a/integration/opc-ua/pom.xml +++ b/integration/opc-ua/pom.xml @@ -41,6 +41,14 @@ org.thingsboard.common.integration remote-integration-api + + org.springframework.boot + spring-boot-starter-webmvc + + + org.springframework.boot + spring-boot-jackson2 + diff --git a/integration/pubsub/pom.xml b/integration/pubsub/pom.xml index 286d29f1bc..d57ae2cc02 100644 --- a/integration/pubsub/pom.xml +++ b/integration/pubsub/pom.xml @@ -41,6 +41,14 @@ org.thingsboard.common.integration remote-integration-api + + org.springframework.boot + spring-boot-starter-webmvc + + + org.springframework.boot + spring-boot-jackson2 + diff --git a/integration/rabbitmq/pom.xml b/integration/rabbitmq/pom.xml index 081147ad5a..20fedd2a43 100644 --- a/integration/rabbitmq/pom.xml +++ b/integration/rabbitmq/pom.xml @@ -41,6 +41,14 @@ org.thingsboard.common.integration remote-integration-api + + org.springframework.boot + spring-boot-starter-webmvc + + + org.springframework.boot + spring-boot-jackson2 + diff --git a/integration/tcp-udp/pom.xml b/integration/tcp-udp/pom.xml index 1ae99f25ef..e54c26372c 100644 --- a/integration/tcp-udp/pom.xml +++ b/integration/tcp-udp/pom.xml @@ -45,6 +45,14 @@ com.github.ben-manes.caffeine caffeine + + org.springframework.boot + spring-boot-starter-webmvc + + + org.springframework.boot + spring-boot-jackson2 + diff --git a/integration/tuya/pom.xml b/integration/tuya/pom.xml index 1d84b18221..fc22df7c8a 100644 --- a/integration/tuya/pom.xml +++ b/integration/tuya/pom.xml @@ -41,6 +41,14 @@ org.thingsboard.common.integration remote-integration-api + + org.springframework.boot + spring-boot-starter-webmvc + + + org.springframework.boot + spring-boot-jackson2 + diff --git a/report/pom.xml b/report/pom.xml index f428e65d22..85c5cdc6fd 100644 --- a/report/pom.xml +++ b/report/pom.xml @@ -105,6 +105,14 @@ assertj-core test + + org.springframework.boot + spring-boot-starter-webmvc + + + org.springframework.boot + spring-boot-jackson2 +