2025-06-27 11:14:51 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
<version>3.5.3</version>
|
|
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<groupId>com.example.exam</groupId>
|
|
|
|
<artifactId>exam</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<name>stu</name>
|
|
|
|
<description>Student end grading</description>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<java.version>17</java.version>
|
|
|
|
<lombok.version>1.18.30</lombok.version>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-websocket</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-j</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<version>${lombok.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
|
|
<version>3.0.3</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
|
<version>3.5.5</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-core</artifactId>
|
|
|
|
<version>2.18.2</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!-- office文件-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.xmlbeans</groupId>
|
|
|
|
<artifactId>xmlbeans</artifactId>
|
|
|
|
<version>5.2.0</version> <!-- 升级后的版本 -->
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sf.saxon</groupId>
|
|
|
|
<artifactId>Saxon-HE</artifactId>
|
|
|
|
<version>12.5</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-compress</artifactId>
|
|
|
|
<version>1.26.0</version> <!-- 或使用最新版本 -->
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
<version>3.13.0</version> <!-- 建议使用最新版 -->
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.code.gson</groupId>
|
|
|
|
<artifactId>gson</artifactId>
|
|
|
|
<version>2.10</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
<artifactId>poi</artifactId>
|
|
|
|
<version>5.2.3</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
<artifactId>poi-ooxml</artifactId>
|
|
|
|
<version>5.2.3</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.xmlbeans</groupId>
|
|
|
|
<artifactId>xmlbeans</artifactId>
|
|
|
|
<version>5.2.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
<artifactId>poi-ooxml-lite</artifactId>
|
|
|
|
<version>5.2.3</version>
|
|
|
|
</dependency>
|
2025-07-04 18:43:54 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.json</groupId>
|
|
|
|
<artifactId>json</artifactId>
|
|
|
|
<version>20231013</version>
|
|
|
|
</dependency>
|
2025-06-27 11:14:51 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>cn.afterturn</groupId>
|
|
|
|
<artifactId>easypoi-base</artifactId>
|
|
|
|
<version>4.4.0</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
<artifactId>poi</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
<artifactId>poi-ooxml</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
<artifactId>ooxml-schemas</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2025-08-10 02:23:58 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.docx4j</groupId>
|
|
|
|
<artifactId>docx4j-core</artifactId>
|
|
|
|
<version>11.5.4</version> <!-- 或使用最新版本 -->
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.docx4j</groupId>
|
|
|
|
<artifactId>docx4j-JAXB-MOXy</artifactId>
|
|
|
|
<version>11.5.4</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- 必须加这个,不然 marshaltoString 会报错 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.docx4j</groupId>
|
|
|
|
<artifactId>docx4j-JAXB-Internal</artifactId>
|
|
|
|
<version>8.3.9</version>
|
|
|
|
</dependency>
|
2025-08-14 19:41:53 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.docx4j</groupId>
|
|
|
|
<artifactId>docx4j-JAXB-ReferenceImpl</artifactId>
|
|
|
|
<version>11.4.9</version>
|
|
|
|
</dependency>
|
|
|
|
|
2025-06-27 11:14:51 +08:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<!-- 设置构建的 jar 包名 -->
|
|
|
|
<finalName>${project.artifactId}</finalName>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<version>3.5.3</version>
|
|
|
|
<!-- <configuration>-->
|
|
|
|
<!-- <layout>ZIP</layout>-->
|
|
|
|
<!-- </configuration>-->
|
|
|
|
<configuration>
|
|
|
|
<mainClass>com.example.exam.exam.StuApplication</mainClass>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>repackage</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<!-- <plugin>-->
|
|
|
|
<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
|
|
|
<!-- <artifactId>maven-compiler-plugin</artifactId>-->
|
|
|
|
<!-- <version>3.10.1</version>-->
|
|
|
|
<!-- <configuration>-->
|
|
|
|
<!-- <source>${java.version}</source>-->
|
|
|
|
<!-- <target>${java.version}</target>-->
|
|
|
|
<!-- <annotationProcessorPaths>-->
|
|
|
|
<!-- <path>-->
|
|
|
|
<!-- <groupId>org.projectlombok</groupId>-->
|
|
|
|
<!-- <artifactId>lombok</artifactId>-->
|
|
|
|
<!-- <version>${lombok.version}</version>-->
|
|
|
|
<!-- </path>-->
|
|
|
|
<!-- </annotationProcessorPaths>-->
|
|
|
|
<!-- </configuration>-->
|
|
|
|
<!-- </plugin>-->
|
|
|
|
<!-- <plugin>-->
|
|
|
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
|
|
|
<!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
|
|
|
|
<!-- <configuration>-->
|
|
|
|
<!-- <layout>ZIP</layout>-->
|
|
|
|
<!-- <excludes>-->
|
|
|
|
<!-- <exclude>-->
|
|
|
|
<!-- <groupId>org.projectlombok</groupId>-->
|
|
|
|
<!-- <artifactId>lombok</artifactId>-->
|
|
|
|
<!-- </exclude>-->
|
|
|
|
<!-- </excludes>-->
|
|
|
|
<!-- </configuration>-->
|
|
|
|
<!-- </plugin>-->
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|