287 lines
10 KiB
XML
287 lines
10 KiB
XML
|
<?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.7.2</version>
|
||
|
<relativePath/> <!-- lookup parent from repository -->
|
||
|
</parent>
|
||
|
<groupId>com.rymcu</groupId>
|
||
|
<artifactId>forest</artifactId>
|
||
|
<version>0.0.1</version>
|
||
|
<packaging>war</packaging>
|
||
|
<name>forest</name>
|
||
|
<description>forest(森林) —— 一款现代化的知识社区后台项目,使用 SpringBoot + Shrio + MyBatis + JWT + Redis 实现。</description>
|
||
|
|
||
|
<properties>
|
||
|
<java.version>1.8</java.version>
|
||
|
<lucene.version>8.11.2</lucene.version>
|
||
|
</properties>
|
||
|
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<groupId>org.apache.logging.log4j</groupId>
|
||
|
<artifactId>log4j-to-slf4j</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.yaml</groupId>
|
||
|
<artifactId>snakeyaml</artifactId>
|
||
|
<version>1.32</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-mail</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<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>
|
||
|
<version>2.2.2</version>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>mysql</groupId>
|
||
|
<artifactId>mysql-connector-java</artifactId>
|
||
|
<version>8.0.30</version>
|
||
|
<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>
|
||
|
<exclusion>
|
||
|
<groupId>com.vaadin.external.google</groupId>
|
||
|
<artifactId>android-json</artifactId>
|
||
|
</exclusion>
|
||
|
<exclusion>
|
||
|
<groupId>net.minidev</groupId>
|
||
|
<artifactId>json-smart</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
<!-- https://mvnrepository.com/artifact/net.minidev/json-smart -->
|
||
|
<dependency>
|
||
|
<groupId>net.minidev</groupId>
|
||
|
<artifactId>json-smart</artifactId>
|
||
|
<version>2.4.8</version>
|
||
|
</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.2.1</version>
|
||
|
</dependency>
|
||
|
<!-- pagehelper -->
|
||
|
<dependency>
|
||
|
<groupId>com.github.pagehelper</groupId>
|
||
|
<artifactId>pagehelper</artifactId>
|
||
|
<version>5.3.2</version>
|
||
|
</dependency>
|
||
|
<!-- fastjson -->
|
||
|
<dependency>
|
||
|
<groupId>com.alibaba</groupId>
|
||
|
<artifactId>fastjson</artifactId>
|
||
|
<version>2.0.14</version>
|
||
|
</dependency>
|
||
|
<!-- shiro权限控制框架 -->
|
||
|
<dependency>
|
||
|
<groupId>org.apache.shiro</groupId>
|
||
|
<artifactId>shiro-spring</artifactId>
|
||
|
<version>1.9.1</version>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<groupId>commons-collections</groupId>
|
||
|
<artifactId>commons-collections</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.commons</groupId>
|
||
|
<artifactId>commons-collections4</artifactId>
|
||
|
<version>4.4</version>
|
||
|
</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>
|
||
|
<version>2.11.0</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.commons</groupId>
|
||
|
<artifactId>commons-text</artifactId>
|
||
|
<version>1.9</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>commons-codec</groupId>
|
||
|
<artifactId>commons-codec</artifactId>
|
||
|
<version>1.15</version>
|
||
|
</dependency>
|
||
|
<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>
|
||
|
<version>1.2.13-SNSAPSHOT</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>
|
||
|
<version>2.19.0</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-api</artifactId>
|
||
|
<version>2.19.0</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
||
|
<optional>true</optional>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-websocket</artifactId>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.jodd</groupId>
|
||
|
<artifactId>jodd-http</artifactId>
|
||
|
<version>6.3.0</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.github.jedis-lock</groupId>
|
||
|
<artifactId>jedis-lock</artifactId>
|
||
|
<version>1.0.0</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- 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>
|
||
|
|
||
|
<!-- hutool 核心工具包 -->
|
||
|
<dependency>
|
||
|
<groupId>cn.hutool</groupId>
|
||
|
<artifactId>hutool-core</artifactId>
|
||
|
<version>5.8.7</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>cn.hutool</groupId>
|
||
|
<artifactId>hutool-http</artifactId>
|
||
|
<version>5.8.7</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>
|
||
|
</dependency>
|
||
|
</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>
|
||
|
<version>2.3.5.RELEASE</version>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
<finalName>forest</finalName>
|
||
|
</build>
|
||
|
|
||
|
</project>
|