You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by du...@apache.org on 2022/10/15 05:43:48 UTC

[shardingsphere] branch master updated: fix dependency (#21580)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 1a479bea84b fix dependency (#21580)
1a479bea84b is described below

commit 1a479bea84bbb8609b693a2456feb4d01bcc3d8b
Author: Guocheng Tang <to...@apache.org>
AuthorDate: Sat Oct 15 13:43:41 2022 +0800

    fix dependency (#21580)
    
    * fix dependency
    
    * fix dependency
    
    * fix dependency
    
    * fix dependency
---
 .../src/main/resources/template/jdbc/pom.ftl           | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/examples/shardingsphere-example-generator/src/main/resources/template/jdbc/pom.ftl b/examples/shardingsphere-example-generator/src/main/resources/template/jdbc/pom.ftl
index 228ed21409f..5ccdf1b185b 100644
--- a/examples/shardingsphere-example-generator/src/main/resources/template/jdbc/pom.ftl
+++ b/examples/shardingsphere-example-generator/src/main/resources/template/jdbc/pom.ftl
@@ -128,7 +128,14 @@
             <groupId>org.apache.shardingsphere</groupId>
             <artifactId>shardingsphere-jdbc-core-spring-boot-starter</artifactId>
             <version>${r'${project.version}'}</version>
+            <exclusions>
+                <exclusion>
+                    <artifactId>snakeyaml</artifactId>
+                    <groupId>org.yaml</groupId>
+                </exclusion>
+            </exclusions>
         </dependency>
+        
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot</artifactId>
@@ -139,6 +146,11 @@
             <artifactId>spring-boot-autoconfigure</artifactId>
             <version>2.2.0.RELEASE</version>
         </dependency>
+        <dependency>
+            <artifactId>snakeyaml</artifactId>
+            <groupId>org.yaml</groupId>
+            <version>1.33</version>
+        </dependency>
     </#if>
     <#if framework=="spring-boot-starter-jdbc">
         <dependency>
@@ -156,6 +168,12 @@
             <groupId>org.mybatis.spring.boot</groupId>
             <artifactId>mybatis-spring-boot-starter</artifactId>
             <version>2.1.3</version>
+            <exclusions>
+                <exclusion>
+                    <artifactId>snakeyaml</artifactId>
+                    <groupId>org.yaml</groupId>
+                </exclusion>
+            </exclusions>
         </dependency>
     <#elseif framework=="spring-namespace-jdbc">
         <dependency>