This repository was archived by the owner on Feb 18, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +10
-7
lines changed
docs/content/zh-cn/docs/tutorials/module-create
springboot-samples/slimming Expand file tree Collapse file tree 8 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ spring.application.name = ${替换为实际模块应用名}
2020
2121### 步骤 2:添加模块需要的依赖和打包插件
2222
23+ ** 特别注意** : sofa ark 插件定义顺序必须在 springboot 打包插件前;
2324``` xml
2425
2526<plugins >
Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ base 为普通 springboot 改造成的基座,改造内容为在主 pom 里增
4646
4747### biz1
4848biz1 包含两个打包插件,一个常规 springboot 插件, 构建普通 springboot 包; 另一个插件为 sofaArk biz 模块插件,构建 ark biz jar 包,打包插件配置如下:
49+
50+ ** 特别注意** : sofa ark 插件定义顺序必须在 springboot 打包插件前;
4951``` xml
5052<!-- 模块需要引入专门的 log4j2 adapter 做日志适配 -->
5153<dependency >
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ base 为普通 springboot 改造成的基座,改造内容为在 pom 里增加
1111 <groupId >com.alipay.sofa.serverless</groupId >
1212 <artifactId >sofa-serverless-base-starter</artifactId >
1313 <!-- 以上版本支持springboot3 -->
14- <version >0.5.4 -jdk17</version >
14+ <version >0.5.5 -jdk17</version >
1515</dependency >
1616
1717<dependency >
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ base 为普通 springboot 改造成的基座,改造内容为在 pom 里增加
1313 <groupId >com.alipay.sofa.serverless</groupId >
1414 <artifactId >sofa-serverless-base-starter</artifactId >
1515 <!-- 以上版本支持springboot3 -->
16- <version >0.5.4 -jdk17</version >
16+ <version >0.5.5 -jdk17</version >
1717</dependency >
1818<!-- end 动态模块相关依赖 -->
1919
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ base 为普通 springboot 改造成的基座,改造内容为在 pom 里增加
1111 <groupId >com.alipay.sofa.serverless</groupId >
1212 <artifactId >sofa-serverless-base-starter</artifactId >
1313 <!-- 以上版本支持springboot3 -->
14- <version >0.5.4 -jdk17</version >
14+ <version >0.5.5 -jdk17</version >
1515</dependency >
1616<!-- end 动态模块相关依赖 -->
1717
Original file line number Diff line number Diff line change 2121 <spring .boot.version>3.0.9</spring .boot.version>
2222 <java .version>17</java .version>
2323 <sofa .ark.version>3.0.1</sofa .ark.version>
24- <sofa .serverless.runtime.version>0.5.4 -jdk17</sofa .serverless.runtime.version>
24+ <sofa .serverless.runtime.version>0.5.5 -jdk17</sofa .serverless.runtime.version>
2525 <disruptor .version>3.4.2</disruptor .version>
2626 <os .plugin.version>1.7.1</os .plugin.version>
2727 <protobuf .plugin.version>0.6.1</protobuf .plugin.version>
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ base 为普通 springboot 改造成的基座,改造内容为在 pom 里增加
1313 <groupId >com.alipay.sofa.serverless</groupId >
1414 <artifactId >sofa-serverless-base-starter</artifactId >
1515 <!-- 以上版本支持springboot3 -->
16- <version >0.5.4 -jdk17</version >
16+ <version >0.5.5 -jdk17</version >
1717</dependency >
1818<!-- end 动态模块相关依赖 -->
1919
Original file line number Diff line number Diff line change 703703 <properties >
704704 <logback .core>1.2.9</logback .core>
705705 <revision >${revision.default}</revision >
706- <sofa .ark.version>${sofa.ark.version.jdk17 } </sofa .ark.version>
707- <spring .boot.version>${spring.boot.version.jdk17 } </spring .boot.version>
706+ <sofa .ark.version>${sofa.ark.version.jdk8 } </sofa .ark.version>
707+ <spring .boot.version>${spring.boot.version.jdk8 } </spring .boot.version>
708708 </properties >
709709 <repositories >
710710 <repository >
You can’t perform that action at this time.
0 commit comments