pom.xml 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  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>zd-modules</artifactId>
  7. <groupId>com.zd</groupId>
  8. <version>3.1.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>zd-chemical</artifactId>
  12. <description>
  13. zd-chemical化学品模块
  14. </description>
  15. <dependencies>
  16. <!-- SpringCloud Alibaba Nacos -->
  17. <dependency>
  18. <groupId>com.alibaba.cloud</groupId>
  19. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  20. </dependency>
  21. <!-- SpringCloud Alibaba Nacos Config -->
  22. <dependency>
  23. <groupId>com.alibaba.cloud</groupId>
  24. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  25. </dependency>
  26. <!--<dependency>
  27. <groupId>com.alibaba.nacos</groupId>
  28. <artifactId>nacos-spring-context</artifactId>
  29. <version>0.2.3-RC1</version>
  30. </dependency>-->
  31. <!-- SpringCloud Alibaba Sentinel -->
  32. <dependency>
  33. <groupId>com.alibaba.cloud</groupId>
  34. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  35. </dependency>
  36. <!-- SpringBoot Actuator -->
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-actuator</artifactId>
  40. </dependency>
  41. <!-- Swagger UI -->
  42. <!-- <dependency>-->
  43. <!-- <groupId>io.springfox</groupId>-->
  44. <!-- <artifactId>springfox-swagger-ui</artifactId>-->
  45. <!-- <version>${swagger.fox.version}</version>-->
  46. <!-- </dependency>-->
  47. <!-- Mysql Connector -->
  48. <dependency>
  49. <groupId>mysql</groupId>
  50. <artifactId>mysql-connector-java</artifactId>
  51. </dependency>
  52. <!-- zd Common DataSource -->
  53. <dependency>
  54. <groupId>com.zd</groupId>
  55. <artifactId>zd-common-datasource</artifactId>
  56. </dependency>
  57. <!-- zd Common DataScope -->
  58. <dependency>
  59. <groupId>com.zd</groupId>
  60. <artifactId>zd-common-datascope</artifactId>
  61. <exclusions>
  62. <exclusion>
  63. <groupId>org.springframework</groupId>
  64. <artifactId>spring-webmvc</artifactId>
  65. </exclusion>
  66. </exclusions>
  67. </dependency>
  68. <!-- zd Common Log -->
  69. <dependency>
  70. <groupId>com.zd</groupId>
  71. <artifactId>zd-common-log</artifactId>
  72. </dependency>
  73. <!-- zd Common Swagger -->
  74. <dependency>
  75. <groupId>com.zd</groupId>
  76. <artifactId>zd-common-swagger</artifactId>
  77. </dependency>
  78. <!--mqtt客户端链接服务-->
  79. <!-- <dependency>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-starter-integration</artifactId>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.springframework.integration</groupId>
  85. <artifactId>spring-integration-stream</artifactId>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.springframework.integration</groupId>
  89. <artifactId>spring-integration-mqtt</artifactId>
  90. </dependency>-->
  91. <!-- <dependency>-->
  92. <!-- <groupId>org.eclipse.paho</groupId>-->
  93. <!-- <artifactId>org.eclipse.paho.client.mqttv3</artifactId>-->
  94. <!-- <version>1.2.5</version>-->
  95. <!-- </dependency>-->
  96. <dependency>
  97. <groupId>com.zd</groupId>
  98. <artifactId>zd-common-resultdata</artifactId>
  99. </dependency>
  100. <!--<dependency>
  101. <groupId>org.springframework.boot</groupId>
  102. <artifactId>spring-boot-starter-websocket</artifactId>
  103. </dependency>-->
  104. <!-- <dependency>-->
  105. <!-- <groupId>org.springframework.boot</groupId>-->
  106. <!-- <artifactId>spring-boot-starter-freemarker</artifactId>-->
  107. <!-- </dependency>-->
  108. <dependency>
  109. <groupId>org.springframework.boot</groupId>
  110. <artifactId>spring-boot-starter-test</artifactId>
  111. <scope>test</scope>
  112. <exclusions>
  113. <exclusion>
  114. <groupId>org.junit.vintage</groupId>
  115. <artifactId>junit-vintage-engine</artifactId>
  116. </exclusion>
  117. </exclusions>
  118. </dependency>
  119. </dependencies>
  120. <build>
  121. <finalName>${project.artifactId}</finalName>
  122. <plugins>
  123. <plugin>
  124. <groupId>org.springframework.boot</groupId>
  125. <artifactId>spring-boot-maven-plugin</artifactId>
  126. <executions>
  127. <execution>
  128. <goals>
  129. <goal>repackage</goal>
  130. </goals>
  131. </execution>
  132. </executions>
  133. </plugin>
  134. <!-- 打包时跳过test插件,不运行test测试用例 -->
  135. <plugin>
  136. <groupId>org.apache.maven.plugins</groupId>
  137. <artifactId>maven-surefire-plugin</artifactId>
  138. <version>${maven-surefire-plugin.version}</version>
  139. <configuration>
  140. <skipTests>true</skipTests>
  141. </configuration>
  142. </plugin>
  143. <!-- docker的maven插件 -->
  144. <!-- <plugin>-->
  145. <!-- <groupId>io.fabric8</groupId>-->
  146. <!-- <artifactId>docker-maven-plugin</artifactId>-->
  147. <!-- <version>${docker.maven.verion}</version>-->
  148. <!-- <executions>-->
  149. <!-- &lt;!&ndash;执行 mvn package 时 自动构建docker镜像并推送到仓库 &ndash;&gt;-->
  150. <!-- <execution>-->
  151. <!-- <id>default</id>-->
  152. <!-- <phase>package</phase>-->
  153. <!-- <goals>-->
  154. <!-- <goal>remove</goal>-->
  155. <!-- <goal>build</goal>-->
  156. <!-- <goal>push</goal>-->
  157. <!-- </goals>-->
  158. <!-- </execution>-->
  159. <!-- </executions>-->
  160. <!-- <configuration>-->
  161. <!-- &lt;!&ndash; docker主机 &ndash;&gt;-->
  162. <!-- <dockerHost>tcp://192.168.1.88:2375</dockerHost>-->
  163. <!-- <dockerfile>${project.basedir}/Dockerfile</dockerfile>-->
  164. <!-- <authConfig>-->
  165. <!-- &lt;!&ndash; registry服务的认证&ndash;&gt;-->
  166. <!-- <username>${docker.registry.username}</username>-->
  167. <!-- <password>${docker.registry.password}</password>-->
  168. <!-- </authConfig>-->
  169. <!-- <images>-->
  170. <!-- <image>-->
  171. <!-- &lt;!&ndash; [命名空间] / [镜像名称:版本号] &ndash;&gt;-->
  172. <!-- <name>${docker.registry}/${docker.namespace}/${project.artifactId}</name>-->
  173. <!-- &lt;!&ndash; 仓库地址 &ndash;&gt;-->
  174. <!-- <registry>${docker.registry}</registry>-->
  175. <!-- <build>-->
  176. <!-- <dockerFile>${project.basedir}/Dockerfile</dockerFile>-->
  177. <!-- <tags>-->
  178. <!-- <tag>${project.version}</tag>-->
  179. <!-- </tags>-->
  180. <!-- </build>-->
  181. <!-- </image>-->
  182. <!-- </images>-->
  183. <!-- <buildArgs>-->
  184. <!-- &lt;!&ndash; dockerfile参数,指定jar路径 &ndash;&gt;-->
  185. <!-- <JAR_FILE>${project.artifactId}.jar</JAR_FILE>-->
  186. <!-- </buildArgs>-->
  187. <!-- </configuration>-->
  188. <!-- </plugin>-->
  189. </plugins>
  190. </build>
  191. </project>