Skip to content

Commit

Permalink
Fix Proxy standalone mode startup failure (apache#25482)
Browse files Browse the repository at this point in the history
* add h2 for distribution/proxy/pom.xml, remove useless h2 from agent

* add h2 for metrics/core to test

* optimized format
  • Loading branch information
jiangML authored May 6, 2023
1 parent 9d26e07 commit b9f8a31
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 36 deletions.
12 changes: 0 additions & 12 deletions agent/plugins/metrics/core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@
<artifactId>shardingsphere-infra-context</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
Expand Down Expand Up @@ -79,12 +73,6 @@
<artifactId>shardingsphere-proxy-backend-core</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
Expand Down
12 changes: 0 additions & 12 deletions agent/plugins/metrics/type/prometheus/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,24 +62,12 @@
<artifactId>shardingsphere-proxy-backend-core</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>shardingsphere-infra-context</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
Expand Down
6 changes: 0 additions & 6 deletions agent/plugins/tracing/core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@
<artifactId>shardingsphere-proxy-frontend-core</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</project>
6 changes: 0 additions & 6 deletions agent/plugins/tracing/type/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,6 @@
<artifactId>shardingsphere-proxy-frontend-core</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</project>
5 changes: 5 additions & 0 deletions distribution/proxy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@
<artifactId>logback-classic</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>runtime</scope>
</dependency>
</dependencies>

<profiles>
Expand Down

0 comments on commit b9f8a31

Please sign in to comment.