From 03400682e49f811cbf7fc173d2baaf17754de33a Mon Sep 17 00:00:00 2001 From: wangchunxiang <526328077@qq.com> Date: Sat, 11 Oct 2025 17:07:38 +0800 Subject: [PATCH] =?UTF-8?q?```=20feat(pom.xml):=20=E6=B7=BB=E5=8A=A0=20jav?= =?UTF-8?q?afx-graphics=E4=BE=9D=E8=B5=96=E5=B9=B6=E6=9B=B4=E6=96=B0=20Mav?= =?UTF-8?q?en=20=E6=8F=92=E4=BB=B6=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增了对 org.openjfx:javafx-graphics 的依赖引入 - 移除了原有的 javafx-maven-plugin 配置 - 替换为 spring-boot-maven-plugin 并配置 repackage 执行目标 - 调整了插件相关配置以适配 Spring Boot 应用打包需求 ``` --- pom.xml | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/pom.xml b/pom.xml index c22783c..aae3e76 100644 --- a/pom.xml +++ b/pom.xml @@ -88,6 +88,12 @@ javafx-fxml ${javafx.version} + + + org.openjfx + javafx-graphics + ${javafx.version} + @@ -123,22 +129,21 @@ - - + - org.openjfx - javafx-maven-plugin - ${javafx.maven.plugin.version} + org.springframework.boot + spring-boot-maven-plugin + ${spring-boot.version} com.fantaibao.DesktopApplication - app - fantaibao-crawler - fantaibao-crawler-zip - - - - + + + + repackage + + +