pom.xml 2.2 KB

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