This is an automated email from the ASF dual-hosted git repository.
menghaoran 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 5ca0b0a Refactor pom for shardingsphere-sql-parser (#16349)
5ca0b0a is described below
commit 5ca0b0ad34a06097593f173f54d950976ca8a8de
Author: Liang Zhang <[email protected]>
AuthorDate: Fri Mar 25 00:31:01 2022 +0800
Refactor pom for shardingsphere-sql-parser (#16349)
* Refactor pom
* Refactor pom for shardingsphere-sql-parser
* Refactor pom for shardingsphere-db-protocol
---
shardingsphere-db-protocol/pom.xml | 4 ++--
.../shardingsphere-db-protocol-opengauss/pom.xml | 2 +-
.../shardingsphere-sql-parser-dialect/pom.xml | 19 +++++++++++++++++--
.../shardingsphere-sql-parser-mysql/pom.xml | 15 ---------------
.../shardingsphere-sql-parser-opengauss/pom.xml | 17 +----------------
.../shardingsphere-sql-parser-oracle/pom.xml | 15 ---------------
.../shardingsphere-sql-parser-postgresql/pom.xml | 15 ---------------
.../shardingsphere-sql-parser-sql92/pom.xml | 15 ---------------
.../shardingsphere-sql-parser-sqlserver/pom.xml | 15 ---------------
9 files changed, 21 insertions(+), 96 deletions(-)
diff --git a/shardingsphere-db-protocol/pom.xml
b/shardingsphere-db-protocol/pom.xml
index b376251..5f404cf 100644
--- a/shardingsphere-db-protocol/pom.xml
+++ b/shardingsphere-db-protocol/pom.xml
@@ -31,11 +31,11 @@
<modules>
<module>shardingsphere-db-protocol-core</module>
- <module>shardingsphere-db-protocol-mysql</module>
<module>shardingsphere-db-protocol-postgresql</module>
+ <module>shardingsphere-db-protocol-mysql</module>
<module>shardingsphere-db-protocol-opengauss</module>
</modules>
-
+
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
diff --git
a/shardingsphere-db-protocol/shardingsphere-db-protocol-opengauss/pom.xml
b/shardingsphere-db-protocol/shardingsphere-db-protocol-opengauss/pom.xml
index 9ac206a..cb35cd7 100644
--- a/shardingsphere-db-protocol/shardingsphere-db-protocol-opengauss/pom.xml
+++ b/shardingsphere-db-protocol/shardingsphere-db-protocol-opengauss/pom.xml
@@ -27,7 +27,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>shardingsphere-db-protocol-opengauss</artifactId>
<name>${project.artifactId}</name>
-
+
<dependencies>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
diff --git
a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/pom.xml
b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/pom.xml
index f0b0f25..21c2efe 100644
--- a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/pom.xml
+++ b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/pom.xml
@@ -31,10 +31,25 @@
<modules>
<module>shardingsphere-sql-parser-sql92</module>
- <module>shardingsphere-sql-parser-mysql</module>
<module>shardingsphere-sql-parser-postgresql</module>
- <module>shardingsphere-sql-parser-opengauss</module>
+ <module>shardingsphere-sql-parser-mysql</module>
<module>shardingsphere-sql-parser-oracle</module>
<module>shardingsphere-sql-parser-sqlserver</module>
+ <module>shardingsphere-sql-parser-opengauss</module>
</modules>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-parser-engine</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-parser-test</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
</project>
diff --git
a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-mysql/pom.xml
b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-mysql/pom.xml
index 6add60b..cc6203a 100644
---
a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-mysql/pom.xml
+++
b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-mysql/pom.xml
@@ -26,21 +26,6 @@
<artifactId>shardingsphere-sql-parser-mysql</artifactId>
<name>${project.artifactId}</name>
- <dependencies>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-sql-parser-engine</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-test</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
<build>
<plugins>
<plugin>
diff --git
a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-opengauss/pom.xml
b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-opengauss/pom.xml
index 1c0788e..f584316 100644
---
a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-opengauss/pom.xml
+++
b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-opengauss/pom.xml
@@ -27,22 +27,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>shardingsphere-sql-parser-opengauss</artifactId>
<name>${project.artifactId}</name>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-sql-parser-engine</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-test</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
+
<build>
<plugins>
<plugin>
diff --git
a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-oracle/pom.xml
b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-oracle/pom.xml
index 9187250..655bfbf 100644
---
a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-oracle/pom.xml
+++
b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-oracle/pom.xml
@@ -26,21 +26,6 @@
<artifactId>shardingsphere-sql-parser-oracle</artifactId>
<name>${project.artifactId}</name>
- <dependencies>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-sql-parser-engine</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-test</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
<build>
<plugins>
<plugin>
diff --git
a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/pom.xml
b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/pom.xml
index e87fdc2..30ddd45 100644
---
a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/pom.xml
+++
b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/pom.xml
@@ -26,21 +26,6 @@
<artifactId>shardingsphere-sql-parser-postgresql</artifactId>
<name>${project.artifactId}</name>
- <dependencies>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-sql-parser-engine</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-test</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
<build>
<plugins>
<plugin>
diff --git
a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-sql92/pom.xml
b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-sql92/pom.xml
index e898b21..52f1aba 100644
---
a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-sql92/pom.xml
+++
b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-sql92/pom.xml
@@ -26,21 +26,6 @@
<artifactId>shardingsphere-sql-parser-sql92</artifactId>
<name>${project.artifactId}</name>
- <dependencies>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-sql-parser-engine</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-test</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
<build>
<plugins>
<plugin>
diff --git
a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-sqlserver/pom.xml
b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-sqlserver/pom.xml
index ce0e7cd..fc3b4b6 100644
---
a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-sqlserver/pom.xml
+++
b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-sqlserver/pom.xml
@@ -26,21 +26,6 @@
<artifactId>shardingsphere-sql-parser-sqlserver</artifactId>
<name>${project.artifactId}</name>
- <dependencies>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-sql-parser-engine</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-parser-test</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
<build>
<plugins>
<plugin>