简要描述
有时候会同时使用到多个模块,如果有 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>
简要描述
有时候会同时使用到多个模块,如果有 bom 的话,就不用自己手动管理了,类似下面这样的
然后就是