This is an automated email from the ASF dual-hosted git repository.

liuhongyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git


The following commit(s) were added to refs/heads/master by this push:
     new d60f8e7d9a [fix:bugfix] nacos cannot be registered in the 
Shenyu-examples-SpringCloud project (#5824) (#5825)
d60f8e7d9a is described below

commit d60f8e7d9ad39b177b8dacfb42e2f726ae31e925
Author: frank <shaoshuai...@163.com>
AuthorDate: Mon Dec 2 11:42:28 2024 +0800

    [fix:bugfix] nacos cannot be registered in the Shenyu-examples-SpringCloud 
project (#5824) (#5825)
    
    Co-authored-by: xiaoyu <xia...@apache.org>
---
 .../shenyu-examples-springcloud/pom.xml            | 24 +---------------------
 1 file changed, 1 insertion(+), 23 deletions(-)

diff --git a/shenyu-examples/shenyu-examples-springcloud/pom.xml 
b/shenyu-examples/shenyu-examples-springcloud/pom.xml
index e35ab1cc8e..18c7466cef 100644
--- a/shenyu-examples/shenyu-examples-springcloud/pom.xml
+++ b/shenyu-examples/shenyu-examples-springcloud/pom.xml
@@ -29,7 +29,7 @@
 
     <properties>
         <spring-cloud.version>4.1.2</spring-cloud.version>
-        <nacos-discovery.version>2021.0.1.0</nacos-discovery.version>
+        <nacos-discovery.version>2023.0.1.3</nacos-discovery.version>
         <eureka-client.version>4.1.2</eureka-client.version>
     </properties>
 
@@ -60,16 +60,6 @@
             <groupId>com.alibaba.cloud</groupId>
             
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
             <version>${nacos-discovery.version}</version>
-            <exclusions>
-                <exclusion>
-                    <artifactId>spring-cloud-context</artifactId>
-                    <groupId>org.springframework.cloud</groupId>
-                </exclusion>
-                <exclusion>
-                    <artifactId>spring-cloud-commons</artifactId>
-                    <groupId>org.springframework.cloud</groupId>
-                </exclusion>
-            </exclusions>
         </dependency>
 
         <dependency>
@@ -82,18 +72,6 @@
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-actuator</artifactId>
         </dependency>
-
-        <dependency>
-            <groupId>org.springframework.cloud</groupId>
-            <artifactId>spring-cloud-commons</artifactId>
-            <version>${spring-cloud.version}</version>
-            <exclusions>
-                <exclusion>
-                    <groupId>org.projectlombok</groupId>
-                    <artifactId>lombok</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
     </dependencies>
     <build>
         <finalName>shenyu-examples-springcloud</finalName>

Reply via email to