Skip to content

Commit 1285740

Browse files
authored
Change the dependency nacos-client to 1.4.2 (#196)
1 parent d9086a3 commit 1285740

8 files changed

Lines changed: 100 additions & 5 deletions

File tree

  • nacos-config-spring-boot-actuator
  • nacos-config-spring-boot-autoconfigure
  • nacos-config-spring-boot-starter
  • nacos-discovery-spring-boot-actuator
  • nacos-discovery-spring-boot-autoconfigure
  • nacos-discovery-spring-boot-starter
  • nacos-spring-boot-base
  • nacos-spring-boot-parent

nacos-config-spring-boot-actuator/pom.xml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,19 @@
8181
<groupId>com.alibaba.nacos</groupId>
8282
<artifactId>nacos-spring-context</artifactId>
8383
<optional>true</optional>
84+
<exclusions>
85+
<exclusion>
86+
<groupId>com.alibaba.nacos</groupId>
87+
<artifactId>nacos-client</artifactId>
88+
</exclusion>
89+
</exclusions>
90+
</dependency>
91+
92+
<dependency>
93+
<groupId>com.alibaba.nacos</groupId>
94+
<artifactId>nacos-client</artifactId>
95+
<version>1.4.2</version>
8496
</dependency>
85-
8697
<!-- Test Dependencies -->
8798
<dependency>
8899
<groupId>org.springframework.boot</groupId>

nacos-config-spring-boot-autoconfigure/pom.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,20 @@
6666
<groupId>com.alibaba.nacos</groupId>
6767
<artifactId>nacos-spring-context</artifactId>
6868
<optional>true</optional>
69+
<exclusions>
70+
<exclusion>
71+
<groupId>com.alibaba.nacos</groupId>
72+
<artifactId>nacos-client</artifactId>
73+
</exclusion>
74+
</exclusions>
6975
</dependency>
70-
76+
77+
<dependency>
78+
<groupId>com.alibaba.nacos</groupId>
79+
<artifactId>nacos-client</artifactId>
80+
<version>1.4.2</version>
81+
</dependency>
82+
7183
<dependency>
7284
<groupId>com.alibaba.boot</groupId>
7385
<artifactId>nacos-spring-boot-base</artifactId>

nacos-config-spring-boot-starter/pom.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,20 @@
4040
<dependency>
4141
<groupId>com.alibaba.nacos</groupId>
4242
<artifactId>nacos-spring-context</artifactId>
43+
<exclusions>
44+
<exclusion>
45+
<groupId>com.alibaba.nacos</groupId>
46+
<artifactId>nacos-client</artifactId>
47+
</exclusion>
48+
</exclusions>
4349
</dependency>
44-
50+
51+
<dependency>
52+
<groupId>com.alibaba.nacos</groupId>
53+
<artifactId>nacos-client</artifactId>
54+
<version>1.4.2</version>
55+
</dependency>
56+
4557
<dependency>
4658
<groupId>com.alibaba.boot</groupId>
4759
<artifactId>nacos-config-spring-boot-autoconfigure</artifactId>

nacos-discovery-spring-boot-actuator/pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,18 @@
8181
<groupId>com.alibaba.nacos</groupId>
8282
<artifactId>nacos-spring-context</artifactId>
8383
<optional>true</optional>
84+
<exclusions>
85+
<exclusion>
86+
<groupId>com.alibaba.nacos</groupId>
87+
<artifactId>nacos-client</artifactId>
88+
</exclusion>
89+
</exclusions>
90+
</dependency>
91+
92+
<dependency>
93+
<groupId>com.alibaba.nacos</groupId>
94+
<artifactId>nacos-client</artifactId>
95+
<version>1.4.2</version>
8496
</dependency>
8597

8698
<!-- Test Dependencies -->

nacos-discovery-spring-boot-autoconfigure/pom.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,20 @@
5454
<groupId>com.alibaba.nacos</groupId>
5555
<artifactId>nacos-spring-context</artifactId>
5656
<optional>true</optional>
57+
<exclusions>
58+
<exclusion>
59+
<groupId>com.alibaba.nacos</groupId>
60+
<artifactId>nacos-client</artifactId>
61+
</exclusion>
62+
</exclusions>
5763
</dependency>
58-
64+
65+
<dependency>
66+
<groupId>com.alibaba.nacos</groupId>
67+
<artifactId>nacos-client</artifactId>
68+
<version>1.4.2</version>
69+
</dependency>
70+
5971
<dependency>
6072
<groupId>com.alibaba.boot</groupId>
6173
<artifactId>nacos-spring-boot-base</artifactId>

nacos-discovery-spring-boot-starter/pom.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,20 @@
4040
<dependency>
4141
<groupId>com.alibaba.nacos</groupId>
4242
<artifactId>nacos-spring-context</artifactId>
43+
<exclusions>
44+
<exclusion>
45+
<groupId>com.alibaba.nacos</groupId>
46+
<artifactId>nacos-client</artifactId>
47+
</exclusion>
48+
</exclusions>
4349
</dependency>
44-
50+
51+
<dependency>
52+
<groupId>com.alibaba.nacos</groupId>
53+
<artifactId>nacos-client</artifactId>
54+
<version>1.4.2</version>
55+
</dependency>
56+
4557
<dependency>
4658
<groupId>com.alibaba.boot</groupId>
4759
<artifactId>nacos-discovery-spring-boot-autoconfigure</artifactId>

nacos-spring-boot-base/pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,18 @@
5454
<groupId>com.alibaba.nacos</groupId>
5555
<artifactId>nacos-spring-context</artifactId>
5656
<optional>true</optional>
57+
<exclusions>
58+
<exclusion>
59+
<groupId>com.alibaba.nacos</groupId>
60+
<artifactId>nacos-client</artifactId>
61+
</exclusion>
62+
</exclusions>
63+
</dependency>
64+
65+
<dependency>
66+
<groupId>com.alibaba.nacos</groupId>
67+
<artifactId>nacos-client</artifactId>
68+
<version>1.4.2</version>
5769
</dependency>
5870

5971
<!-- Test Dependencies -->

nacos-spring-boot-parent/pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,18 @@
7171
<groupId>com.alibaba.nacos</groupId>
7272
<artifactId>nacos-spring-context</artifactId>
7373
<version>${nacos-spring-context.version}</version>
74+
<exclusions>
75+
<exclusion>
76+
<groupId>com.alibaba.nacos</groupId>
77+
<artifactId>nacos-client</artifactId>
78+
</exclusion>
79+
</exclusions>
80+
</dependency>
81+
82+
<dependency>
83+
<groupId>com.alibaba.nacos</groupId>
84+
<artifactId>nacos-client</artifactId>
85+
<version>1.4.2</version>
7486
</dependency>
7587

7688
<dependency>

0 commit comments

Comments
 (0)