pom.xml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  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. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>cn.tz.cloud</groupId>
  8. <artifactId>tz-module-laboratory</artifactId>
  9. <version>${revision}</version>
  10. </parent>
  11. <packaging>jar</packaging> <!-- 2. 新增 packaging 为 jar -->
  12. <artifactId>tz-module-laboratory-biz</artifactId>
  13. <name>${project.artifactId}</name> <!-- 3. 新增 name 为 ${project.artifactId} -->
  14. <description> <!-- 4. 新增 description 为该模块的描述 -->
  15. 实验室业务模块,主要实现 模版管理、档案管理、业务受理等功能。
  16. </description>
  17. <dependencies> <!-- 5. 新增依赖,这里引入的都是比较常用的业务组件、技术组件 -->
  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-member-api</artifactId>
  37. <version>${revision}</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>cn.tz.cloud</groupId>
  41. <artifactId>tz-module-laboratory-api</artifactId>
  42. <version>${revision}</version>
  43. </dependency>
  44. <!-- 业务组件 -->
  45. <dependency>
  46. <groupId>cn.tz.cloud</groupId>
  47. <artifactId>tz-spring-boot-starter-biz-data-permission</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>cn.tz.cloud</groupId>
  51. <artifactId>tz-spring-boot-starter-biz-tenant</artifactId>
  52. </dependency>
  53. <!-- Web 相关 -->
  54. <dependency>
  55. <groupId>cn.tz.cloud</groupId>
  56. <artifactId>tz-spring-boot-starter-web</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>cn.tz.cloud</groupId>
  60. <artifactId>tz-spring-boot-starter-security</artifactId>
  61. </dependency>
  62. <!-- DB 相关 -->
  63. <dependency>
  64. <groupId>cn.tz.cloud</groupId>
  65. <artifactId>tz-spring-boot-starter-mybatis</artifactId>
  66. </dependency>
  67. <dependency>
  68. <groupId>cn.tz.cloud</groupId>
  69. <artifactId>tz-spring-boot-starter-redis</artifactId>
  70. </dependency>
  71. <!-- RPC 远程调用相关 -->
  72. <dependency>
  73. <groupId>cn.tz.cloud</groupId>
  74. <artifactId>tz-spring-boot-starter-rpc</artifactId>
  75. </dependency>
  76. <!-- Registry 注册中心相关 -->
  77. <dependency>
  78. <groupId>com.alibaba.cloud</groupId>
  79. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  80. </dependency>
  81. <!-- Config 配置中心相关 -->
  82. <dependency>
  83. <groupId>com.alibaba.cloud</groupId>
  84. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  85. </dependency>
  86. <!-- Job 定时任务相关 -->
  87. <dependency>
  88. <groupId>cn.tz.cloud</groupId>
  89. <artifactId>tz-spring-boot-starter-job</artifactId>
  90. </dependency>
  91. <!-- 消息队列相关 -->
  92. <dependency>
  93. <groupId>cn.tz.cloud</groupId>
  94. <artifactId>tz-spring-boot-starter-mq</artifactId>
  95. </dependency>
  96. <!-- Test 测试相关 -->
  97. <dependency>
  98. <groupId>cn.tz.cloud</groupId>
  99. <artifactId>tz-spring-boot-starter-test</artifactId>
  100. </dependency>
  101. <!-- 工具类相关 -->
  102. <dependency>
  103. <groupId>cn.tz.cloud</groupId>
  104. <artifactId>tz-spring-boot-starter-excel</artifactId>
  105. </dependency>
  106. <!-- 监控相关 -->
  107. <dependency>
  108. <groupId>cn.tz.cloud</groupId>
  109. <artifactId>tz-spring-boot-starter-monitor</artifactId>
  110. </dependency>
  111. <dependency>
  112. <groupId>com.grapecitysoft.documents</groupId>
  113. <artifactId>gcexcel</artifactId>
  114. </dependency>
  115. </dependencies>
  116. <build>
  117. <!-- 设置构建的 jar 包名 -->
  118. <finalName>${project.artifactId}</finalName>
  119. <plugins>
  120. <!-- 打包 -->
  121. <plugin>
  122. <groupId>org.springframework.boot</groupId>
  123. <artifactId>spring-boot-maven-plugin</artifactId>
  124. <version>${spring.boot.version}</version>
  125. <executions>
  126. <execution>
  127. <goals>
  128. <goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
  129. </goals>
  130. </execution>
  131. </executions>
  132. </plugin>
  133. </plugins>
  134. </build>
  135. </project>