Skip to content

是否考虑增加 bom 进行依赖管理呢 #3971

@zhujianxintian

Description

@zhujianxintian

简要描述

有时候会同时使用到多个模块,如果有 bom 的话,就不用自己手动管理了,类似下面这样的

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-dependencies</artifactId>
    <version>${spring-boot.version}</version>
    <type>pom</type>
    <scope>import</scope>
</dependency>

然后就是

<dependency>
    <groupId>com.github.binarywang</groupId>
    <artifactId>wx-java-bom</artifactId>
    <version>${wx-java.version}</version>
    <type>pom</type>
    <scope>import</scope>
</dependency>

<!-- 或者下面这个命名 -->
<dependency>
    <groupId>com.github.binarywang</groupId>
    <artifactId>wx-java-dependencies</artifactId>
    <version>${wx-java.version}</version>
    <type>pom</type>
    <scope>import</scope>
</dependency>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions