|
@@ -107,7 +107,13 @@
|
|
|
<dependency>
|
|
<dependency>
|
|
|
<groupId>org.apache.poi</groupId>
|
|
<groupId>org.apache.poi</groupId>
|
|
|
<artifactId>poi-ooxml</artifactId>
|
|
<artifactId>poi-ooxml</artifactId>
|
|
|
- <version>5.2.5</version>
|
|
|
|
|
|
|
+ <version>5.3.0</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <!-- 添加 POI 核心依赖,解决 AWT 问题 -->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.apache.poi</groupId>
|
|
|
|
|
+ <artifactId>poi</artifactId>
|
|
|
|
|
+ <version>5.3.0</version>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
|
|
|
<!--csv依赖-->
|
|
<!--csv依赖-->
|
|
@@ -165,7 +171,7 @@
|
|
|
<dependency>
|
|
<dependency>
|
|
|
<groupId>org.apache.poi</groupId>
|
|
<groupId>org.apache.poi</groupId>
|
|
|
<artifactId>poi-ooxml</artifactId>
|
|
<artifactId>poi-ooxml</artifactId>
|
|
|
- <version>5.2.5</version>
|
|
|
|
|
|
|
+ <version>5.3.0</version>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- 豆包大语言模型依赖 -->
|
|
<!-- 豆包大语言模型依赖 -->
|
|
@@ -222,52 +228,6 @@
|
|
|
|
|
|
|
|
<build>
|
|
<build>
|
|
|
<plugins>
|
|
<plugins>
|
|
|
- <!-- 使用 maven-shade-plugin 打包所有依赖 -->
|
|
|
|
|
- <plugin>
|
|
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
- <artifactId>maven-shade-plugin</artifactId>
|
|
|
|
|
- <version>3.5.1</version>
|
|
|
|
|
- <executions>
|
|
|
|
|
- <execution>
|
|
|
|
|
- <phase>package</phase>
|
|
|
|
|
- <goals>
|
|
|
|
|
- <goal>shade</goal>
|
|
|
|
|
- </goals>
|
|
|
|
|
- <configuration>
|
|
|
|
|
- <!-- 创建可执行的 JAR -->
|
|
|
|
|
- <transformers>
|
|
|
|
|
- <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
|
|
|
- <mainClass>com.njuzr.eaibackend.EaiBackendApplication</mainClass>
|
|
|
|
|
- </transformer>
|
|
|
|
|
- <!-- 合并 META-INF/spring.factories 文件 -->
|
|
|
|
|
- <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
|
|
|
|
|
- <resource>META-INF/spring.factories</resource>
|
|
|
|
|
- </transformer>
|
|
|
|
|
- <!-- 合并 META-INF/spring.components 文件 -->
|
|
|
|
|
- <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
|
|
|
|
|
- <resource>META-INF/spring.components</resource>
|
|
|
|
|
- </transformer>
|
|
|
|
|
- </transformers>
|
|
|
|
|
- <!-- 排除签名文件,避免冲突 -->
|
|
|
|
|
- <filters>
|
|
|
|
|
- <filter>
|
|
|
|
|
- <artifact>*:*</artifact>
|
|
|
|
|
- <excludes>
|
|
|
|
|
- <exclude>META-INF/*.SF</exclude>
|
|
|
|
|
- <exclude>META-INF/*.DSA</exclude>
|
|
|
|
|
- <exclude>META-INF/*.RSA</exclude>
|
|
|
|
|
- </excludes>
|
|
|
|
|
- </filter>
|
|
|
|
|
- </filters>
|
|
|
|
|
- <!-- 生成依赖简化后的文件 -->
|
|
|
|
|
- <createDependencyReducedPom>false</createDependencyReducedPom>
|
|
|
|
|
- </configuration>
|
|
|
|
|
- </execution>
|
|
|
|
|
- </executions>
|
|
|
|
|
- </plugin>
|
|
|
|
|
-
|
|
|
|
|
- <!-- 跳过 spring-boot-maven-plugin,避免冲突 -->
|
|
|
|
|
- <!--
|
|
|
|
|
<plugin>
|
|
<plugin>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
@@ -280,8 +240,6 @@
|
|
|
</excludes>
|
|
</excludes>
|
|
|
</configuration>
|
|
</configuration>
|
|
|
</plugin>
|
|
</plugin>
|
|
|
- -->
|
|
|
|
|
-
|
|
|
|
|
<plugin>
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|