pom.xml 1.33 KB
Newer Older
duanledexianxianxian's avatar
duanledexianxianxian committed
1 2 3 4 5 6 7 8 9 10 11
<?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>demo-parent</artifactId>
        <groupId>com.duanledexianxianxian.demo</groupId>
        <version>1.0-SNAPSHOT</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>

duanledexianxianxian's avatar
init  
duanledexianxianxian committed
12
    <artifactId>auth-server</artifactId>
duanledexianxianxian's avatar
duanledexianxianxian committed
13 14

    <dependencies>
duanledexianxianxian's avatar
init  
duanledexianxianxian committed
15
        <!-- 注意是starter,自动配置 -->
duanledexianxianxian's avatar
duanledexianxianxian committed
16
        <dependency>
duanledexianxianxian's avatar
init  
duanledexianxianxian committed
17
            <groupId>org.springframework.boot</groupId>
duanledexianxianxian's avatar
init  
duanledexianxianxian committed
18
            <artifactId>spring-boot-starter-security</artifactId>
duanledexianxianxian's avatar
duanledexianxianxian committed
19
        </dependency>
duanledexianxianxian's avatar
init  
duanledexianxianxian committed
20
        <!-- 不是starter,手动配置 -->
duanledexianxianxian's avatar
duanledexianxianxian committed
21
        <dependency>
duanledexianxianxian's avatar
init  
duanledexianxianxian committed
22 23
            <groupId>org.springframework.security.oauth</groupId>
            <artifactId>spring-security-oauth2</artifactId>
duanledexianxianxian's avatar
duanledexianxianxian committed
24
        </dependency>
duanledexianxianxian's avatar
duanledexianxianxian committed
25
        <dependency>
duanledexianxianxian's avatar
init  
duanledexianxianxian committed
26 27
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
duanledexianxianxian's avatar
duanledexianxianxian committed
28
        </dependency>
duanledexianxianxian's avatar
init  
duanledexianxianxian committed
29
        <!-- 将token存储在redis中 -->
duanledexianxianxian's avatar
duanledexianxianxian committed
30
        <dependency>
duanledexianxianxian's avatar
init  
duanledexianxianxian committed
31 32
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-data-redis</artifactId>
duanledexianxianxian's avatar
duanledexianxianxian committed
33
        </dependency>
duanledexianxianxian's avatar
duanledexianxianxian committed
34
    </dependencies>
duanledexianxianxian's avatar
init  
duanledexianxianxian committed
35

duanledexianxianxian's avatar
init  
duanledexianxianxian committed
36
</project>