pom.xml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. <parent>
  7. <groupId>vip.xiaonuo</groupId>
  8. <artifactId>snowy-plugin</artifactId>
  9. <version>2.0.0</version>
  10. </parent>
  11. <artifactId>snowy-plugin-auth</artifactId>
  12. <packaging>jar</packaging>
  13. <description>登录鉴权插件</description>
  14. <properties>
  15. <sa.token.version>1.31.0</sa.token.version>
  16. <just.auth.version>1.16.5</just.auth.version>
  17. </properties>
  18. <dependencies>
  19. <!-- 每个插件都要引入自己的对外接口 -->
  20. <dependency>
  21. <groupId>vip.xiaonuo</groupId>
  22. <artifactId>snowy-plugin-auth-api</artifactId>
  23. <version>${project.parent.version}</version>
  24. </dependency>
  25. <!-- 引入开发工具接口,用于获取配置 -->
  26. <dependency>
  27. <groupId>vip.xiaonuo</groupId>
  28. <artifactId>snowy-plugin-dev-api</artifactId>
  29. <version>${project.parent.version}</version>
  30. </dependency>
  31. <!-- sa-token -->
  32. <dependency>
  33. <groupId>cn.dev33</groupId>
  34. <artifactId>sa-token-spring-boot-starter</artifactId>
  35. <version>${sa.token.version}</version>
  36. </dependency>
  37. <!-- sa-token 整合 redis (使用jackson序列化方式) -->
  38. <dependency>
  39. <groupId>cn.dev33</groupId>
  40. <artifactId>sa-token-dao-redis-jackson</artifactId>
  41. <version>${sa.token.version}</version>
  42. </dependency>
  43. <!-- Sa-Token插件:权限缓存与业务缓存分离 -->
  44. <dependency>
  45. <groupId>cn.dev33</groupId>
  46. <artifactId>sa-token-alone-redis</artifactId>
  47. <version>${sa.token.version}</version>
  48. </dependency>
  49. <!-- Sa-Token 插件:整合SSO -->
  50. <dependency>
  51. <groupId>cn.dev33</groupId>
  52. <artifactId>sa-token-sso</artifactId>
  53. <version>${sa.token.version}</version>
  54. </dependency>
  55. <!-- JustAuth 第三方登录 -->
  56. <dependency>
  57. <groupId>me.zhyd.oauth</groupId>
  58. <artifactId>JustAuth</artifactId>
  59. <version>${just.auth.version}</version>
  60. </dependency>
  61. </dependencies>
  62. </project>