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 2023/04/13 00:29:14 UTC
[shardingsphere] branch master updated: change default h2 dep scope to test (#25133)
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 664f71a281c change default h2 dep scope to test (#25133)
664f71a281c is described below
commit 664f71a281c969dff5be755419a6da1e19654224
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Thu Apr 13 08:28:57 2023 +0800
change default h2 dep scope to test (#25133)
---
agent/plugins/metrics/core/pom.xml | 1 -
mode/type/standalone/repository/provider/jdbc/h2/pom.xml | 1 +
pom.xml | 2 +-
proxy/bootstrap/pom.xml | 5 +++++
test/e2e/fixture/pom.xml | 1 +
5 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/agent/plugins/metrics/core/pom.xml b/agent/plugins/metrics/core/pom.xml
index 5642a27c94c..7862c40ba3c 100644
--- a/agent/plugins/metrics/core/pom.xml
+++ b/agent/plugins/metrics/core/pom.xml
@@ -103,7 +103,6 @@
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
- <scope>test</scope>
</dependency>
</dependencies>
diff --git a/mode/type/standalone/repository/provider/jdbc/h2/pom.xml b/mode/type/standalone/repository/provider/jdbc/h2/pom.xml
index bd4a2cf01e8..34236fdbcc8 100644
--- a/mode/type/standalone/repository/provider/jdbc/h2/pom.xml
+++ b/mode/type/standalone/repository/provider/jdbc/h2/pom.xml
@@ -48,6 +48,7 @@
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
+ <scope>runtime</scope>
</dependency>
</dependencies>
</project>
diff --git a/pom.xml b/pom.xml
index 80172a6a206..ff2647afb8f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -481,7 +481,7 @@
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>${h2.version}</version>
- <scope>runtime</scope>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
diff --git a/proxy/bootstrap/pom.xml b/proxy/bootstrap/pom.xml
index 3f0ccfbaeb1..c57123419ea 100644
--- a/proxy/bootstrap/pom.xml
+++ b/proxy/bootstrap/pom.xml
@@ -78,6 +78,11 @@
<artifactId>shardingsphere-standalone-mode-core</artifactId>
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-standalone-mode-repository-jdbc-h2</artifactId>
+ <version>${project.version}</version>
+ </dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>shardingsphere-cluster-mode-repository-zookeeper</artifactId>
diff --git a/test/e2e/fixture/pom.xml b/test/e2e/fixture/pom.xml
index 38d30187c27..a1ba4da0301 100644
--- a/test/e2e/fixture/pom.xml
+++ b/test/e2e/fixture/pom.xml
@@ -71,6 +71,7 @@
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
+ <scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.zaxxer</groupId>