2019-11-16 09:58:40 +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>
|
2021-02-03 08:38:25 +08:00
|
|
|
<version>2.3.5.RELEASE</version>
|
2019-11-16 09:58:40 +08:00
|
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
|
|
</parent>
|
|
|
|
<groupId>com.rymcu</groupId>
|
2020-11-19 11:52:13 +08:00
|
|
|
<artifactId>forest</artifactId>
|
2019-11-16 09:58:40 +08:00
|
|
|
<version>0.0.1</version>
|
|
|
|
<packaging>war</packaging>
|
2020-11-19 11:52:13 +08:00
|
|
|
<name>forest</name>
|
|
|
|
<description>forest(森林) —— 一款现代化的知识社区后台项目,使用 SpringBoot + Shrio + MyBatis + JWT + Redis 实现。</description>
|
2019-11-16 09:58:40 +08:00
|
|
|
|
|
|
|
<properties>
|
|
|
|
<java.version>1.8</java.version>
|
2022-03-06 11:09:32 +08:00
|
|
|
<lucene.version>8.11.1</lucene.version>
|
2019-11-16 09:58:40 +08:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
2021-12-12 11:43:17 +08:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-to-slf4j</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2019-11-16 09:58:40 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-mail</artifactId>
|
|
|
|
</dependency>
|
2019-11-21 00:46:39 +08:00
|
|
|
|
2019-11-16 09:58:40 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
2022-03-06 11:09:32 +08:00
|
|
|
<version>2.2.2</version>
|
2019-11-16 09:58:40 +08:00
|
|
|
</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-tomcat</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.junit.vintage</groupId>
|
|
|
|
<artifactId>junit-vintage-engine</artifactId>
|
|
|
|
</exclusion>
|
2020-11-17 00:20:40 +08:00
|
|
|
<exclusion>
|
|
|
|
<groupId>com.vaadin.external.google</groupId>
|
|
|
|
<artifactId>android-json</artifactId>
|
|
|
|
</exclusion>
|
2019-11-16 09:58:40 +08:00
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!-- 通用Mapper插件 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>tk.mybatis</groupId>
|
|
|
|
<artifactId>mapper</artifactId>
|
|
|
|
<version>4.1.5</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.jtds</groupId>
|
|
|
|
<artifactId>jtds</artifactId>
|
|
|
|
<version>1.3.1</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- pagehelper -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.pagehelper</groupId>
|
|
|
|
<artifactId>pagehelper</artifactId>
|
2021-12-12 11:43:17 +08:00
|
|
|
<version>5.3.0</version>
|
2019-11-16 09:58:40 +08:00
|
|
|
</dependency>
|
|
|
|
<!-- fastjson -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
<artifactId>fastjson</artifactId>
|
2022-03-06 11:09:32 +08:00
|
|
|
<version>1.2.79</version>
|
2019-11-16 09:58:40 +08:00
|
|
|
</dependency>
|
|
|
|
<!-- shiro权限控制框架 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.shiro</groupId>
|
|
|
|
<artifactId>shiro-spring</artifactId>
|
2021-04-23 09:35:09 +08:00
|
|
|
<version>1.7.1</version>
|
2019-11-16 09:58:40 +08:00
|
|
|
</dependency>
|
|
|
|
<!-- shiro-redis -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.crazycake</groupId>
|
|
|
|
<artifactId>shiro-redis</artifactId>
|
|
|
|
<version>3.2.3</version>
|
2020-11-17 00:20:40 +08:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.shiro</groupId>
|
|
|
|
<artifactId>shiro-core</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2019-11-16 09:58:40 +08:00
|
|
|
</dependency>
|
|
|
|
<!--apache相关依赖-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-lang</groupId>
|
|
|
|
<artifactId>commons-lang</artifactId>
|
|
|
|
<version>2.6</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
2022-03-06 11:09:32 +08:00
|
|
|
<version>2.11.0</version>
|
2019-11-16 09:58:40 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-text</artifactId>
|
2022-03-06 11:09:32 +08:00
|
|
|
<version>1.9</version>
|
2019-11-16 09:58:40 +08:00
|
|
|
</dependency>
|
2019-11-16 20:11:38 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-codec</groupId>
|
|
|
|
<artifactId>commons-codec</artifactId>
|
2022-03-06 11:09:32 +08:00
|
|
|
<version>1.15</version>
|
2019-11-16 20:11:38 +08:00
|
|
|
</dependency>
|
2019-11-16 09:58:40 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
<artifactId>jjwt</artifactId>
|
|
|
|
<version>0.9.1</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- 阿里巴巴连接池Druid -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
<artifactId>druid-spring-boot-starter</artifactId>
|
2021-12-12 11:43:17 +08:00
|
|
|
<version>1.2.8</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-to-slf4j</artifactId>
|
2021-12-29 12:06:57 +08:00
|
|
|
<version>2.17.1</version>
|
2021-12-12 11:43:17 +08:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-api</artifactId>
|
2021-12-29 12:06:57 +08:00
|
|
|
<version>2.17.1</version>
|
2019-11-16 09:58:40 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2019-11-16 20:11:38 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.nekohtml</groupId>
|
|
|
|
<artifactId>nekohtml</artifactId>
|
|
|
|
<version>1.9.22</version>
|
|
|
|
</dependency>
|
2019-12-30 01:05:46 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-websocket</artifactId>
|
|
|
|
</dependency>
|
2020-01-14 17:36:01 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jodd</groupId>
|
|
|
|
<artifactId>jodd-http</artifactId>
|
2022-03-06 11:09:32 +08:00
|
|
|
<version>6.2.0</version>
|
2020-01-14 17:36:01 +08:00
|
|
|
</dependency>
|
2020-03-17 17:32:38 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.binarywang</groupId>
|
|
|
|
<artifactId>weixin-java-open</artifactId>
|
2022-03-06 11:09:32 +08:00
|
|
|
<version>4.2.5.B</version>
|
2020-11-17 00:20:40 +08:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>commons-codec</groupId>
|
|
|
|
<artifactId>commons-codec</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
</exclusion>
|
2021-03-16 11:00:26 +08:00
|
|
|
<exclusion>
|
|
|
|
<groupId>com.thoughtworks.xstream</groupId>
|
|
|
|
<artifactId>xstream</artifactId>
|
|
|
|
</exclusion>
|
2020-11-17 00:20:40 +08:00
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2021-03-16 11:00:26 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.thoughtworks.xstream</groupId>
|
|
|
|
<artifactId>xstream</artifactId>
|
2022-03-06 11:09:32 +08:00
|
|
|
<version>1.4.19</version>
|
2021-03-16 11:00:26 +08:00
|
|
|
</dependency>
|
2020-11-17 00:20:40 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.jedis-lock</groupId>
|
|
|
|
<artifactId>jedis-lock</artifactId>
|
|
|
|
<version>1.0.0</version>
|
2020-03-17 17:32:38 +08:00
|
|
|
</dependency>
|
2020-10-29 21:41:03 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.baidu.aip</groupId>
|
|
|
|
<artifactId>java-sdk</artifactId>
|
2022-03-06 11:09:32 +08:00
|
|
|
<version>4.16.5</version>
|
2020-11-17 00:20:40 +08:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-simple</artifactId>
|
|
|
|
</exclusion>
|
2021-12-12 11:43:17 +08:00
|
|
|
<exclusion>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
</exclusion>
|
2020-11-17 00:20:40 +08:00
|
|
|
</exclusions>
|
2020-10-29 21:41:03 +08:00
|
|
|
</dependency>
|
2021-02-03 08:38:25 +08:00
|
|
|
|
|
|
|
<!-- lucene -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-queryparser</artifactId>
|
|
|
|
<version>${lucene.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-analyzers-common</artifactId>
|
|
|
|
<version>${lucene.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-highlighter</artifactId>
|
|
|
|
<version>${lucene.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-suggest</artifactId>
|
|
|
|
<version>${lucene.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2021-02-25 13:56:14 +08:00
|
|
|
<!-- hutool 核心工具包 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
<artifactId>hutool-core</artifactId>
|
2022-03-06 11:09:32 +08:00
|
|
|
<version>5.7.20</version>
|
2021-02-25 13:56:14 +08:00
|
|
|
</dependency>
|
2022-01-14 10:40:07 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
<artifactId>hutool-http</artifactId>
|
2022-03-06 11:09:32 +08:00
|
|
|
<version>5.7.20</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.warrenstrange</groupId>
|
|
|
|
<artifactId>googleauth</artifactId>
|
|
|
|
<version>1.5.0</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>commons-codec</groupId>
|
|
|
|
<artifactId>commons-codec</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2022-01-14 10:40:07 +08:00
|
|
|
</dependency>
|
2021-02-25 13:56:14 +08:00
|
|
|
|
|
|
|
|
2019-11-16 09:58:40 +08:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<!-- 程序编译时默认不会把 src/main/java 目录下文件添加到 jar 包中,需手动添加 -->
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/java</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.xml</include>
|
|
|
|
<include>**/**/*.xml</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
2022-01-04 10:33:54 +08:00
|
|
|
<version>2.3.5.RELEASE</version>
|
2019-11-16 09:58:40 +08:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
2021-01-28 09:16:52 +08:00
|
|
|
<finalName>forest</finalName>
|
2019-11-16 09:58:40 +08:00
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|