2021-01-20 17:10:45 +08:00
|
|
|
|
<?xml version='1.0' encoding='utf-8'?>
|
2023-03-27 03:28:19 +08:00
|
|
|
|
<!--
|
2025-01-01 23:44:09 +08:00
|
|
|
|
~ Copyright (c) 2013-2025 Hutool Team and hutool.cn
|
2024-09-06 00:06:14 +08:00
|
|
|
|
~
|
|
|
|
|
|
~ 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.
|
2023-03-27 03:28:19 +08:00
|
|
|
|
-->
|
|
|
|
|
|
|
2021-01-20 17:10:45 +08:00
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
2021-07-12 20:22:30 +08:00
|
|
|
|
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">
|
2021-01-20 17:10:45 +08:00
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
|
|
2025-04-15 17:02:41 +08:00
|
|
|
|
<groupId>cn.hutool.v7</groupId>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
<artifactId>hutool-parent</artifactId>
|
2025-10-14 21:26:16 +08:00
|
|
|
|
<version>7.0.0-M3</version>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
<name>hutool</name>
|
2023-05-04 14:54:20 +08:00
|
|
|
|
<description>
|
2023-05-07 23:10:54 +08:00
|
|
|
|
Hutool是一个功能丰富且易用的Java工具库,通过诸多实用工具类的使用,旨在帮助开发者快速、便捷地完成各类开发任务。这些封装的工具涵盖了字符串、数字、集合、编码、日期、文件、IO、加密、数据库JDBC、JSON、HTTP客户端等一系列操作,可以满足各种不同的开发需求。
|
2023-05-04 14:54:20 +08:00
|
|
|
|
</description>
|
2025-04-17 10:55:02 +08:00
|
|
|
|
<url>https://github.com/chinabugotech/hutool</url>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
|
|
|
|
|
|
<modules>
|
|
|
|
|
|
<module>hutool-all</module>
|
|
|
|
|
|
<module>hutool-bom</module>
|
|
|
|
|
|
<module>hutool-core</module>
|
|
|
|
|
|
<module>hutool-cron</module>
|
|
|
|
|
|
<module>hutool-crypto</module>
|
|
|
|
|
|
<module>hutool-db</module>
|
|
|
|
|
|
<module>hutool-extra</module>
|
|
|
|
|
|
<module>hutool-http</module>
|
|
|
|
|
|
<module>hutool-log</module>
|
|
|
|
|
|
<module>hutool-setting</module>
|
|
|
|
|
|
<module>hutool-json</module>
|
|
|
|
|
|
<module>hutool-poi</module>
|
|
|
|
|
|
<module>hutool-socket</module>
|
2022-04-28 01:30:17 +08:00
|
|
|
|
<module>hutool-swing</module>
|
2025-03-19 15:31:36 +08:00
|
|
|
|
<module>hutool-ai</module>
|
2022-02-11 17:35:05 +08:00
|
|
|
|
</modules>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
|
|
|
|
|
<project.reporting.outputEncoding>utf-8</project.reporting.outputEncoding>
|
2025-04-15 17:02:41 +08:00
|
|
|
|
<Automatic-Module-Name>cn.hutool.v7</Automatic-Module-Name>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
|
|
|
|
|
|
<!-- versions -->
|
2025-04-15 17:02:41 +08:00
|
|
|
|
<compile.version>17</compile.version>
|
2025-10-12 03:52:50 +08:00
|
|
|
|
<junit.version>6.0.0</junit.version>
|
|
|
|
|
|
<lombok.version>1.18.42</lombok.version>
|
|
|
|
|
|
<kotlin-version>2.2.20</kotlin-version>
|
|
|
|
|
|
<bouncycastle.version>1.82</bouncycastle.version>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
2024-07-15 20:03:24 +08:00
|
|
|
|
<!-- Kotlin适配,用于在测试中使用kotlin代码 -->
|
2023-05-04 16:18:19 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
|
|
<artifactId>kotlin-reflect</artifactId>
|
|
|
|
|
|
<version>${kotlin-version}</version>
|
2024-07-15 20:03:24 +08:00
|
|
|
|
<scope>test</scope>
|
2023-05-04 16:18:19 +08:00
|
|
|
|
</dependency>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
<!-- 全局单元测试 -->
|
|
|
|
|
|
<dependency>
|
2023-03-31 02:56:36 +08:00
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
<version>${junit.version}</version>
|
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
|
<version>${lombok.version}</version>
|
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
<issueManagement>
|
|
|
|
|
|
<system>Github Issue</system>
|
2025-04-17 10:55:02 +08:00
|
|
|
|
<url>https://github.com/chinabugotech/hutool/issues</url>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
</issueManagement>
|
|
|
|
|
|
|
|
|
|
|
|
<licenses>
|
|
|
|
|
|
<license>
|
2025-04-01 16:17:44 +08:00
|
|
|
|
<name>Apache License Version 2.0</name>
|
|
|
|
|
|
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
</license>
|
|
|
|
|
|
</licenses>
|
|
|
|
|
|
|
|
|
|
|
|
<developers>
|
2025-04-01 16:17:44 +08:00
|
|
|
|
<developer>
|
|
|
|
|
|
<name>bugo</name>
|
|
|
|
|
|
<email>bugo@bugotech.cn</email>
|
|
|
|
|
|
</developer>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
<developer>
|
|
|
|
|
|
<name>Looly</name>
|
|
|
|
|
|
<email>loolly@gmail.com</email>
|
|
|
|
|
|
</developer>
|
2023-03-31 10:32:36 +08:00
|
|
|
|
<developer>
|
|
|
|
|
|
<name>VampireAchao</name>
|
|
|
|
|
|
<email>VampireAchao@dromara.org</email>
|
|
|
|
|
|
</developer>
|
2024-07-15 20:03:24 +08:00
|
|
|
|
<developer>
|
|
|
|
|
|
<name>CherryRum</name>
|
|
|
|
|
|
<email>yulin.1996@foxmail.com</email>
|
|
|
|
|
|
</developer>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
</developers>
|
|
|
|
|
|
|
|
|
|
|
|
<scm>
|
2025-04-01 16:17:44 +08:00
|
|
|
|
<connection>scm:git@github.com:chinabugotech/hutool.git</connection>
|
|
|
|
|
|
<developerConnection>scm:git@github.com:chinabugotech/hutool.git</developerConnection>
|
|
|
|
|
|
<url>git@github.com:chinabugotech/hutool.git</url>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
</scm>
|
|
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
|
<plugins>
|
2023-05-04 14:54:20 +08:00
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
|
|
|
|
<version>${kotlin-version}</version>
|
|
|
|
|
|
<extensions>true</extensions>
|
|
|
|
|
|
<executions>
|
|
|
|
|
|
<execution>
|
|
|
|
|
|
<id>compile</id>
|
|
|
|
|
|
<goals>
|
|
|
|
|
|
<goal>compile</goal>
|
|
|
|
|
|
</goals>
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<sourceDirs>
|
|
|
|
|
|
<sourceDir>${project.basedir}/src/main/java</sourceDir>
|
|
|
|
|
|
</sourceDirs>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
</execution>
|
|
|
|
|
|
<execution>
|
|
|
|
|
|
<id>test-compile</id>
|
|
|
|
|
|
<goals>
|
|
|
|
|
|
<goal>test-compile</goal>
|
|
|
|
|
|
</goals>
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<sourceDirs>
|
|
|
|
|
|
<sourceDir>${project.basedir}/src/test/java</sourceDir>
|
|
|
|
|
|
</sourceDirs>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
</execution>
|
|
|
|
|
|
</executions>
|
|
|
|
|
|
</plugin>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2025-10-27 02:05:17 +08:00
|
|
|
|
<version>3.14.1</version>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
<configuration>
|
2024-07-15 20:03:24 +08:00
|
|
|
|
<fork>true</fork>
|
2025-06-23 20:13:47 +08:00
|
|
|
|
<encoding>UTF-8</encoding>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
<source>${compile.version}</source>
|
|
|
|
|
|
<target>${compile.version}</target>
|
2024-07-15 20:03:24 +08:00
|
|
|
|
<!-- 编译时启用警告位置 -->
|
2022-04-17 16:36:28 +08:00
|
|
|
|
<compilerArgument>-Xlint:unchecked</compilerArgument>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
</configuration>
|
|
|
|
|
|
</plugin>
|
2023-02-28 20:50:23 +08:00
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
2024-07-15 18:43:31 +08:00
|
|
|
|
<version>3.4.2</version>
|
2023-02-28 20:50:23 +08:00
|
|
|
|
<configuration>
|
|
|
|
|
|
<archive>
|
|
|
|
|
|
<index>true</index>
|
|
|
|
|
|
<manifest>
|
|
|
|
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
|
|
|
|
</manifest>
|
|
|
|
|
|
<manifestEntries>
|
|
|
|
|
|
<Build-OS>${os.name}</Build-OS>
|
2024-07-15 18:43:31 +08:00
|
|
|
|
<Built-By>Looly</Built-By>
|
2023-02-28 20:50:23 +08:00
|
|
|
|
<Build-Jdk>${java.version}</Build-Jdk>
|
|
|
|
|
|
<Build-Timestamp>${maven.build.timestamp}</Build-Timestamp>
|
2023-03-01 18:48:32 +08:00
|
|
|
|
<Automatic-Module-Name>${Automatic-Module-Name}</Automatic-Module-Name>
|
2023-02-28 20:50:23 +08:00
|
|
|
|
</manifestEntries>
|
|
|
|
|
|
</archive>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
</plugin>
|
2025-06-23 19:26:51 +08:00
|
|
|
|
<!-- 单元测试 -->
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2025-10-27 02:05:17 +08:00
|
|
|
|
<version>3.5.4</version>
|
2025-06-23 19:26:51 +08:00
|
|
|
|
</plugin>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
<!-- Javadoc -->
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
2025-10-27 02:05:17 +08:00
|
|
|
|
<version>3.12.0</version>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
<executions>
|
|
|
|
|
|
<execution>
|
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
|
<goals>
|
|
|
|
|
|
<goal>jar</goal>
|
|
|
|
|
|
</goals>
|
|
|
|
|
|
</execution>
|
|
|
|
|
|
</executions>
|
2025-06-23 17:24:25 +08:00
|
|
|
|
<configuration>
|
2025-06-23 20:17:42 +08:00
|
|
|
|
<encoding>UTF-8</encoding>
|
2025-06-23 17:24:25 +08:00
|
|
|
|
<source>${compile.version}</source>
|
2025-06-23 19:58:03 +08:00
|
|
|
|
<release>${compile.version}</release>
|
2025-06-27 11:58:05 +08:00
|
|
|
|
<failOnError>false</failOnError>
|
2025-06-23 17:24:25 +08:00
|
|
|
|
</configuration>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
</plugin>
|
2023-03-27 02:09:59 +08:00
|
|
|
|
<!-- 统一更新pom版本 -->
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
|
|
<artifactId>versions-maven-plugin</artifactId>
|
2025-10-27 02:05:17 +08:00
|
|
|
|
<version>2.19.1</version>
|
2023-03-27 02:09:59 +08:00
|
|
|
|
<configuration>
|
|
|
|
|
|
<generateBackupPoms>false</generateBackupPoms>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
</plugin>
|
2023-03-27 02:22:06 +08:00
|
|
|
|
<!-- 测试覆盖度 -->
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
|
|
<artifactId>cobertura-maven-plugin</artifactId>
|
|
|
|
|
|
<version>2.7</version>
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<formats>
|
|
|
|
|
|
<format>html</format>
|
|
|
|
|
|
<format>xml</format>
|
|
|
|
|
|
</formats>
|
|
|
|
|
|
<check/>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
</plugin>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
</plugins>
|
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
|
|
<profile>
|
|
|
|
|
|
<id>release</id>
|
|
|
|
|
|
<distributionManagement>
|
|
|
|
|
|
<snapshotRepository>
|
|
|
|
|
|
<id>oss</id>
|
|
|
|
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
|
|
|
|
|
</snapshotRepository>
|
|
|
|
|
|
<repository>
|
|
|
|
|
|
<id>oss</id>
|
|
|
|
|
|
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
|
|
|
|
|
</repository>
|
|
|
|
|
|
</distributionManagement>
|
|
|
|
|
|
<build>
|
|
|
|
|
|
<plugins>
|
|
|
|
|
|
<!-- Source -->
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
2024-08-06 15:18:56 +08:00
|
|
|
|
<version>3.3.1</version>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
<executions>
|
|
|
|
|
|
<execution>
|
|
|
|
|
|
<id>oss</id>
|
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
|
<goals>
|
|
|
|
|
|
<goal>jar-no-fork</goal>
|
|
|
|
|
|
</goals>
|
|
|
|
|
|
</execution>
|
|
|
|
|
|
</executions>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
<!-- Gpg Signature -->
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
2024-10-08 11:09:31 +08:00
|
|
|
|
<!-- 固定1.6,高版本签名失败 -->
|
2023-06-17 01:38:10 +08:00
|
|
|
|
<version>1.6</version>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
<executions>
|
|
|
|
|
|
<execution>
|
|
|
|
|
|
<id>oss</id>
|
|
|
|
|
|
<phase>verify</phase>
|
|
|
|
|
|
<goals>
|
|
|
|
|
|
<goal>sign</goal>
|
|
|
|
|
|
</goals>
|
|
|
|
|
|
</execution>
|
|
|
|
|
|
</executions>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
<plugin>
|
2024-12-25 19:08:25 +08:00
|
|
|
|
<groupId>org.sonatype.central</groupId>
|
|
|
|
|
|
<artifactId>central-publishing-maven-plugin</artifactId>
|
2025-10-27 02:05:17 +08:00
|
|
|
|
<version>0.9.0</version>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
<extensions>true</extensions>
|
|
|
|
|
|
<configuration>
|
2025-07-22 10:57:13 +08:00
|
|
|
|
<publishingServerId>central</publishingServerId>
|
2024-12-25 19:12:34 +08:00
|
|
|
|
<!-- 自动发布 -->
|
2025-07-22 10:57:13 +08:00
|
|
|
|
<autoPublish>false</autoPublish>
|
2024-12-25 19:12:34 +08:00
|
|
|
|
<!-- 等待发布 -->
|
2025-07-22 10:57:13 +08:00
|
|
|
|
<!-- <waitUntil>published</waitUntil> -->
|
2021-01-20 17:10:45 +08:00
|
|
|
|
</configuration>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
</plugins>
|
|
|
|
|
|
</build>
|
|
|
|
|
|
</profile>
|
|
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
|
|
|
|
</project>
|