添加 modul-info.java 暂未完成

This commit is contained in:
choweli
2025-04-18 17:22:55 +08:00
parent bedfa07a8a
commit 2a90c4b7b5
33 changed files with 948 additions and 28 deletions

View File

@@ -42,6 +42,15 @@
<hikariCP.version>6.3.0</hikariCP.version>
<sqlite.version>3.46.0.0</sqlite.version>
<hsqldb.version>2.7.4</hsqldb.version>
<!--log-->
<snakeyaml.version>2.3</snakeyaml.version>
<jboss-logging.version>3.4.3.Final</jboss-logging.version>
<slf4j.version>2.0.9</slf4j.version>
<log4j.version>1.2.17</log4j.version>
<log4j2.version>2.20.0</log4j2.version>
<tinylog.version>1.3.6</tinylog.version>
<tinylog2.version>2.7.0</tinylog2.version>
<commons-logging.version>1.3.4</commons-logging.version>
</properties>
<dependencies>
@@ -167,5 +176,53 @@
<version>2.24.7</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>${snakeyaml.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
<version>${jboss-logging.version}</version>
</dependency>
<!-- 仅用于测试 -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>${slf4j.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>${log4j.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>${log4j2.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.tinylog</groupId>
<artifactId>tinylog</artifactId>
<version>${tinylog.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.tinylog</groupId>
<artifactId>tinylog-api</artifactId>
<version>${tinylog2.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>${commons-logging.version}</version>
<optional>true</optional>
</dependency>
</dependencies>
</project>

View File

@@ -0,0 +1,8 @@
package cn.hutool.v7.db.pojo;
/**
* 为了通过test进行占位
* @author choweli
*/
public class Test {
}

View File

@@ -0,0 +1,53 @@
/*
* Copyright (c) 2025 Hutool Team and hutool.cn
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
*
* @author choweli
*/
module hutool.db {
exports cn.hutool.v7.db;
exports cn.hutool.v7.db.config;
exports cn.hutool.v7.db.ds;
exports cn.hutool.v7.db.ds.bee;
exports cn.hutool.v7.db.ds.c3p0;
exports cn.hutool.v7.db.ds.dbcp;
exports cn.hutool.v7.db.ds.druid;
exports cn.hutool.v7.db.ds.hikari;
exports cn.hutool.v7.db.ds.jndi;
exports cn.hutool.v7.db.ds.pooled;
exports cn.hutool.v7.db.ds.simple;
exports cn.hutool.v7.db.ds.tomcat;
requires hutool.setting;
requires hutool.log;
requires hutool.core;
requires beecp;
requires com.mchange.v2.c3p0;
requires java.desktop;
requires org.apache.commons.dbcp2;
requires druid;
requires com.zaxxer.hikari;
requires java.sql;
requires java.naming;
requires tomcat.jdbc;
opens cn.hutool.v7.db;
opens cn.hutool.v7.db.config;
opens cn.hutool.v7.db.pojo;
}