pom.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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-module-user</artifactId>
  8. <version>${revision}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>xdz-module-user-server</artifactId>
  12. <packaging>jar</packaging>
  13. <name>${project.artifactId}</name>
  14. <description>
  15. 用户服务实现,包含 C端用户管理功能
  16. </description>
  17. <dependencies>
  18. <!-- Spring Cloud 基础 -->
  19. <dependency>
  20. <groupId>com.xindazhou</groupId>
  21. <artifactId>xdz-spring-boot-starter-env</artifactId>
  22. </dependency>
  23. <!-- 依赖服务 -->
  24. <dependency>
  25. <groupId>com.xindazhou</groupId>
  26. <artifactId>xdz-module-user-api</artifactId>
  27. <version>${revision}</version>
  28. </dependency>
  29. <!-- 依赖业务服务 API -->
  30. <dependency>
  31. <groupId>com.xindazhou</groupId>
  32. <artifactId>xdz-module-business-api</artifactId>
  33. <version>${revision}</version>
  34. </dependency>
  35. <!-- 业务组件 -->
  36. <dependency>
  37. <groupId>com.xindazhou</groupId>
  38. <artifactId>xdz-spring-boot-starter-biz-tenant</artifactId>
  39. </dependency>
  40. <!-- 社交登录相关(已移到 framework) -->
  41. <dependency>
  42. <groupId>com.xindazhou</groupId>
  43. <artifactId>xdz-spring-boot-starter-biz-social</artifactId>
  44. <version>${revision}</version>
  45. </dependency>
  46. <!-- Web 相关 -->
  47. <dependency>
  48. <groupId>com.xindazhou</groupId>
  49. <artifactId>xdz-spring-boot-starter-security</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-validation</artifactId>
  54. </dependency>
  55. <!-- DB 相关 -->
  56. <dependency>
  57. <groupId>com.xindazhou</groupId>
  58. <artifactId>xdz-spring-boot-starter-mybatis</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>com.xindazhou</groupId>
  62. <artifactId>xdz-spring-boot-starter-redis</artifactId>
  63. </dependency>
  64. <!-- RPC 远程调用相关 -->
  65. <dependency>
  66. <groupId>com.xindazhou</groupId>
  67. <artifactId>xdz-spring-boot-starter-rpc</artifactId>
  68. </dependency>
  69. <!-- Registry 注册中心相关 -->
  70. <dependency>
  71. <groupId>com.alibaba.cloud</groupId>
  72. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  73. </dependency>
  74. <!-- Config 配置中心相关 -->
  75. <dependency>
  76. <groupId>com.alibaba.cloud</groupId>
  77. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  78. </dependency>
  79. <!-- 消息队列相关 -->
  80. <dependency>
  81. <groupId>com.xindazhou</groupId>
  82. <artifactId>xdz-spring-boot-starter-mq</artifactId>
  83. </dependency>
  84. <!-- Test 测试相关 -->
  85. <dependency>
  86. <groupId>com.xindazhou</groupId>
  87. <artifactId>xdz-spring-boot-starter-test</artifactId>
  88. <scope>test</scope>
  89. </dependency>
  90. <!-- 工具类相关 -->
  91. <dependency>
  92. <groupId>com.xindazhou</groupId>
  93. <artifactId>xdz-spring-boot-starter-excel</artifactId>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.xindazhou</groupId>
  97. <artifactId>xdz-spring-boot-starter-biz-ip</artifactId>
  98. </dependency>
  99. <!-- 监控相关 -->
  100. <dependency>
  101. <groupId>com.xindazhou</groupId>
  102. <artifactId>xdz-spring-boot-starter-monitor</artifactId>
  103. </dependency>
  104. </dependencies>
  105. <build>
  106. <!-- 设置构建的 jar 包名 -->
  107. <finalName>${project.artifactId}</finalName>
  108. <plugins>
  109. <!-- 打包 -->
  110. <plugin>
  111. <groupId>org.springframework.boot</groupId>
  112. <artifactId>spring-boot-maven-plugin</artifactId>
  113. <version>${spring.boot.version}</version>
  114. <executions>
  115. <execution>
  116. <goals>
  117. <goal>repackage</goal>
  118. </goals>
  119. </execution>
  120. </executions>
  121. </plugin>
  122. </plugins>
  123. </build>
  124. </project>