mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 17:37:59 +08:00
190 lines
5.2 KiB
XML
Executable File
190 lines
5.2 KiB
XML
Executable File
<?xml version='1.0' encoding='utf-8'?>
|
||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||
<modelVersion>4.0.0</modelVersion>
|
||
|
||
<packaging>jar</packaging>
|
||
|
||
<parent>
|
||
<groupId>cn.hutool</groupId>
|
||
<artifactId>hutool-parent</artifactId>
|
||
<version>5.8.32</version>
|
||
</parent>
|
||
|
||
<artifactId>hutool-db</artifactId>
|
||
<name>${project.artifactId}</name>
|
||
<description>Hutool 数据库JDBC的ORM封装</description>
|
||
|
||
<properties>
|
||
<Automatic-Module-Name>cn.hutool.db</Automatic-Module-Name>
|
||
|
||
<!-- versions -->
|
||
<c3p0.version>0.10.1</c3p0.version>
|
||
<dbcp2.version>2.12.0</dbcp2.version>
|
||
<tomcat-jdbc.version>10.0.23</tomcat-jdbc.version>
|
||
<druid.version>1.2.23</druid.version>
|
||
<!-- 此处固定4.x,支持到JDK8 -->
|
||
<hikariCP.version>4.0.3</hikariCP.version>
|
||
<mongo4.version>4.9.1</mongo4.version>
|
||
<sqlite.version>3.46.0.1</sqlite.version>
|
||
<!-- 此处固定2.5.x,支持到JDK8 -->
|
||
<hsqldb.version>2.5.2</hsqldb.version>
|
||
<jedis.version>5.0.2</jedis.version>
|
||
</properties>
|
||
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>cn.hutool</groupId>
|
||
<artifactId>hutool-core</artifactId>
|
||
<version>${project.parent.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>cn.hutool</groupId>
|
||
<artifactId>hutool-setting</artifactId>
|
||
<version>${project.parent.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>cn.hutool</groupId>
|
||
<artifactId>hutool-log</artifactId>
|
||
<version>${project.parent.version}</version>
|
||
</dependency>
|
||
|
||
<!-- 数据库连接池 -->
|
||
<dependency>
|
||
<groupId>org.apache.tomcat</groupId>
|
||
<artifactId>tomcat-jdbc</artifactId>
|
||
<version>${tomcat-jdbc.version}</version>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>druid</artifactId>
|
||
<version>${druid.version}</version>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.zaxxer</groupId>
|
||
<artifactId>HikariCP</artifactId>
|
||
<version>${hikariCP.version}</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<artifactId>slf4j-api</artifactId>
|
||
<groupId>org.slf4j</groupId>
|
||
</exclusion>
|
||
</exclusions>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.mchange</groupId>
|
||
<artifactId>c3p0</artifactId>
|
||
<version>${c3p0.version}</version>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.github.chris2018998</groupId>
|
||
<artifactId>beecp</artifactId>
|
||
<version>3.5.0</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<artifactId>slf4j-api</artifactId>
|
||
<groupId>org.slf4j</groupId>
|
||
</exclusion>
|
||
</exclusions>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-dbcp2</artifactId>
|
||
<version>${dbcp2.version}</version>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.mongodb</groupId>
|
||
<artifactId>mongodb-driver-sync</artifactId>
|
||
<version>${mongo4.version}</version>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
<!-- Redis Java客户端 -->
|
||
<dependency>
|
||
<groupId>redis.clients</groupId>
|
||
<artifactId>jedis</artifactId>
|
||
<version>${jedis.version}</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<artifactId>slf4j-api</artifactId>
|
||
<groupId>org.slf4j</groupId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<artifactId>commons-pool2</artifactId>
|
||
<groupId>org.apache.commons</groupId>
|
||
</exclusion>
|
||
</exclusions>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
|
||
<!-- 测试用依赖 -->
|
||
<dependency>
|
||
<groupId>org.xerial</groupId>
|
||
<artifactId>sqlite-jdbc</artifactId>
|
||
<version>${sqlite.version}</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.hsqldb</groupId>
|
||
<artifactId>hsqldb</artifactId>
|
||
<version>${hsqldb.version}</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.mysql</groupId>
|
||
<artifactId>mysql-connector-j</artifactId>
|
||
<version>8.3.0</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.postgresql</groupId>
|
||
<artifactId>postgresql</artifactId>
|
||
<version>42.7.3</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.microsoft.sqlserver</groupId>
|
||
<artifactId>mssql-jdbc</artifactId>
|
||
<version>12.2.0.jre8</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.slf4j</groupId>
|
||
<artifactId>slf4j-simple</artifactId>
|
||
<version>1.7.36</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<!-- H2数据库,版本固定2.2.x ,支持到JDK8 -->
|
||
<dependency>
|
||
<groupId>com.h2database</groupId>
|
||
<artifactId>h2</artifactId>
|
||
<version>2.2.224</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.clickhouse</groupId>
|
||
<artifactId>clickhouse-jdbc</artifactId>
|
||
<version>0.6.3</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.dameng</groupId>
|
||
<artifactId>DmJdbcDriver18</artifactId>
|
||
<version>8.1.3.140</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.oracle.database.jdbc</groupId>
|
||
<artifactId>ojdbc8</artifactId>
|
||
<version>23.5.0.24.07</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
</dependencies>
|
||
</project>
|