sa-token/sa-token-demo/sa-token-demo-jwt/pom.xml

92 lines
2.7 KiB
XML
Raw Normal View History

2021-01-10 18:36:35 +08:00
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-demo-jwt</artifactId>
<version>0.0.1-SNAPSHOT</version>
<!-- SpringBoot -->
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.0.RELEASE</version>
2021-02-04 23:03:02 +08:00
<relativePath/>
2021-01-10 18:36:35 +08:00
</parent>
2021-02-04 23:03:02 +08:00
<!-- 定义sa-token版本号 -->
<properties>
2021-10-11 19:44:02 +08:00
<sa-token-version>1.27.0</sa-token-version>
2021-02-04 23:03:02 +08:00
</properties>
2021-01-10 18:36:35 +08:00
<dependencies>
<!-- springboot依赖 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>
<!-- sa-token 权限认证, 在线文档http://sa-token.dev33.cn/ -->
<dependency>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-spring-boot-starter</artifactId>
2021-02-04 23:03:02 +08:00
<version>${sa-token-version}</version>
2021-01-10 18:36:35 +08:00
</dependency>
<!-- jwt -->
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt</artifactId>
<version>0.9.1</version>
</dependency>
<!-- sa-token整合redis (使用jdk默认序列化方式) -->
<!-- <dependency>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-dao-redis</artifactId>
2021-02-04 23:03:02 +08:00
<version>${sa-token-version}</version>
2021-01-10 18:36:35 +08:00
</dependency> -->
<!-- sa-token整合redis (使用jackson序列化方式) -->
2021-01-10 18:39:32 +08:00
<!-- <dependency>
2021-01-10 18:36:35 +08:00
<groupId>cn.dev33</groupId>
<artifactId>sa-token-dao-redis-jackson</artifactId>
2021-02-04 23:03:02 +08:00
<version>${sa-token-version}</version>
2021-01-10 18:39:32 +08:00
</dependency> -->
2021-01-10 18:36:35 +08:00
<!-- 提供redis连接池 -->
2021-01-10 18:39:32 +08:00
<!-- <dependency>
2021-01-10 18:36:35 +08:00
<groupId>org.apache.commons</groupId>
<artifactId>commons-pool2</artifactId>
2021-01-10 18:39:32 +08:00
</dependency> -->
2021-01-10 18:36:35 +08:00
<!-- sa-token整合SpringAOP实现注解鉴权 -->
<!-- <dependency>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-spring-aop</artifactId>
2021-02-04 23:03:02 +08:00
<version>${sa-token-version}</version>
2021-01-10 18:36:35 +08:00
</dependency> -->
<!-- @ConfigurationProperties -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
2021-07-01 15:15:54 +08:00
<!-- <version>2.3.1</version> -->
</dependency>
2021-01-10 18:36:35 +08:00
</dependencies>
</project>