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

xiaoyu 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 7bf7e6fc1 [type:fix] fix referencing in dependency (#4191)
7bf7e6fc1 is described below

commit 7bf7e6fc1001969bdaa28849036e869b64cc742a
Author: moremind <[email protected]>
AuthorDate: Wed Nov 16 09:18:12 2022 +0800

    [type:fix] fix referencing in dependency (#4191)
    
    * [type:fix] fix referencing in dependency
    
    * [type:fix] fix referencing in dependency
---
 pom.xml                                                | 18 ------------------
 shenyu-bootstrap/src/main/resources/application.yml    |  1 -
 shenyu-plugin/shenyu-plugin-oauth2/pom.xml             |  2 ++
 .../shenyu-spring-boot-starter-plugin-oauth2/pom.xml   |  1 +
 4 files changed, 3 insertions(+), 19 deletions(-)

diff --git a/pom.xml b/pom.xml
index 57ab50532..db4625c3d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -191,24 +191,6 @@
                 <version>${bytebuddy.version}</version>
             </dependency>
 
-            <dependency>
-                <groupId>org.springframework.security</groupId>
-                <artifactId>spring-security-config</artifactId>
-                <version>${spring-security.version}</version>
-            </dependency>
-
-            <dependency>
-                <groupId>org.springframework.security</groupId>
-                <artifactId>spring-security-oauth2-client</artifactId>
-                <version>${spring-security.version}</version>
-            </dependency>
-
-            <dependency>
-                <groupId>org.springframework.security</groupId>
-                <artifactId>spring-security-test</artifactId>
-                <version>${spring-security.version}</version>
-            </dependency>
-
             <dependency>
                 <groupId>com.weibo</groupId>
                 <artifactId>motan-core</artifactId>
diff --git a/shenyu-bootstrap/src/main/resources/application.yml 
b/shenyu-bootstrap/src/main/resources/application.yml
index 533916b13..235ac1755 100644
--- a/shenyu-bootstrap/src/main/resources/application.yml
+++ b/shenyu-bootstrap/src/main/resources/application.yml
@@ -20,7 +20,6 @@ server:
 spring:
   main:
     allow-bean-definition-overriding: true
-    allow-circular-references: true
   application:
     name: shenyu-bootstrap
   codec:
diff --git a/shenyu-plugin/shenyu-plugin-oauth2/pom.xml 
b/shenyu-plugin/shenyu-plugin-oauth2/pom.xml
index d9f390129..813fafcf0 100644
--- a/shenyu-plugin/shenyu-plugin-oauth2/pom.xml
+++ b/shenyu-plugin/shenyu-plugin-oauth2/pom.xml
@@ -36,11 +36,13 @@
         <dependency>
             <groupId>org.springframework.security</groupId>
             <artifactId>spring-security-config</artifactId>
+            <version>${spring-security.version}</version>
         </dependency>
 
         <dependency>
             <groupId>org.springframework.security</groupId>
             <artifactId>spring-security-oauth2-client</artifactId>
+            <version>${spring-security.version}</version>
         </dependency>
 
         <dependency>
diff --git 
a/shenyu-spring-boot-starter/shenyu-spring-boot-starter-plugin/shenyu-spring-boot-starter-plugin-oauth2/pom.xml
 
b/shenyu-spring-boot-starter/shenyu-spring-boot-starter-plugin/shenyu-spring-boot-starter-plugin-oauth2/pom.xml
index e6d1bed91..f1a2193c4 100644
--- 
a/shenyu-spring-boot-starter/shenyu-spring-boot-starter-plugin/shenyu-spring-boot-starter-plugin-oauth2/pom.xml
+++ 
b/shenyu-spring-boot-starter/shenyu-spring-boot-starter-plugin/shenyu-spring-boot-starter-plugin-oauth2/pom.xml
@@ -41,6 +41,7 @@
         <dependency>
             <groupId>org.springframework.security</groupId>
             <artifactId>spring-security-test</artifactId>
+            <version>${spring-security.version}</version>
             <scope>test</scope>
         </dependency>
         <dependency>

Reply via email to