pom.xml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <!-- 由于方便大家拷贝,使用不使用 feifan 作为 Maven parent -->
  7. <groupId>cn.newfeifan.zx</groupId>
  8. <artifactId>feifan-sso-demo-by-code</artifactId>
  9. <version>1.0.0-snapshot</version>
  10. <packaging>jar</packaging>
  11. <name>${project.artifactId}</name>
  12. <description>基于授权码模式,如何实现 SSO 单点登录?</description>
  13. <url>https://github.com/YunaiV/ruoyi-vue-pro</url>
  14. <properties>
  15. <!-- Maven 相关 -->
  16. <maven.compiler.source>8</maven.compiler.source>
  17. <maven.compiler.target>8</maven.compiler.target>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <!-- 统一依赖管理 -->
  20. <spring.boot.version>2.7.17</spring.boot.version>
  21. </properties>
  22. <dependencyManagement>
  23. <dependencies>
  24. <!-- 统一依赖管理 -->
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-dependencies</artifactId>
  28. <version>${spring.boot.version}</version>
  29. <type>pom</type>
  30. <scope>import</scope>
  31. </dependency>
  32. </dependencies>
  33. </dependencyManagement>
  34. <dependencies>
  35. <!-- Web 相关 -->
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-web</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-security</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>cn.hutool</groupId>
  46. <artifactId>hutool-all</artifactId>
  47. <version>5.8.22</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.projectlombok</groupId>
  51. <artifactId>lombok</artifactId>
  52. <optional>true</optional>
  53. </dependency>
  54. </dependencies>
  55. </project>