pom.xml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>cn.tz.cloud</groupId>
  6. <artifactId>tz-module-pipeline</artifactId>
  7. <version>${revision}</version> <!-- 1. 修改 version 为 ${revision} -->
  8. </parent>
  9. <artifactId>tz-module-pipeline-biz</artifactId>
  10. <packaging>jar</packaging> <!-- 2. 新增 packaging 为 jar -->
  11. <name>${project.artifactId}</name> <!-- 3. 新增 name 为 ${project.artifactId} -->
  12. <description> <!-- 4. 新增 description 为该模块的描述 -->
  13. 管道 模块
  14. </description>
  15. <url>http://maven.apache.org</url>
  16. <properties>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>junit</groupId>
  22. <artifactId>junit</artifactId>
  23. <version>3.8.1</version>
  24. <scope>test</scope>
  25. </dependency>
  26. <!-- 5. 新增依赖,这里引入的都是比较常用的业务组件、技术组件 -->
  27. <dependency>
  28. <groupId>cn.tz.cloud</groupId>
  29. <artifactId>tz-module-system-api</artifactId>
  30. <version>${revision}</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>cn.tz.cloud</groupId>
  34. <artifactId>tz-module-infra-api</artifactId>
  35. <version>${revision}</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>cn.tz.cloud</groupId>
  39. <artifactId>tz-module-pipeline-api</artifactId>
  40. <version>${revision}</version>
  41. </dependency>
  42. <!-- 业务组件 -->
  43. <dependency>
  44. <groupId>cn.tz.cloud</groupId>
  45. <artifactId>tz-spring-boot-starter-biz-data-permission</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>cn.tz.cloud</groupId>
  49. <artifactId>tz-spring-boot-starter-biz-tenant</artifactId>
  50. </dependency>
  51. <!-- Web 相关 -->
  52. <dependency>
  53. <groupId>cn.tz.cloud</groupId>
  54. <artifactId>tz-spring-boot-starter-web</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>cn.tz.cloud</groupId>
  58. <artifactId>tz-spring-boot-starter-security</artifactId>
  59. </dependency>
  60. <!-- DB 相关 -->
  61. <dependency>
  62. <groupId>cn.tz.cloud</groupId>
  63. <artifactId>tz-spring-boot-starter-mybatis</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>cn.tz.cloud</groupId>
  67. <artifactId>tz-spring-boot-starter-redis</artifactId>
  68. </dependency>
  69. <!-- RPC 远程调用相关 -->
  70. <dependency>
  71. <groupId>cn.tz.cloud</groupId>
  72. <artifactId>tz-spring-boot-starter-rpc</artifactId>
  73. </dependency>
  74. <!-- Registry 注册中心相关 -->
  75. <dependency>
  76. <groupId>com.alibaba.cloud</groupId>
  77. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  78. </dependency>
  79. <!-- Config 配置中心相关 -->
  80. <dependency>
  81. <groupId>com.alibaba.cloud</groupId>
  82. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  83. </dependency>
  84. <!-- Job 定时任务相关 -->
  85. <dependency>
  86. <groupId>cn.tz.cloud</groupId>
  87. <artifactId>tz-spring-boot-starter-job</artifactId>
  88. </dependency>
  89. <!-- 消息队列相关 -->
  90. <dependency>
  91. <groupId>cn.tz.cloud</groupId>
  92. <artifactId>tz-spring-boot-starter-mq</artifactId>
  93. </dependency>
  94. <!-- Test 测试相关 -->
  95. <dependency>
  96. <groupId>cn.tz.cloud</groupId>
  97. <artifactId>tz-spring-boot-starter-test</artifactId>
  98. </dependency>
  99. <!-- 工具类相关 -->
  100. <dependency>
  101. <groupId>cn.tz.cloud</groupId>
  102. <artifactId>tz-spring-boot-starter-excel</artifactId>
  103. </dependency>
  104. <!-- 监控相关 -->
  105. <dependency>
  106. <groupId>cn.tz.cloud</groupId>
  107. <artifactId>tz-spring-boot-starter-monitor</artifactId>
  108. </dependency>
  109. </dependencies>
  110. <build>
  111. <!-- 设置构建的 jar 包名 -->
  112. <finalName>${project.artifactId}</finalName>
  113. <plugins>
  114. <!-- 打包 -->
  115. <plugin>
  116. <groupId>org.springframework.boot</groupId>
  117. <artifactId>spring-boot-maven-plugin</artifactId>
  118. <executions>
  119. <execution>
  120. <goals>
  121. <goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
  122. </goals>
  123. </execution>
  124. </executions>
  125. </plugin>
  126. </plugins>
  127. </build>
  128. </project>