mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 12:52:07 +08:00
主要微服务(gateway、system、mgn、exec)打包方式修改:
1、支持根据profile打包不同配置在jar外; 2、依赖lib打包在jar外; 3、增加test相关配置;
This commit is contained in:
@@ -38,6 +38,8 @@
|
||||
<spring.boot.version>2.7.18</spring.boot.version>
|
||||
<mapstruct.version>1.5.5.Final</mapstruct.version>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<maven.dependency.plugin.version>3.2.0</maven.dependency.plugin.version>
|
||||
<maven.assembly.plugin.version>3.2.0</maven.assembly.plugin.version>
|
||||
</properties>
|
||||
|
||||
<dependencyManagement>
|
||||
@@ -139,7 +141,7 @@
|
||||
</repository>
|
||||
</repositories>-->
|
||||
|
||||
<!-- 多环境打包参数,对应各自微服务下的assembly中的${profileActive}-->
|
||||
<!-- 多环境打包参数,对应各自微服务下的assembly中的${profileActive},默认是dev-->
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>local</id>
|
||||
@@ -147,7 +149,7 @@
|
||||
<profileActive>local</profileActive>
|
||||
</properties>
|
||||
<activation>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
<activeByDefault>false</activeByDefault>
|
||||
</activation>
|
||||
</profile>
|
||||
<profile>
|
||||
@@ -156,7 +158,7 @@
|
||||
<profileActive>dev</profileActive>
|
||||
</properties>
|
||||
<activation>
|
||||
<activeByDefault>false</activeByDefault>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
</activation>
|
||||
</profile>
|
||||
<profile>
|
||||
|
||||
Reference in New Issue
Block a user