diff --git a/README.md b/README.md index 3ed311a0..a90ed9a5 100644 --- a/README.md +++ b/README.md @@ -65,11 +65,17 @@ ContiNew Starter(Continue New Starter)是一种特殊类型的 Spring Boot S sonatype-nexus-snapshots Sonatype Nexus Snapshots https://s01.oss.sonatype.org/content/repositories/snapshots/ + + always + true + ``` -2.在项目 pom.xml 中锁定版本,替换 Spring Boot 父依赖/添加 ContiNew Starter 父依赖 +2.在项目 pom.xml 中锁定版本(**下方两种方式请任选其一**) + +第一种方式:如您使用的是 Spring Boot Parent 的方式,则替换 Spring Boot Parent 为 ContiNew Starter ```xml @@ -79,6 +85,30 @@ ContiNew Starter(Continue New Starter)是一种特殊类型的 Spring Boot S ``` +第二种方式:如您使用的是引入 Spring Boot Dependencies 的方式,则替换 Spring Boot Dependencies 为 ContiNew Starter Dependencies + +```xml + + 17 + ${java.version} + ${java.version} + UTF-8 + + + + + + + top.charles7c.continew + continew-starter-dependencies + 1.0.0-SNAPSHOT + pom + import + + + +``` + 3.在项目 pom.xml 中引入所需模块依赖 ```xml