pom.xml 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  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>fyzd-phone</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>fyzd-phone</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. <!--阿里云oss-->
  57. <dependency>
  58. <groupId>com.aliyun.oss</groupId>
  59. <artifactId>aliyun-sdk-oss</artifactId>
  60. <version>3.10.2</version>
  61. </dependency>
  62. <!--minio-->
  63. <dependency>
  64. <groupId>io.minio</groupId>
  65. <artifactId>minio</artifactId>
  66. <version>8.2.1</version>
  67. <exclusions>
  68. <exclusion>
  69. <groupId>com.squareup.okhttp3</groupId>
  70. <artifactId>okhttp</artifactId>
  71. </exclusion>
  72. </exclusions>
  73. </dependency>
  74. <dependency>
  75. <groupId>jakarta.persistence</groupId>
  76. <artifactId>jakarta.persistence-api</artifactId>
  77. <version>2.2.3</version>
  78. </dependency>
  79. <!--========================【工具类相关依赖】===============================-->
  80. <dependency>
  81. <groupId>commons-io</groupId>
  82. <artifactId>commons-io</artifactId>
  83. <version>2.8.0</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.apache.commons</groupId>
  87. <artifactId>commons-lang3</artifactId>
  88. <version>3.12.0</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>commons-codec</groupId>
  92. <artifactId>commons-codec</artifactId>
  93. <version>1.15</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.google.guava</groupId>
  97. <artifactId>guava</artifactId>
  98. <version>30.1.1-jre</version>
  99. </dependency>
  100. <!--========================【http】===============================-->
  101. <!-- https://mvnrepository.com/artifact/cn.hutool/hutool-all -->
  102. <dependency>
  103. <groupId>cn.hutool</groupId>
  104. <artifactId>hutool-all</artifactId>
  105. <version>5.3.9</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>com.squareup.okhttp3</groupId>
  109. <artifactId>okhttp</artifactId>
  110. <version>3.12.0</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>com.alibaba</groupId>
  114. <artifactId>fastjson</artifactId>
  115. <version>1.2.60</version>
  116. </dependency>
  117. <!--========================【微信对接工具包相关依赖】===============================-->
  118. <dependency>
  119. <groupId>com.github.binarywang</groupId>
  120. <artifactId>weixin-java-miniapp</artifactId>
  121. <version>4.0.7.B</version>
  122. </dependency>
  123. <!--========================【EXCEL相关依赖】===============================-->
  124. <dependency>
  125. <groupId>com.alibaba</groupId>
  126. <artifactId>easyexcel</artifactId>
  127. <version>2.2.8</version>
  128. </dependency>
  129. <!--========================【在线接口文档相关依赖】===============================-->
  130. <dependency>
  131. <groupId>com.github.xiaoymin</groupId>
  132. <artifactId>knife4j-spring-boot-starter</artifactId>
  133. <version>3.0.2</version>
  134. </dependency>
  135. <!--========================【接口安全相关依赖】===============================-->
  136. <dependency>
  137. <groupId>com.auth0</groupId>
  138. <artifactId>java-jwt</artifactId>
  139. <version>3.14.0</version>
  140. </dependency>
  141. <!-- ...............二维码生成器......................................................... -->
  142. <dependency>
  143. <groupId>com.google.zxing</groupId>
  144. <artifactId>core</artifactId>
  145. <version>3.3.3</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>com.google.zxing</groupId>
  149. <artifactId>javase</artifactId>
  150. <version>3.3.3</version>
  151. </dependency>
  152. </dependencies>
  153. <build>
  154. <finalName>hanghui-weixin-fyzd</finalName>
  155. <!--加上这个才能打包时将静态资源打进去-->
  156. <resources>
  157. <resource>
  158. <directory>${basedir}/src/main/webapp</directory>
  159. <targetPath>META-INF/resources</targetPath>
  160. <includes>
  161. <include>**/**</include>
  162. </includes>
  163. </resource>
  164. <resource>
  165. <directory>src/main/resources</directory>
  166. <includes>
  167. <include>**/*.*</include>
  168. </includes>
  169. <filtering>true</filtering>
  170. </resource>
  171. <resource>
  172. <directory>src/main/java</directory>
  173. <includes>
  174. <include>**/*.xml</include>
  175. <include>**/*.yml</include>
  176. <include>**/*.properties</include>
  177. </includes>
  178. </resource>
  179. </resources>
  180. <plugins>
  181. <plugin>
  182. <groupId>org.springframework.boot</groupId>
  183. <artifactId>spring-boot-maven-plugin</artifactId>
  184. <configuration>
  185. <mainClass>com.yx.face.FyzdPhoneApplication</mainClass>
  186. <excludes>
  187. <exclude>
  188. <groupId>org.projectlombok</groupId>
  189. <artifactId>lombok</artifactId>
  190. </exclude>
  191. </excludes>
  192. </configuration>
  193. </plugin>
  194. </plugins>
  195. </build>
  196. </project>