pom.xml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  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. <artifactId>pipe-network-service</artifactId>
  7. <groupId>com.zksy</groupId>
  8. <version>3.9.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>jar</packaging>
  12. <artifactId>zksy-admin</artifactId>
  13. <description>
  14. web服务入口
  15. </description>
  16. <dependencies>
  17. <!-- spring-boot-devtools -->
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-devtools</artifactId>
  21. <optional>true</optional> <!-- 表示依赖不会传递 -->
  22. </dependency>
  23. <dependency>
  24. <groupId>com.github.xiaoymin</groupId>
  25. <artifactId>knife4j-openapi2-spring-boot-starter</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>io.minio</groupId>
  29. <artifactId>minio</artifactId>
  30. <version>7.1.0</version> <!-- 与 classpath 中的版本保持一致,或使用 8.5.x 也可 -->
  31. </dependency>
  32. <!-- swagger3-->
  33. <!--
  34. <dependency>
  35. <groupId>io.springfox</groupId>
  36. <artifactId>springfox-boot-starter</artifactId>
  37. </dependency>
  38. &lt;!&ndash; 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 &ndash;&gt;
  39. <dependency>
  40. <groupId>io.swagger</groupId>
  41. <artifactId>swagger-models</artifactId>
  42. <version>1.6.2</version>
  43. </dependency>
  44. &lt;!&ndash; Mysql驱动包 &ndash;&gt;
  45. <dependency>
  46. <groupId>mysql</groupId>
  47. <artifactId>mysql-connector-java</artifactId>
  48. </dependency>
  49. -->
  50. <dependency>
  51. <groupId>com.mysql</groupId>
  52. <artifactId>mysql-connector-j</artifactId>
  53. <version>8.0.33</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>cn.com.kingbase</groupId>
  57. <artifactId>kingbase8</artifactId>
  58. <version>8.6.0</version>
  59. </dependency>
  60. <!-- 核心模块-->
  61. <dependency>
  62. <groupId>com.zksy</groupId>
  63. <artifactId>zksy-framework</artifactId>
  64. </dependency>
  65. <!-- 定时任务-->
  66. <dependency>
  67. <groupId>com.zksy</groupId>
  68. <artifactId>zksy-quartz</artifactId>
  69. </dependency>
  70. <!-- 代码生成-->
  71. <dependency>
  72. <groupId>com.zksy</groupId>
  73. <artifactId>zksy-generator</artifactId>
  74. </dependency>
  75. <dependency>
  76. <groupId>com.baomidou</groupId>
  77. <artifactId>mybatis-plus-boot-starter</artifactId>
  78. </dependency>
  79. <!--nacos 服务注册发现-->
  80. <dependency>
  81. <groupId>com.alibaba.cloud</groupId>
  82. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  83. <version>2021.0.4.0</version>
  84. </dependency>
  85. <!--负载均衡-->
  86. <dependency>
  87. <groupId>org.springframework.cloud</groupId>
  88. <artifactId>spring-cloud-starter-loadbalancer</artifactId>
  89. <version>3.1.3</version>
  90. </dependency>
  91. <!--统一配置管理-->
  92. <dependency>
  93. <groupId>com.alibaba.cloud</groupId>
  94. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  95. <version>2021.0.4.0</version>
  96. </dependency>
  97. <!--加载bootstrap-->
  98. <dependency>
  99. <groupId>org.springframework.cloud</groupId>
  100. <artifactId>spring-cloud-starter-bootstrap</artifactId>
  101. <version>3.1.3</version>
  102. </dependency>
  103. <!--sentinel-->
  104. <dependency>
  105. <groupId>com.alibaba.cloud</groupId>
  106. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  107. <version>2021.0.4.0</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.springframework.boot</groupId>
  111. <artifactId>spring-boot-starter-test</artifactId>
  112. </dependency>
  113. <dependency>
  114. <groupId>io.prometheus</groupId>
  115. <artifactId>simpleclient</artifactId>
  116. <version>0.12.0</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>io.prometheus</groupId>
  120. <artifactId>simpleclient_common</artifactId>
  121. <version>0.12.0</version>
  122. </dependency>
  123. <!-- WebSocket -->
  124. <dependency>
  125. <groupId>org.springframework.boot</groupId>
  126. <artifactId>spring-boot-starter-websocket</artifactId>
  127. </dependency>
  128. <!-- 阿里云短信服务 -->
  129. <dependency>
  130. <groupId>com.aliyun</groupId>
  131. <artifactId>alibabacloud-dysmsapi20170525</artifactId>
  132. <version>4.0.3</version>
  133. </dependency>
  134. </dependencies>
  135. <build>
  136. <plugins>
  137. <plugin>
  138. <groupId>org.springframework.boot</groupId>
  139. <artifactId>spring-boot-maven-plugin</artifactId>
  140. <version>2.7.15</version>
  141. <configuration>
  142. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  143. </configuration>
  144. <executions>
  145. <execution>
  146. <goals>
  147. <goal>repackage</goal>
  148. </goals>
  149. </execution>
  150. </executions>
  151. </plugin>
  152. <plugin>
  153. <groupId>org.apache.maven.plugins</groupId>
  154. <artifactId>maven-war-plugin</artifactId>
  155. <version>3.1.0</version>
  156. <configuration>
  157. <failOnMissingWebXml>false</failOnMissingWebXml>
  158. <warName>${project.artifactId}</warName>
  159. </configuration>
  160. </plugin>
  161. </plugins>
  162. <finalName>${project.artifactId}</finalName>
  163. </build>
  164. </project>