pom.xml 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  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.5</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.yixin</groupId>
  12. <artifactId>health-code</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>health-code</name>
  15. <description>健康码</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <skipTests>true</skipTests>
  19. <spring-cloud.version>2020.0.2</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. <exclusions>
  30. <exclusion>
  31. <groupId>org.springframework.cloud</groupId>
  32. <artifactId>spring-cloud-starter-netflix-ribbon</artifactId>
  33. </exclusion>
  34. </exclusions>
  35. </dependency>
  36. </dependencies>
  37. </dependencyManagement>
  38. <dependencies>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-test</artifactId>
  42. <scope>test</scope>
  43. <exclusions>
  44. <exclusion>
  45. <artifactId>asm</artifactId>
  46. <groupId>org.ow2.asm</groupId>
  47. </exclusion>
  48. <exclusion>
  49. <artifactId>accessors-smart</artifactId>
  50. <groupId>net.minidev</groupId>
  51. </exclusion>
  52. </exclusions>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-web</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-aop</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.springframework.cloud</groupId>
  64. <artifactId>spring-cloud-starter-openfeign</artifactId>
  65. </dependency>
  66. <!--========================【开发工具包依赖】===============================-->
  67. <dependency>
  68. <groupId>org.projectlombok</groupId>
  69. <artifactId>lombok</artifactId>
  70. <optional>true</optional>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-devtools</artifactId>
  75. <scope>runtime</scope>
  76. <optional>true</optional>
  77. </dependency>
  78. <!--========================【数据库相关依赖】===============================-->
  79. <!-- *****************【数据库版本管理依赖】************** -->
  80. <dependency>
  81. <groupId>com.baomidou</groupId>
  82. <artifactId>mybatis-plus-annotation</artifactId>
  83. <version>3.5.2</version>
  84. </dependency>
  85. <!--========================【工具类相关依赖】===============================-->
  86. <dependency>
  87. <groupId>commons-io</groupId>
  88. <artifactId>commons-io</artifactId>
  89. <version>2.8.0</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.apache.commons</groupId>
  93. <artifactId>commons-lang3</artifactId>
  94. <version>3.12.0</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>commons-codec</groupId>
  98. <artifactId>commons-codec</artifactId>
  99. <version>1.15</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>com.google.guava</groupId>
  103. <artifactId>guava</artifactId>
  104. <version>30.1.1-jre</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>com.squareup.okhttp3</groupId>
  108. <artifactId>okhttp</artifactId>
  109. <version>3.10.0</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.springframework.boot</groupId>
  113. <artifactId>spring-boot-starter-validation</artifactId>
  114. <version>2.4.5</version>
  115. </dependency>
  116. <!-- https://mvnrepository.com/artifact/cn.hutool/hutool-all -->
  117. <dependency>
  118. <groupId>cn.hutool</groupId>
  119. <artifactId>hutool-all</artifactId>
  120. <version>5.7.22</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>com.alibaba</groupId>
  124. <artifactId>fastjson</artifactId>
  125. <version>1.2.60</version>
  126. </dependency>
  127. <!--========================【微信对接工具包相关依赖】===============================-->
  128. <dependency>
  129. <groupId>com.github.binarywang</groupId>
  130. <artifactId>weixin-java-miniapp</artifactId>
  131. <version>4.0.7.B</version>
  132. </dependency>
  133. <!--========================【EXCEL相关依赖】===============================-->
  134. <dependency>
  135. <groupId>com.alibaba</groupId>
  136. <artifactId>easyexcel</artifactId>
  137. <version>2.2.8</version>
  138. </dependency>
  139. <!--========================【在线接口文档相关依赖】===============================-->
  140. <dependency>
  141. <groupId>com.github.xiaoymin</groupId>
  142. <artifactId>knife4j-spring-boot-starter</artifactId>
  143. <version>3.0.2</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.springframework.boot</groupId>
  147. <artifactId>spring-boot-starter-redis</artifactId>
  148. <version>1.4.1.RELEASE</version>
  149. </dependency>
  150. <!--========================【接口安全相关依赖】===============================-->
  151. <dependency>
  152. <groupId>com.auth0</groupId>
  153. <artifactId>java-jwt</artifactId>
  154. <version>3.14.0</version>
  155. </dependency>
  156. <!-- ...............二维码生成器......................................................... -->
  157. <dependency>
  158. <groupId>com.google.zxing</groupId>
  159. <artifactId>core</artifactId>
  160. <version>3.3.3</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>com.google.zxing</groupId>
  164. <artifactId>javase</artifactId>
  165. <version>3.3.3</version>
  166. </dependency>
  167. <!-- ...............图片压缩处理......................................................... -->
  168. <dependency>
  169. <groupId>net.coobird</groupId>
  170. <artifactId>thumbnailator</artifactId>
  171. <version>0.4.8</version>
  172. </dependency>
  173. <dependency>
  174. <groupId>cn.superfw</groupId>
  175. <artifactId>crypto-gmsm</artifactId>
  176. <version>1.0</version>
  177. </dependency>
  178. </dependencies>
  179. <build>
  180. <finalName>open-health-code</finalName>
  181. <!--加上这个才能打包时将静态资源打进去-->
  182. <resources>
  183. <resource>
  184. <directory>${basedir}/src/main/webapp</directory>
  185. <targetPath>META-INF/resources</targetPath>
  186. <includes>
  187. <include>**/**</include>
  188. </includes>
  189. </resource>
  190. <resource>
  191. <directory>src/main/resources</directory>
  192. <includes>
  193. <include>**/*.*</include>
  194. </includes>
  195. <filtering>true</filtering>
  196. </resource>
  197. <resource>
  198. <directory>src/main/java</directory>
  199. <includes>
  200. <include>**/*.xml</include>
  201. <include>**/*.yml</include>
  202. <include>**/*.properties</include>
  203. </includes>
  204. </resource>
  205. </resources>
  206. <plugins>
  207. <plugin>
  208. <groupId>org.springframework.boot</groupId>
  209. <artifactId>spring-boot-maven-plugin</artifactId>
  210. <configuration>
  211. <mainClass>com.yixin.ms.HealthCodeApplication</mainClass>
  212. <excludes>
  213. <exclude>
  214. <groupId>org.projectlombok</groupId>
  215. <artifactId>lombok</artifactId>
  216. </exclude>
  217. </excludes>
  218. </configuration>
  219. </plugin>
  220. </plugins>
  221. </build>
  222. </project>