2021-01-20 17:10:45 +08:00
|
|
|
|
<?xml version='1.0' encoding='utf-8'?>
|
2023-03-27 03:28:19 +08:00
|
|
|
|
<!--
|
|
|
|
|
~ Copyright (c) 2023 looly(loolly@aliyun.com)
|
|
|
|
|
~ Hutool is licensed under Mulan PSL v2.
|
|
|
|
|
~ You can use this software according to the terms and conditions of the Mulan PSL v2.
|
|
|
|
|
~ You may obtain a copy of Mulan PSL v2 at:
|
|
|
|
|
~ http://license.coscl.org.cn/MulanPSL2
|
|
|
|
|
~ THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
|
|
|
|
|
~ EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
|
|
|
|
|
~ MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
|
|
|
|
|
~ See the Mulan PSL v2 for more details.
|
|
|
|
|
-->
|
|
|
|
|
|
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>
|
|
|
|
|
|
2023-04-03 02:32:22 +08:00
|
|
|
|
<groupId>org.dromara.hutool</groupId>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
<artifactId>hutool-parent</artifactId>
|
2023-03-27 02:28:49 +08:00
|
|
|
|
<version>6.0.0.M3</version>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
<name>hutool</name>
|
2023-05-04 14:54:20 +08:00
|
|
|
|
<description>
|
|
|
|
|
Hutool是一个小而全的Java工具类库,通过静态方法封装,降低相关API的学习成本,提高工作效率,使Java拥有函数式语言般的优雅,让Java语言也可以“甜甜的”。
|
|
|
|
|
</description>
|
2021-08-30 10:59:11 +08:00
|
|
|
|
<url>https://github.com/dromara/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>
|
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>
|
2023-04-03 02:32:22 +08:00
|
|
|
|
<Automatic-Module-Name>org.dromara.hutool</Automatic-Module-Name>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
|
|
|
|
|
<!-- versions -->
|
|
|
|
|
<compile.version>8</compile.version>
|
2023-02-28 21:03:34 +08:00
|
|
|
|
<junit.version>5.9.2</junit.version>
|
|
|
|
|
<lombok.version>1.18.26</lombok.version>
|
2023-05-04 13:54:30 +08:00
|
|
|
|
<kotlin-version>1.8.21</kotlin-version>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
2023-05-04 16:18:19 +08:00
|
|
|
|
<!-- Kotlin适配,用于在测试和编译中使用kotlin代码 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
|
<artifactId>kotlin-reflect</artifactId>
|
|
|
|
|
<version>${kotlin-version}</version>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</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>
|
2021-03-15 11:25:29 +08:00
|
|
|
|
<url>https://github.com/dromara/hutool/issues</url>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
</issueManagement>
|
|
|
|
|
|
|
|
|
|
<licenses>
|
|
|
|
|
<license>
|
2021-08-30 10:59:11 +08:00
|
|
|
|
<name>Mulan Permissive Software License,Version 2</name>
|
2021-03-12 20:58:14 +08:00
|
|
|
|
<url>https://license.coscl.org.cn/MulanPSL2</url>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
</license>
|
|
|
|
|
</licenses>
|
|
|
|
|
|
|
|
|
|
<developers>
|
|
|
|
|
<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>
|
|
|
|
|
<developer>
|
|
|
|
|
<name>Emptypoint</name>
|
|
|
|
|
<email>1215582715@qq.com</email>
|
|
|
|
|
</developer>
|
|
|
|
|
<developer>
|
|
|
|
|
<name>Createsequence</name>
|
|
|
|
|
<email>cn.createsequence@gmail.com</email>
|
|
|
|
|
</developer>
|
|
|
|
|
<developer>
|
|
|
|
|
<name>TianPeiRong</name>
|
|
|
|
|
<email>canghaihongxin@163.com</email>
|
|
|
|
|
</developer>
|
|
|
|
|
<developer>
|
|
|
|
|
<name>Dazer007</name>
|
|
|
|
|
<email>dazer007@163.com</email>
|
|
|
|
|
</developer>
|
|
|
|
|
<developer>
|
|
|
|
|
<name>CherryRum</name>
|
|
|
|
|
<email>yulin.1996@foxmail.com</email>
|
|
|
|
|
</developer>
|
|
|
|
|
<developer>
|
|
|
|
|
<name>Aihuahua</name>
|
|
|
|
|
<email>aihuahua522@qq.com</email>
|
|
|
|
|
</developer>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
</developers>
|
|
|
|
|
|
|
|
|
|
<scm>
|
2021-03-15 11:25:29 +08:00
|
|
|
|
<connection>scm:git@github.com:dromara/hutool.git</connection>
|
|
|
|
|
<developerConnection>scm:git@github.com:dromara/hutool.git</developerConnection>
|
|
|
|
|
<url>git@github.com:dromara/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>
|
|
|
|
|
<version>3.8.1</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<source>${compile.version}</source>
|
|
|
|
|
<target>${compile.version}</target>
|
2022-04-17 16:36:28 +08:00
|
|
|
|
<compilerArgument>-Xlint:unchecked</compilerArgument>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
2023-03-31 08:52:28 +08:00
|
|
|
|
<!-- 单元测试 -->
|
2023-03-31 03:38:11 +08:00
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
|
<version>3.0.0</version>
|
|
|
|
|
</plugin>
|
2023-02-28 20:50:23 +08:00
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
2023-02-28 21:08:38 +08:00
|
|
|
|
<version>3.3.0</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>
|
|
|
|
|
<Built-By>${user.name}</Built-By>
|
|
|
|
|
<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>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
<!-- Javadoc -->
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
2022-07-29 23:38:03 +08:00
|
|
|
|
<version>3.4.0</version>
|
2021-01-20 17:10:45 +08:00
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>jar</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
2022-07-29 23:38:03 +08:00
|
|
|
|
<configuration>
|
|
|
|
|
<tags>
|
|
|
|
|
<tag>
|
|
|
|
|
<name>apiNote</name>
|
|
|
|
|
<placement>a</placement>
|
|
|
|
|
<head>API Note:</head>
|
|
|
|
|
</tag>
|
|
|
|
|
<tag>
|
|
|
|
|
<name>implSpec</name>
|
|
|
|
|
<placement>a</placement>
|
|
|
|
|
<head>Implementation Requirements:</head>
|
|
|
|
|
</tag>
|
|
|
|
|
<tag>
|
|
|
|
|
<name>implNote</name>
|
|
|
|
|
<placement>a</placement>
|
|
|
|
|
<head>Implementation Note:</head>
|
|
|
|
|
</tag>
|
2023-05-04 14:54:20 +08:00
|
|
|
|
<tag>
|
|
|
|
|
<name>param</name>
|
|
|
|
|
</tag>
|
|
|
|
|
<tag>
|
|
|
|
|
<name>return</name>
|
|
|
|
|
</tag>
|
|
|
|
|
<tag>
|
|
|
|
|
<name>throws</name>
|
|
|
|
|
</tag>
|
|
|
|
|
<tag>
|
|
|
|
|
<name>since</name>
|
|
|
|
|
</tag>
|
|
|
|
|
<tag>
|
|
|
|
|
<name>version</name>
|
|
|
|
|
</tag>
|
|
|
|
|
<tag>
|
|
|
|
|
<name>serialData</name>
|
|
|
|
|
</tag>
|
|
|
|
|
<tag>
|
|
|
|
|
<name>see</name>
|
|
|
|
|
</tag>
|
2022-07-29 23:38:03 +08:00
|
|
|
|
</tags>
|
|
|
|
|
</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>
|
|
|
|
|
<version>2.15.0</version>
|
|
|
|
|
<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>
|
|
|
|
|
<version>3.2.1</version>
|
|
|
|
|
<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>
|
|
|
|
|
<version>1.6</version>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>oss</id>
|
|
|
|
|
<phase>verify</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>sign</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
|
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
|
|
|
|
<version>1.6.8</version>
|
|
|
|
|
<extensions>true</extensions>
|
|
|
|
|
<configuration>
|
|
|
|
|
<serverId>oss</serverId>
|
|
|
|
|
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
|
|
|
|
<autoReleaseAfterClose>true</autoReleaseAfterClose>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
</profile>
|
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
|
|
</project>
|