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