From 5745f10565cf0fb535535598c4f0587952c1c6c8 Mon Sep 17 00:00:00 2001 From: oyo Date: Tue, 26 May 2026 16:36:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=BE=AE=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E9=85=8D=E7=BD=AEpom=E5=8A=A8=E6=80=81=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/pom.xml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/template/pom.xml b/template/pom.xml index dae231a..688dd65 100644 --- a/template/pom.xml +++ b/template/pom.xml @@ -20,11 +20,27 @@ 11 UTF-8 3.0-SNAPSHOT + {{- if eq .microserviceFrameworkType "SPRING_CLOUD" }} + {{ default "2021.0.9" .microserviceFrameworkVersion }} + {{- end }} {{- if eq .dbType "dm" }} 18 8.1.3.140 {{- end }} + {{- if eq .microserviceFrameworkType "SPRING_CLOUD" }} + + + + org.springframework.cloud + spring-cloud-dependencies + ${spring.cloud.version} + pom + import + + + + {{- end }} cn.hutool @@ -220,6 +236,13 @@ transmittable-thread-local 2.12.3 + {{- if and (eq .microserviceFrameworkType "DUBBO") .microserviceFrameworkVersion }} + + org.apache.dubbo + dubbo-spring-boot-starter + {{ .microserviceFrameworkVersion }} + + {{- end }} {{- if eq .dbType "dm" }} dm