From ed8fc5f674544d3af63c6f68093ffc038385c493 Mon Sep 17 00:00:00 2001 From: dongyukun <1208714201@qq.com> Date: 星期一, 16 十二月 2024 09:30:04 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- iailab-cloud/iailab-monitor/pom.xml | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/iailab-cloud/iailab-monitor/pom.xml b/iailab-cloud/iailab-monitor/pom.xml index dda7ccc..f4e17a7 100644 --- a/iailab-cloud/iailab-monitor/pom.xml +++ b/iailab-cloud/iailab-monitor/pom.xml @@ -63,10 +63,21 @@ </dependencies> <build> + <!-- 设置构建的 jar 包名 --> + <finalName>${project.artifactId}</finalName> <plugins> + <!-- 打包 --> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> + <version>${spring.boot.version}</version> <!-- 如果 spring.boot.version 版本修改,则这里也要跟着修改 --> + <executions> + <execution> + <goals> + <goal>repackage</goal> <!-- 将引入的 jar 打入其中 --> + </goals> + </execution> + </executions> </plugin> </plugins> </build> -- Gitblit v1.9.3