pom.xml 7.4 KB

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