Browse Source

adm-server 配置中心切换nacos

yanguofeng 2 years ago
parent
commit
7a873dae3c
1 changed files with 11 additions and 0 deletions
  1. 11 0
      adm-business/adm-server/pom.xml

+ 11 - 0
adm-business/adm-server/pom.xml

@@ -11,10 +11,21 @@
     <artifactId>adm-server</artifactId>
 
     <dependencies>
+        <dependency>
+            <groupId>com.alibaba.cloud</groupId>
+            <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
+            <version>2.1.4.RELEASE</version>
+        </dependency>
         <!-- 配置中心(包含注册中心) -->
         <dependency>
             <groupId>com.persagy</groupId>
             <artifactId>integrated-config-client</artifactId>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.springframework.cloud</groupId>
+                    <artifactId>spring-cloud-config-client</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <!-- 项目启动 -->
         <dependency>