This is an automated email from the ASF dual-hosted git repository.
jianglongtao 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 fc204879953 Update dependencies for example template (#38022)
fc204879953 is described below
commit fc204879953ba1f96e229ea6c813bd873ba59fe5
Author: Raigor <[email protected]>
AuthorDate: Thu Feb 12 19:59:30 2026 +0800
Update dependencies for example template (#38022)
---
.../src/main/resources/template/pom.ftl | 26 +++++++++++++++-------
1 file changed, 18 insertions(+), 8 deletions(-)
diff --git
a/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/pom.ftl
b/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/pom.ftl
index 18311e606da..b29505307a8 100644
---
a/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/pom.ftl
+++
b/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/pom.ftl
@@ -134,6 +134,11 @@
<artifactId>shardingsphere-transaction-xa-atomikos</artifactId>
<version>${r'${project.version}'}</version>
</dependency>
+ <dependency>
+ <groupId>javax.transaction</groupId>
+ <artifactId>javax.transaction-api</artifactId>
+ <version>1.3</version>
+ </dependency>
</#if>
<#if transaction=="xa-narayana">
<dependency>
@@ -144,22 +149,27 @@
<dependency>
<groupId>org.jboss.narayana.jta</groupId>
<artifactId>jta</artifactId>
- <version>5.12.4.Final</version>
+ <version>5.12.7.Final</version>
</dependency>
<dependency>
<groupId>org.jboss.narayana.jts</groupId>
<artifactId>narayana-jts-integration</artifactId>
- <version>5.12.4.Final</version>
+ <version>5.12.7.Final</version>
</dependency>
<dependency>
<groupId>org.jboss</groupId>
<artifactId>jboss-transaction-spi</artifactId>
- <version>7.6.0.Final</version>
+ <version>7.6.1.Final</version>
</dependency>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
- <version>3.2.1.Final</version>
+ <version>3.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.transaction</groupId>
+ <artifactId>javax.transaction-api</artifactId>
+ <version>1.3</version>
</dependency>
<#elseif transaction=="base-seata">
<dependency>
@@ -170,7 +180,7 @@
<dependency>
<groupId>io.seata</groupId>
<artifactId>seata-all</artifactId>
- <version>1.5.2</version>
+ <version>2.0.0</version>
</dependency>
</#if>
<#if framework?contains("jpa")>
@@ -216,7 +226,7 @@
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
- <version>2.1.3</version>
+ <version>3.0.3</version>
<exclusions>
<exclusion>
<artifactId>snakeyaml</artifactId>
@@ -244,7 +254,7 @@
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis-spring</artifactId>
- <version>2.0.5</version>
+ <version>3.0.3</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
@@ -278,7 +288,7 @@
<dependency>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP</artifactId>
- <version>3.4.2</version>
+ <version>4.0.3</version>
</dependency>
<dependency>
<groupId>com.mysql</groupId>