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 2021/09/04 23:01:56 UTC

[shardingsphere] branch master updated: Add shardingsphere-transaction-api module (#12224)

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 43cc6ed  Add shardingsphere-transaction-api module (#12224)
43cc6ed is described below

commit 43cc6ed6e949e242ed721a51a87670642f08cc91
Author: Liang Zhang <te...@163.com>
AuthorDate: Sun Sep 5 07:01:10 2021 +0800

    Add shardingsphere-transaction-api module (#12224)
---
 shardingsphere-kernel/shardingsphere-transaction/pom.xml          | 1 +
 .../pom.xml                                                       | 8 +++++---
 .../transaction/config/TransactionRuleConfiguration.java          | 0
 .../shardingsphere-transaction-core/pom.xml                       | 6 ++++++
 4 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/shardingsphere-kernel/shardingsphere-transaction/pom.xml b/shardingsphere-kernel/shardingsphere-transaction/pom.xml
index b542c7c..d2a40c9 100644
--- a/shardingsphere-kernel/shardingsphere-transaction/pom.xml
+++ b/shardingsphere-kernel/shardingsphere-transaction/pom.xml
@@ -28,6 +28,7 @@
     <name>${project.artifactId}</name>
     
     <modules>
+        <module>shardingsphere-transaction-api</module>
         <module>shardingsphere-transaction-core</module>
         <module>shardingsphere-transaction-type</module>
     </modules>
diff --git a/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-core/pom.xml b/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-api/pom.xml
similarity index 79%
copy from shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-core/pom.xml
copy to shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-api/pom.xml
index 26ae782..f33cf75 100644
--- a/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-core/pom.xml
+++ b/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-api/pom.xml
@@ -16,20 +16,22 @@
   ~ limitations under the License.
   -->
 
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.apache.shardingsphere</groupId>
         <artifactId>shardingsphere-transaction</artifactId>
         <version>5.0.0-RC1-SNAPSHOT</version>
     </parent>
-    <artifactId>shardingsphere-transaction-core</artifactId>
+    <artifactId>shardingsphere-transaction-api</artifactId>
     <name>${project.artifactId}</name>
     
     <dependencies>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
-            <artifactId>shardingsphere-infra-executor</artifactId>
+            <artifactId>shardingsphere-infra-common</artifactId>
             <version>${project.parent.version}</version>
         </dependency>
     </dependencies>
diff --git a/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/config/TransactionRuleConfiguration.java b/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-api/src/main/java/org/apache/shardingsphere/transaction/config/TransactionRuleConfiguration.java
similarity index 100%
rename from shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/config/TransactionRuleConfiguration.java
rename to shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-api/src/main/java/org/apache/shardingsphere/transaction/config/TransactionRuleConfiguration.java
diff --git a/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-core/pom.xml b/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-core/pom.xml
index 26ae782..5067638 100644
--- a/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-core/pom.xml
+++ b/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-core/pom.xml
@@ -29,6 +29,12 @@
     <dependencies>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
+            <artifactId>shardingsphere-transaction-api</artifactId>
+            <version>${project.parent.version}</version>
+        </dependency>
+        
+        <dependency>
+            <groupId>org.apache.shardingsphere</groupId>
             <artifactId>shardingsphere-infra-executor</artifactId>
             <version>${project.parent.version}</version>
         </dependency>