pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.4.6</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.yx</groupId>
  12. <artifactId>face-server</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>face-server</name>
  15. <description>人脸下发中间平台</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <skipTests>true</skipTests>
  19. <spring-cloud.version>2020.0.3</spring-cloud.version>
  20. </properties>
  21. <dependencyManagement>
  22. <dependencies>
  23. <dependency>
  24. <groupId>org.springframework.cloud</groupId>
  25. <artifactId>spring-cloud-dependencies</artifactId>
  26. <version>${spring-cloud.version}</version>
  27. <type>pom</type>
  28. <scope>import</scope>
  29. </dependency>
  30. </dependencies>
  31. </dependencyManagement>
  32. <dependencies>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-web</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.cloud</groupId>
  39. <artifactId>spring-cloud-starter-openfeign</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.projectlombok</groupId>
  43. <artifactId>lombok</artifactId>
  44. <optional>true</optional>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-test</artifactId>
  49. <scope>test</scope>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-aop</artifactId>
  54. </dependency>
  55. <!--========================【数据库相关依赖】===============================-->
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-redis</artifactId>
  59. <version>1.4.1.RELEASE</version>
  60. </dependency>
  61. <!-- ftp相关 -->
  62. <dependency>
  63. <groupId>commons-net</groupId>
  64. <artifactId>commons-net</artifactId>
  65. <version>3.6</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.mybatis.spring.boot</groupId>
  69. <artifactId>mybatis-spring-boot-starter</artifactId>
  70. <version>2.1.4</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>mysql</groupId>
  74. <artifactId>mysql-connector-java</artifactId>
  75. <scope>runtime</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>com.github.pagehelper</groupId>
  79. <artifactId>pagehelper-spring-boot-starter</artifactId>
  80. <version>1.3.0</version>
  81. <exclusions>
  82. <exclusion>
  83. <artifactId>mybatis-spring-boot-starter</artifactId>
  84. <groupId>org.mybatis.spring.boot</groupId>
  85. </exclusion>
  86. <exclusion>
  87. <artifactId>jsqlparser</artifactId>
  88. <groupId>com.github.jsqlparser</groupId>
  89. </exclusion>
  90. </exclusions>
  91. </dependency>
  92. <dependency>
  93. <groupId>tk.mybatis</groupId>
  94. <artifactId>mapper-spring-boot-starter</artifactId>
  95. <version>2.1.5</version>
  96. <exclusions>
  97. <exclusion>
  98. <artifactId>mybatis-spring</artifactId>
  99. <groupId>org.mybatis</groupId>
  100. </exclusion>
  101. <exclusion>
  102. <artifactId>mybatis</artifactId>
  103. <groupId>org.mybatis</groupId>
  104. </exclusion>
  105. <exclusion>
  106. <artifactId>persistence-api</artifactId>
  107. <groupId>javax.persistence</groupId>
  108. </exclusion>
  109. </exclusions>
  110. </dependency>
  111. <dependency>
  112. <groupId>jakarta.persistence</groupId>
  113. <artifactId>jakarta.persistence-api</artifactId>
  114. <version>2.2.3</version>
  115. </dependency>
  116. <!--========================【工具类相关依赖】===============================-->
  117. <dependency>
  118. <groupId>commons-io</groupId>
  119. <artifactId>commons-io</artifactId>
  120. <version>2.8.0</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.apache.commons</groupId>
  124. <artifactId>commons-lang3</artifactId>
  125. <version>3.12.0</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>commons-codec</groupId>
  129. <artifactId>commons-codec</artifactId>
  130. <version>1.15</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>com.google.guava</groupId>
  134. <artifactId>guava</artifactId>
  135. <version>30.1.1-jre</version>
  136. </dependency>
  137. <!--========================【http】===============================-->
  138. <!-- https://mvnrepository.com/artifact/cn.hutool/hutool-all -->
  139. <dependency>
  140. <groupId>cn.hutool</groupId>
  141. <artifactId>hutool-all</artifactId>
  142. <version>5.8.11</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>com.squareup.okhttp3</groupId>
  146. <artifactId>okhttp</artifactId>
  147. <version>3.10.0</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>com.alibaba</groupId>
  151. <artifactId>fastjson</artifactId>
  152. <version>1.2.60</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>org.springframework.boot</groupId>
  156. <artifactId>spring-boot-starter-validation</artifactId>
  157. <exclusions>
  158. <exclusion>
  159. <groupId>org.springframework.boot</groupId>
  160. <artifactId>spring-boot-starter</artifactId>
  161. </exclusion>
  162. </exclusions>
  163. </dependency>
  164. <!--========================【微信对接工具包相关依赖】===============================-->
  165. <dependency>
  166. <groupId>com.github.binarywang</groupId>
  167. <artifactId>weixin-java-miniapp</artifactId>
  168. <version>4.0.7.B</version>
  169. </dependency>
  170. <!--========================【EXCEL相关依赖】===============================-->
  171. <dependency>
  172. <groupId>com.alibaba</groupId>
  173. <artifactId>easyexcel</artifactId>
  174. <version>2.2.8</version>
  175. </dependency>
  176. <!--========================【在线接口文档相关依赖】===============================-->
  177. <dependency>
  178. <groupId>com.github.xiaoymin</groupId>
  179. <artifactId>knife4j-spring-boot-starter</artifactId>
  180. <version>3.0.2</version>
  181. </dependency>
  182. <!--========================【接口安全相关依赖】===============================-->
  183. <dependency>
  184. <groupId>com.auth0</groupId>
  185. <artifactId>java-jwt</artifactId>
  186. <version>3.14.0</version>
  187. </dependency>
  188. <!-- ...............二维码生成器......................................................... -->
  189. <dependency>
  190. <groupId>com.google.zxing</groupId>
  191. <artifactId>core</artifactId>
  192. <version>3.3.3</version>
  193. </dependency>
  194. <dependency>
  195. <groupId>com.google.zxing</groupId>
  196. <artifactId>javase</artifactId>
  197. <version>3.3.3</version>
  198. </dependency>
  199. <!-- 图片缩略图 -->
  200. <dependency>
  201. <groupId>net.coobird</groupId>
  202. <artifactId>thumbnailator</artifactId>
  203. <version>0.4.8</version>
  204. </dependency>
  205. <!-- netty -->
  206. <dependency>
  207. <groupId>io.netty</groupId>
  208. <artifactId>netty-all</artifactId>
  209. <version>4.1.36.Final</version>
  210. </dependency>
  211. <!-- 数据库相关 https://mvnrepository.com/artifact/com.baomidou/mybatis-plus-boot-starter -->
  212. <dependency>
  213. <groupId>com.baomidou</groupId>
  214. <artifactId>mybatis-plus-boot-starter</artifactId>
  215. <version>3.5.2</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>com.baomidou</groupId>
  219. <artifactId>mybatis-plus-extension</artifactId>
  220. <version>3.5.2</version>
  221. </dependency>
  222. </dependencies>
  223. <build>
  224. <finalName>ldb-airport-master</finalName>
  225. <!--加上这个才能打包时将静态资源打进去-->
  226. <resources>
  227. <resource>
  228. <directory>${basedir}/src/main/webapp</directory>
  229. <targetPath>META-INF/resources</targetPath>
  230. <includes>
  231. <include>**/**</include>
  232. </includes>
  233. </resource>
  234. <resource>
  235. <directory>src/main/resources</directory>
  236. <includes>
  237. <include>**/*.*</include>
  238. </includes>
  239. <filtering>true</filtering>
  240. </resource>
  241. <resource>
  242. <directory>src/main/java</directory>
  243. <includes>
  244. <include>**/*.xml</include>
  245. <include>**/*.yml</include>
  246. <include>**/*.properties</include>
  247. </includes>
  248. </resource>
  249. </resources>
  250. <plugins>
  251. <plugin>
  252. <groupId>org.springframework.boot</groupId>
  253. <artifactId>spring-boot-maven-plugin</artifactId>
  254. <configuration>
  255. <mainClass>com.yx.face.FaceServerApplication</mainClass>
  256. <excludes>
  257. <exclude>
  258. <groupId>org.projectlombok</groupId>
  259. <artifactId>lombok</artifactId>
  260. </exclude>
  261. </excludes>
  262. </configuration>
  263. </plugin>
  264. </plugins>
  265. </build>
  266. </project>