2019-09-08 02:31:48 +00: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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<parent>
|
|
|
|
<artifactId>SpringBoot2</artifactId>
|
|
|
|
<groupId>zz</groupId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<artifactId>SpringBootShiroJWT</artifactId>
|
|
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
2019-09-14 06:04:02 +00:00
|
|
|
|
|
|
|
<!--进本启动-->
|
2019-09-08 02:31:48 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
2019-09-14 06:04:02 +00:00
|
|
|
<artifactId>spring-boot-starter</artifactId>
|
2019-09-08 02:31:48 +00:00
|
|
|
</dependency>
|
2019-09-14 06:04:02 +00:00
|
|
|
<!--基本测试-->
|
2019-09-08 02:31:48 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
2019-09-14 06:04:02 +00:00
|
|
|
<scope>test</scope>
|
2019-09-08 02:31:48 +00:00
|
|
|
</dependency>
|
2019-09-14 06:04:02 +00:00
|
|
|
<!--web服务基本依赖-->
|
2019-09-08 02:31:48 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
2019-09-14 06:04:02 +00:00
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
2019-09-08 02:31:48 +00:00
|
|
|
</dependency>
|
2019-09-14 06:04:02 +00:00
|
|
|
<!--freemarker引擎依赖(mybatis plus配置模板引擎,用themleaf也行)-->
|
2019-09-08 02:31:48 +00:00
|
|
|
<dependency>
|
2019-09-14 06:04:02 +00:00
|
|
|
<groupId>org.freemarker</groupId>
|
|
|
|
<artifactId>freemarker</artifactId>
|
|
|
|
<version>2.3.28</version>
|
2019-09-08 02:31:48 +00:00
|
|
|
</dependency>
|
2019-09-14 06:04:02 +00:00
|
|
|
<!--lombok,简化实体类,mybatis plus和它很搭配-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<!--mysql数据库连接依赖-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-jdbc</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!--驱动-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
<!--<version>5.1.38</version>-->
|
|
|
|
<!--mysql8使用下面的版本或者不写-->
|
|
|
|
<version>8.0.13</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!--*****下面是mybatis plus重要依赖*****-->
|
|
|
|
<!--mybatis-plus依赖-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
|
<version>3.1.2</version>
|
|
|
|
</dependency>
|
|
|
|
<!--mybatis plus添加代码生成器依赖-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
<artifactId>mybatis-plus-generator</artifactId>
|
|
|
|
<version>3.1.2</version>
|
|
|
|
</dependency>
|
|
|
|
<!--JWT java web token 权限验证-->
|
2019-09-08 02:31:48 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.auth0</groupId>
|
|
|
|
<artifactId>java-jwt</artifactId>
|
2019-09-14 06:04:02 +00:00
|
|
|
<version>3.4.0</version>
|
2019-09-08 02:31:48 +00:00
|
|
|
</dependency>
|
2019-09-14 06:04:02 +00:00
|
|
|
<!--shiro 权限框架-->
|
2019-09-08 02:31:48 +00:00
|
|
|
<dependency>
|
2019-09-14 06:04:02 +00:00
|
|
|
<groupId>org.apache.shiro</groupId>
|
|
|
|
<artifactId>shiro-spring</artifactId>
|
|
|
|
<version>1.4.0</version>
|
2019-09-08 02:31:48 +00:00
|
|
|
</dependency>
|
2019-09-14 06:04:02 +00:00
|
|
|
<!--阿里json转换-->
|
2019-09-08 02:31:48 +00:00
|
|
|
<dependency>
|
2019-09-14 06:04:02 +00:00
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
<version>1.2.47</version>
|
2019-09-08 02:31:48 +00:00
|
|
|
</dependency>
|
2019-09-14 06:04:02 +00:00
|
|
|
|
|
|
|
|
2019-09-08 02:31:48 +00:00
|
|
|
</dependencies>
|
2019-09-14 06:04:02 +00:00
|
|
|
|
2019-09-08 02:31:48 +00:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2019-09-14 06:04:02 +00:00
|
|
|
|
2019-09-08 02:31:48 +00:00
|
|
|
</project>
|