You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by pa...@apache.org on 2021/08/24 05:16:04 UTC
[shardingsphere] branch master updated: Add
shardingsphere-infra-memory-mode-core module (#11972)
This is an automated email from the ASF dual-hosted git repository.
panjuan 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 6a32ab8 Add shardingsphere-infra-memory-mode-core module (#11972)
6a32ab8 is described below
commit 6a32ab8334a0618b7a9a3f07ba0abc35ad08e30f
Author: Liang Zhang <te...@163.com>
AuthorDate: Tue Aug 24 13:15:29 2021 +0800
Add shardingsphere-infra-memory-mode-core module (#11972)
---
.../shardingsphere-infra-memory-mode/pom.xml | 11 ++++-------
.../{ => shardingsphere-infra-memory-mode-core}/pom.xml | 4 ++--
.../mode/manager/memory/MemoryContextManagerBuilder.java | 0
...he.shardingsphere.infra.mode.manager.ContextManagerBuilder | 0
shardingsphere-jdbc/shardingsphere-jdbc-core/pom.xml | 7 +------
shardingsphere-proxy/shardingsphere-proxy-backend/pom.xml | 7 +------
shardingsphere-proxy/shardingsphere-proxy-common/pom.xml | 7 +------
7 files changed, 9 insertions(+), 27 deletions(-)
diff --git a/shardingsphere-infra/shardingsphere-infra-mode/shardingsphere-infra-mode-type/shardingsphere-infra-memory-mode/pom.xml b/shardingsphere-infra/shardingsphere-infra-mode/shardingsphere-infra-mode-type/shardingsphere-infra-memory-mode/pom.xml
index 7b3221b..83d7f62 100644
--- a/shardingsphere-infra/shardingsphere-infra-mode/shardingsphere-infra-mode-type/shardingsphere-infra-memory-mode/pom.xml
+++ b/shardingsphere-infra/shardingsphere-infra-mode/shardingsphere-infra-mode-type/shardingsphere-infra-memory-mode/pom.xml
@@ -26,13 +26,10 @@
<version>5.0.0-RC1-SNAPSHOT</version>
</parent>
<artifactId>shardingsphere-infra-memory-mode</artifactId>
+ <packaging>pom</packaging>
<name>${project.artifactId}</name>
- <dependencies>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-infra-mode-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
+ <modules>
+ <module>shardingsphere-infra-memory-mode-core</module>
+ </modules>
</project>
diff --git a/shardingsphere-infra/shardingsphere-infra-mode/shardingsphere-infra-mode-type/shardingsphere-infra-memory-mode/pom.xml b/shardingsphere-infra/shardingsphere-infra-mode/shardingsphere-infra-mode-type/shardingsphere-infra-memory-mode/shardingsphere-infra-memory-mode-core/pom.xml
similarity index 92%
copy from shardingsphere-infra/shardingsphere-infra-mode/shardingsphere-infra-mode-type/shardingsphere-infra-memory-mode/pom.xml
copy to shardingsphere-infra/shardingsphere-infra-mode/shardingsphere-infra-mode-type/shardingsphere-infra-memory-mode/shardingsphere-infra-memory-mode-core/pom.xml
index 7b3221b..493a0d3 100644
--- a/shardingsphere-infra/shardingsphere-infra-mode/shardingsphere-infra-mode-type/shardingsphere-infra-memory-mode/pom.xml
+++ b/shardingsphere-infra/shardingsphere-infra-mode/shardingsphere-infra-mode-type/shardingsphere-infra-memory-mode/shardingsphere-infra-memory-mode-core/pom.xml
@@ -22,10 +22,10 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-infra-mode-type</artifactId>
+ <artifactId>shardingsphere-infra-memory-mode</artifactId>
<version>5.0.0-RC1-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-infra-memory-mode</artifactId>
+ <artifactId>shardingsphere-infra-memory-mode-core</artifactId>
<name>${project.artifactId}</name>
<dependencies>
diff --git a/shardingsphere-infra/shardingsphere-infra-mode/shardingsphere-infra-mode-type/shardingsphere-infra-memory-mode/src/main/java/org/apache/shardingsphere/infra/mode/manager/memory/MemoryContextManagerBuilder.java b/shardingsphere-infra/shardingsphere-infra-mode/shardingsphere-infra-mode-type/shardingsphere-infra-memory-mode/shardingsphere-infra-memory-mode-core/src/main/java/org/apache/shardingsphere/infra/mode/manager/memory/MemoryContextManagerBuilder.java
similarity index 100%
rename from shardingsphere-infra/shardingsphere-infra-mode/shardingsphere-infra-mode-type/shardingsphere-infra-memory-mode/src/main/java/org/apache/shardingsphere/infra/mode/manager/memory/MemoryContextManagerBuilder.java
rename to shardingsphere-infra/shardingsphere-infra-mode/shardingsphere-infra-mode-type/shardingsphere-infra-memory-mode/shardingsphere-infra-memory-mode-core/src/main/java/org/apache/shardingsphere/infra/mode/manager/memory/MemoryContextManagerBuilder.java
diff --git a/shardingsphere-infra/shardingsphere-infra-mode/shardingsphere-infra-mode-type/shardingsphere-infra-memory-mode/src/main/resources/META-INF/services/org.apache.shardingsphere.infra.mode.manager.ContextManagerBuilder b/shardingsphere-infra/shardingsphere-infra-mode/shardingsphere-infra-mode-type/shardingsphere-infra-memory-mode/shardingsphere-infra-memory-mode-core/src/main/resources/META-INF/services/org.apache.shardingsphere.infra.mode.manager.ContextManagerBuilder
similarity index 100%
rename from shardingsphere-infra/shardingsphere-infra-mode/shardingsphere-infra-mode-type/shardingsphere-infra-memory-mode/src/main/resources/META-INF/services/org.apache.shardingsphere.infra.mode.manager.ContextManagerBuilder
rename to shardingsphere-infra/shardingsphere-infra-mode/shardingsphere-infra-mode-type/shardingsphere-infra-memory-mode/shardingsphere-infra-memory-mode-core/src/main/resources/META-INF/services/org.apache.shardingsphere.infra.mode.manager.ContextManagerBuilder
diff --git a/shardingsphere-jdbc/shardingsphere-jdbc-core/pom.xml b/shardingsphere-jdbc/shardingsphere-jdbc-core/pom.xml
index 70f5199..b896fbc 100644
--- a/shardingsphere-jdbc/shardingsphere-jdbc-core/pom.xml
+++ b/shardingsphere-jdbc/shardingsphere-jdbc-core/pom.xml
@@ -69,12 +69,7 @@
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-infra-mode-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-infra-memory-mode</artifactId>
+ <artifactId>shardingsphere-infra-memory-mode-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
diff --git a/shardingsphere-proxy/shardingsphere-proxy-backend/pom.xml b/shardingsphere-proxy/shardingsphere-proxy-backend/pom.xml
index 1fa637f..a9d40d7 100644
--- a/shardingsphere-proxy/shardingsphere-proxy-backend/pom.xml
+++ b/shardingsphere-proxy/shardingsphere-proxy-backend/pom.xml
@@ -64,12 +64,7 @@
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-infra-mode-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-infra-memory-mode</artifactId>
+ <artifactId>shardingsphere-infra-memory-mode-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
diff --git a/shardingsphere-proxy/shardingsphere-proxy-common/pom.xml b/shardingsphere-proxy/shardingsphere-proxy-common/pom.xml
index a37292b..577d900 100644
--- a/shardingsphere-proxy/shardingsphere-proxy-common/pom.xml
+++ b/shardingsphere-proxy/shardingsphere-proxy-common/pom.xml
@@ -39,12 +39,7 @@
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-infra-mode-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-infra-memory-mode</artifactId>
+ <artifactId>shardingsphere-infra-memory-mode-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>