|
|
|
<?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>2.6.10</version>
|
|
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
|
|
</parent>
|
|
|
|
<groupId>com.teaching</groupId>
|
|
|
|
<artifactId>teaching-backend</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<name>teaching-backend</name>
|
|
|
|
<properties>
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-freemarker</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
<version>1.4</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-test</artifactId>
|
|
|
|
<version>5.1.5.RELEASE</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
<artifactId>poi</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
<artifactId>poi-ooxml</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!--MinIO Java SDK依赖-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.minio</groupId>
|
|
|
|
<artifactId>minio</artifactId>
|
|
|
|
<version>8.2.1</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-fileupload</groupId>
|
|
|
|
<artifactId>commons-fileupload</artifactId>
|
|
|
|
<version>1.3.1</version>
|
|
|
|
</dependency>
|
|
|
|
<!--neo4j 的引入-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.neo4j.driver</groupId>
|
|
|
|
<artifactId>neo4j-java-driver-spring-boot-starter</artifactId>
|
|
|
|
<version>4.3.6.0</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- neo4j 操作实体注解需要 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-neo4j</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
<version>2.11.0</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- freemarker jar -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.freemarker</groupId>
|
|
|
|
<artifactId>freemarker</artifactId>
|
|
|
|
<version>2.3.28</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
|
|
<version>2.2.2</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.baomidou/mybatis-plus-boot-starter -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
|
<version>3.5.2</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- Apache POI -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
<artifactId>poi</artifactId>
|
|
|
|
<version>4.1.2</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
<artifactId>poi-ooxml</artifactId>
|
|
|
|
<version>4.1.2</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
<artifactId>poi-ooxml-schemas</artifactId>
|
|
|
|
<version>4.1.2</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.aliyun.oss</groupId>
|
|
|
|
<artifactId>aliyun-sdk-oss</artifactId>
|
|
|
|
<version>3.15.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- https://doc.xiaominfo.com/docs/quick-start#openapi2 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.xiaoymin</groupId>
|
|
|
|
<artifactId>knife4j-openapi2-spring-boot-starter</artifactId>
|
|
|
|
<version>4.4.0</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
<artifactId>hutool-all</artifactId>
|
|
|
|
<version>5.8.11</version>
|
|
|
|
</dependency>
|
|
|
|
<!--java jwt坐标-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.auth0</groupId>
|
|
|
|
<artifactId>java-jwt</artifactId>
|
|
|
|
<version>4.4.0</version>
|
|
|
|
</dependency>
|
|
|
|
<!--token-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
<artifactId>jjwt</artifactId>
|
|
|
|
<version>0.9.1</version>
|
|
|
|
</dependency>
|
|
|
|
<!--SpringSecurity依赖配置-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
<artifactId>hutool-all</artifactId>
|
|
|
|
<version>5.8.9</version>
|
|
|
|
</dependency>
|
|
|
|
<!--解决JDK 11 兼容性问题-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
|
<version>2.3.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.xiaoymin</groupId>
|
|
|
|
<artifactId>knife4j-openapi2-spring-boot-starter</artifactId>
|
|
|
|
<version>4.1.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
<version>3.4</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-amqp</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!--阿里云短信-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.aliyun</groupId>
|
|
|
|
<artifactId>aliyun-java-sdk-core</artifactId>
|
|
|
|
<version>4.6.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.aliyun</groupId>
|
|
|
|
<artifactId>aliyun-java-sdk-dysmsapi</artifactId>
|
|
|
|
<version>2.2.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
<version>2.12.5</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<!--easypoi-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.afterturn</groupId>
|
|
|
|
<artifactId>easypoi-spring-boot-starter</artifactId>
|
|
|
|
<version>4.1.3</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
<version>2.8.0</version>
|
|
|
|
</dependency>
|
|
|
|
<!--redis-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.redisson</groupId>
|
|
|
|
<artifactId>redisson</artifactId>
|
|
|
|
<version>3.13.6</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-lang</groupId>
|
|
|
|
<artifactId>commons-lang</artifactId>
|
|
|
|
<version>2.6</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- 文件下载-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-fileupload</groupId>
|
|
|
|
<artifactId>commons-fileupload</artifactId>
|
|
|
|
<version>1.3.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpcore</artifactId>
|
|
|
|
<version>4.4.10</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
<version>4.5.6</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.code.gson</groupId>
|
|
|
|
<artifactId>gson</artifactId>
|
|
|
|
<version>2.8.9</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<!--这里写上main方法所在类的路径-->
|
|
|
|
<configuration>
|
|
|
|
<mainClass>com.teaching.TeachingBackendApplication</mainClass>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>repackage</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<version>2.6</version>
|
|
|
|
<configuration>
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
<nonFilteredFileExtensions>
|
|
|
|
<nonFilteredFileExtension>docx</nonFilteredFileExtension>
|
|
|
|
</nonFilteredFileExtensions>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
<artifactId>poi-ooxml</artifactId>
|
|
|
|
<version>5.2.0</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
</project>
|