pom.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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>cn.tz.cloud</groupId>
  7. <artifactId>tz-module-mq</artifactId>
  8. <version>${revision}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>tz-module-mq-biz</artifactId>
  12. <packaging>jar</packaging>
  13. <name>${project.artifactId}</name>
  14. <description>
  15. mq 业务模块,提供消息队列的消费者和生产者实现
  16. </description>
  17. <dependencies>
  18. <!-- Spring Cloud 基础 -->
  19. <dependency>
  20. <groupId>cn.tz.cloud</groupId>
  21. <artifactId>tz-spring-boot-starter-env</artifactId>
  22. </dependency>
  23. <!-- 依赖服务 -->
  24. <dependency>
  25. <groupId>cn.tz.cloud</groupId>
  26. <artifactId>tz-module-system-api</artifactId>
  27. <version>${revision}</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>cn.tz.cloud</groupId>
  31. <artifactId>tz-module-infra-api</artifactId>
  32. <version>${revision}</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>cn.tz.cloud</groupId>
  36. <artifactId>tz-module-pressure-api</artifactId>
  37. <version>${revision}</version>
  38. </dependency>
  39. <!-- 业务组件 -->
  40. <dependency>
  41. <groupId>cn.tz.cloud</groupId>
  42. <artifactId>tz-spring-boot-starter-biz-tenant</artifactId>
  43. </dependency>
  44. <!-- Web 相关 -->
  45. <dependency>
  46. <groupId>cn.tz.cloud</groupId>
  47. <artifactId>tz-spring-boot-starter-security</artifactId>
  48. </dependency>
  49. <!-- DB 相关 -->
  50. <dependency>
  51. <groupId>cn.tz.cloud</groupId>
  52. <artifactId>tz-spring-boot-starter-mybatis</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>cn.tz.cloud</groupId>
  56. <artifactId>tz-spring-boot-starter-redis</artifactId>
  57. </dependency>
  58. <!-- RPC 远程调用相关 -->
  59. <dependency>
  60. <groupId>cn.tz.cloud</groupId>
  61. <artifactId>tz-spring-boot-starter-rpc</artifactId>
  62. </dependency>
  63. <!-- Registry 注册中心相关 -->
  64. <dependency>
  65. <groupId>com.alibaba.cloud</groupId>
  66. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  67. </dependency>
  68. <!-- Config 配置中心相关 -->
  69. <dependency>
  70. <groupId>com.alibaba.cloud</groupId>
  71. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  72. </dependency>
  73. <!-- MQ 消息队列相关 -->
  74. <dependency>
  75. <groupId>cn.tz.cloud</groupId>
  76. <artifactId>tz-spring-boot-starter-mq</artifactId>
  77. </dependency>
  78. <!-- Job 定时任务相关 -->
  79. <dependency>
  80. <groupId>cn.tz.cloud</groupId>
  81. <artifactId>tz-spring-boot-starter-job</artifactId>
  82. </dependency>
  83. <!-- 消息队列相关 -->
  84. <dependency>
  85. <groupId>org.apache.rocketmq</groupId>
  86. <artifactId>rocketmq-spring-boot-starter</artifactId>
  87. </dependency>
  88. <!-- Test 测试相关 -->
  89. <dependency>
  90. <groupId>cn.tz.cloud</groupId>
  91. <artifactId>tz-spring-boot-starter-test</artifactId>
  92. </dependency>
  93. <!-- 工具类相关 -->
  94. <dependency>
  95. <groupId>cn.tz.cloud</groupId>
  96. <artifactId>tz-spring-boot-starter-excel</artifactId>
  97. </dependency>
  98. <!-- 监控相关 -->
  99. <dependency>
  100. <groupId>cn.tz.cloud</groupId>
  101. <artifactId>tz-spring-boot-starter-monitor</artifactId>
  102. </dependency>
  103. <dependency>
  104. <groupId>cn.tz.cloud</groupId>
  105. <artifactId>tz-spring-boot-starter-redis</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>