pom.xml 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. <parent>
  6. <groupId>com.xindazhou</groupId>
  7. <artifactId>xdz-framework</artifactId>
  8. <version>${revision}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>xdz-spring-boot-starter-biz-social</artifactId>
  12. <packaging>jar</packaging>
  13. <name>${project.artifactId}</name>
  14. <description>社交登录拓展,支持如下功能:
  15. 1. 社交用户管理:支持多种社交平台(微信、支付宝、Gitee、钉钉等)
  16. 2. 社交用户绑定:支持将社交账号绑定到系统用户
  17. 3. 社交登录:支持通过社交平台进行登录
  18. </description>
  19. <url></url>
  20. <dependencies>
  21. <dependency>
  22. <groupId>com.xindazhou</groupId>
  23. <artifactId>xdz-common</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>com.xindazhou</groupId>
  27. <artifactId>xdz-spring-boot-starter-mybatis</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.xindazhou</groupId>
  31. <artifactId>xdz-spring-boot-starter-redis</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>com.xindazhou</groupId>
  35. <artifactId>xdz-spring-boot-starter-biz-tenant</artifactId>
  36. </dependency>
  37. <!-- 社交登录相关 -->
  38. <dependency>
  39. <groupId>me.zhyd.oauth</groupId>
  40. <artifactId>JustAuth</artifactId> <!-- 社交登陆(例如说,个人微信、企业微信等等) -->
  41. </dependency>
  42. <dependency>
  43. <groupId>com.xkcoding.justauth</groupId>
  44. <artifactId>justauth-spring-boot-starter</artifactId>
  45. <exclusions>
  46. <!-- 移除,避免和项目里的 hutool-all 冲突 -->
  47. <exclusion>
  48. <groupId>cn.hutool</groupId>
  49. <artifactId>hutool-core</artifactId>
  50. </exclusion>
  51. </exclusions>
  52. </dependency>
  53. <dependency>
  54. <groupId>com.github.binarywang</groupId>
  55. <artifactId>wx-java-mp-spring-boot-starter</artifactId> <!-- 微信登录(公众号) -->
  56. </dependency>
  57. <dependency>
  58. <groupId>com.github.binarywang</groupId>
  59. <artifactId>wx-java-miniapp-spring-boot-starter</artifactId> <!-- 微信登录(小程序) -->
  60. </dependency>
  61. <dependency>
  62. <groupId>org.projectlombok</groupId>
  63. <artifactId>lombok</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-validation</artifactId>
  68. </dependency>
  69. <!-- Swagger 相关(用于 DTO 和 VO 的注解) -->
  70. <dependency>
  71. <groupId>org.springdoc</groupId>
  72. <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
  73. <scope>provided</scope>
  74. </dependency>
  75. <!-- Test 测试相关 -->
  76. <dependency>
  77. <groupId>com.xindazhou</groupId>
  78. <artifactId>xdz-spring-boot-starter-test</artifactId>
  79. <scope>test</scope>
  80. </dependency>
  81. </dependencies>
  82. </project>