xmagic-boot-dependencies使用说明
当前版本 1.0.8
JDK版本 JDK17
SpringBoot版本 3.3.7
使用
xmagic-boot-dependencies,增加SpringBoot不包含的三方Starter和版本的统一处理,避免冲突。
Maven
xml
<dependencyManagement>
<dependencies>
<dependency>
<artifactId>xmagic-boot-dependencies</artifactId>
<groupId>tech.xmagic</groupId>
<version>${xmagic-boot-dependencies.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>Gradle
Spring boot 环境中可以开启 apply plugin: "io.spring.dependency-management" 插件。
groovy
dependencyManagement {
imports {
mavenBom "tech.xmagic:xmagic-boot-dependencies:${xmagic-boot-dependencies.version}"
}
}使用 snapshots
注意:snapshots 版本会及时响应,修复最新的 bug 或者必要的需求。
maven
xml
<repositories>
<repository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>gradle
groovy
repositories {
mavenLocal()
maven { url "https://maven.aliyun.com/repository/public" }
maven { url "https://maven.aliyun.com/repository/spring" }
maven { url "https://maven.aliyun.com/repository/spring-plugin" }
maven { url "https://repo.spring.io/libs-release" }
maven { url "https://repo.spring.io/milestone" }
// 添加 snapshots 库地址
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
mavenCentral()
}依赖列表
🏆 mica-auto
版本:3.1.3
xml
<dependency>
<groupId>net.dreamlu</groupId>
<artifactId>mica-auto</artifactId>
</dependency>🏆 mybatis-plus-spring-boot3-starter
版本:3.5.6
xml
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-spring-boot3-starter</artifactId>
</dependency>🏆 mybatis-flex-spring-boot3-starter
版本:1.8.7
xml
<dependency>
<groupId>com.mybatis-flex</groupId>
<artifactId>mybatis-flex-spring-boot3-starter</artifactId>
</dependency>🏆 knife4j-openapi3-jakarta-spring-boot-starter
版本:1.5.5.Final
xml
<dependency>
<groupId>com.github.xiaoymin</groupId>
<artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
</dependency>spring-boot-admin-dependencies
版本:3.2.3
xml
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-dependencies</artifactId>
</dependency>🏆 forest-spring-boot3-starter
版本:1.5.36
xml
<dependency>
<groupId>com.dtflys.forest</groupId>
<artifactId>forest-spring-boot3-starter</artifactId>
</dependency>cosid
版本:2.6.8
xml
<dependency>
<groupId>me.ahoo.cosid</groupId>
<artifactId>cosid-spring-boot-starter</artifactId>
</dependency>