You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2020/12/16 08:00:29 UTC

[shardingsphere] branch master updated: Create optimize module (#8644)

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

zhangliang 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 b894b5e  Create optimize module (#8644)
b894b5e is described below

commit b894b5ef0372bbe877c61f717da9179332b1caa7
Author: Juan Pan(Trista) <pa...@apache.org>
AuthorDate: Wed Dec 16 16:00:11 2020 +0800

    Create optimize module (#8644)
---
 pom.xml                                            |  8 ++++++++
 shardingsphere-infra/pom.xml                       |  1 +
 .../{ => shardingsphere-infra-optimize}/pom.xml    | 24 ++++++++--------------
 3 files changed, 18 insertions(+), 15 deletions(-)

diff --git a/pom.xml b/pom.xml
index 8e8ed2c..1c51806 100644
--- a/pom.xml
+++ b/pom.xml
@@ -106,6 +106,8 @@
 
         <elasticjob.version>3.0.0-beta</elasticjob.version>
 
+        <calcite.version>1.26.0</calcite.version>
+
         <!-- Plugin versions -->
         <apache-rat-plugin.version>0.12</apache-rat-plugin.version>
         <takari-maven-plugin.version>0.6.1</takari-maven-plugin.version>
@@ -213,6 +215,12 @@
             </dependency>
 
             <dependency>
+                <groupId>org.apache.calcite</groupId>
+                <artifactId>calcite-core</artifactId>
+                <version>${calcite.version}</version>
+            </dependency>
+
+            <dependency>
                 <groupId>javax.transaction</groupId>
                 <artifactId>jta</artifactId>
                 <version>${javax.transaction.version}</version>
diff --git a/shardingsphere-infra/pom.xml b/shardingsphere-infra/pom.xml
index eaab90a..3ed0c87 100644
--- a/shardingsphere-infra/pom.xml
+++ b/shardingsphere-infra/pom.xml
@@ -39,5 +39,6 @@
         <module>shardingsphere-infra-merge</module>
         <module>shardingsphere-infra-context</module>
         <module>shardingsphere-infra-datetime</module>
+        <module>shardingsphere-infra-optimize</module>
     </modules>
 </project>
diff --git a/shardingsphere-infra/pom.xml b/shardingsphere-infra/shardingsphere-infra-optimize/pom.xml
similarity index 66%
copy from shardingsphere-infra/pom.xml
copy to shardingsphere-infra/shardingsphere-infra-optimize/pom.xml
index eaab90a..216f7a6 100644
--- a/shardingsphere-infra/pom.xml
+++ b/shardingsphere-infra/shardingsphere-infra-optimize/pom.xml
@@ -22,22 +22,16 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.apache.shardingsphere</groupId>
-        <artifactId>shardingsphere</artifactId>
+        <artifactId>shardingsphere-infra</artifactId>
         <version>5.0.0-RC1-SNAPSHOT</version>
     </parent>
-    <artifactId>shardingsphere-infra</artifactId>
-    <packaging>pom</packaging>
+    <artifactId>shardingsphere-infra-optimize</artifactId>
     <name>${project.artifactId}</name>
-    
-    <modules>
-        <module>shardingsphere-infra-common</module>
-        <module>shardingsphere-infra-parser</module>
-        <module>shardingsphere-infra-binder</module>
-        <module>shardingsphere-infra-route</module>
-        <module>shardingsphere-infra-rewrite</module>
-        <module>shardingsphere-infra-executor</module>
-        <module>shardingsphere-infra-merge</module>
-        <module>shardingsphere-infra-context</module>
-        <module>shardingsphere-infra-datetime</module>
-    </modules>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.calcite</groupId>
+            <artifactId>calcite-core</artifactId>
+        </dependency>
+    </dependencies>
 </project>