|
@@ -0,0 +1,53 @@
|
|
|
+<?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">
|
|
|
+ <modelVersion>4.0.0</modelVersion>
|
|
|
+
|
|
|
+ <!-- 由于方便大家拷贝,使用不使用 yudao 作为 Maven parent -->
|
|
|
+
|
|
|
+ <groupId>cn.iocoder.boot</groupId>
|
|
|
+ <artifactId>yudao-sso-demo-by-code</artifactId>
|
|
|
+ <version>1.0.0-snapshot</version>
|
|
|
+ <packaging>jar</packaging>
|
|
|
+
|
|
|
+ <name>${project.artifactId}</name>
|
|
|
+ <description>基于授权码模式,如何实现 SSO 单点登录?</description>
|
|
|
+ <url>https://github.com/YunaiV/ruoyi-vue-pro</url>
|
|
|
+
|
|
|
+ <properties>
|
|
|
+ <!-- Maven 相关 -->
|
|
|
+ <maven.compiler.source>8</maven.compiler.source>
|
|
|
+ <maven.compiler.target>8</maven.compiler.target>
|
|
|
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
+ <!-- 统一依赖管理 -->
|
|
|
+ <spring.boot.version>2.6.10</spring.boot.version>
|
|
|
+ </properties>
|
|
|
+
|
|
|
+ <dependencyManagement>
|
|
|
+ <dependencies>
|
|
|
+ <!-- 统一依赖管理 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-dependencies</artifactId>
|
|
|
+ <version>${spring.boot.version}</version>
|
|
|
+ <type>pom</type>
|
|
|
+ <scope>import</scope>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ </dependencyManagement>
|
|
|
+
|
|
|
+ <dependencies>
|
|
|
+ <!-- Web 相关 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-web</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-security</artifactId>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+
|
|
|
+</project>
|