hutool-bom

简介: hutool-bom

一个能思想的人,才真是一个力量无边的人。——巴尔扎克

官方文档

我们在使用hutool时可以像如下方式引入单独引入所需模块:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    <properties>
        <hutool.version>5.7.19</hutool.version>
    </properties>
    <dependencies>
        <!-- hutool -->
        <dependency>
            <groupId>cn.hutool</groupId>
            <artifactId>hutool-core</artifactId>
        </dependency>
        <dependency>
            <groupId>cn.hutool</groupId>
            <artifactId>hutool-http</artifactId>
        </dependency>
        <dependency>
            <groupId>cn.hutool</groupId>
            <artifactId>hutool-extra</artifactId>
        </dependency>
        <!-- hutool-end -->
    </dependencies>
  <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>cn.hutool</groupId>
                <artifactId>hutool-bom</artifactId>
                <version>${hutool.version}</version>
                <type>pom</type>
                <!-- 注意这里是import -->
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>
</project>


非常方便

目录
打赏
0
0
0
0
29
分享
相关文章
hutool动态编译+lombok
hutool动态编译+lombok
180 1
Hutool工具包等常用工具类总结
Hutool工具包等常用工具类总结
668 0
|
11月前
|
Hutool 笔记 日期工具类的使用
Hutool 笔记 日期工具类的使用
376 0
EasyExcel使用与详细说明,EasyExcel工具类(二)
EasyExcel使用与详细说明,EasyExcel工具类
1069 0