pom.xml 4.7 KB

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