pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  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>org.mybatis.spring.boot</groupId>-->
  82. <!-- <artifactId>mybatis-spring-boot-starter</artifactId>-->
  83. <!-- <version>2.1.4</version>-->
  84. <!-- </dependency>-->
  85. <!-- <dependency>-->
  86. <!-- <groupId>mysql</groupId>-->
  87. <!-- <artifactId>mysql-connector-java</artifactId>-->
  88. <!-- <scope>runtime</scope>-->
  89. <!-- </dependency>-->
  90. <dependency>
  91. <groupId>com.github.pagehelper</groupId>
  92. <artifactId>pagehelper-spring-boot-starter</artifactId>
  93. <version>1.3.0</version>
  94. <exclusions>
  95. <exclusion>
  96. <artifactId>mybatis-spring-boot-starter</artifactId>
  97. <groupId>org.mybatis.spring.boot</groupId>
  98. </exclusion>
  99. </exclusions>
  100. </dependency>
  101. <!-- <dependency>-->
  102. <!-- <groupId>tk.mybatis</groupId>-->
  103. <!-- <artifactId>mapper-spring-boot-starter</artifactId>-->
  104. <!-- <version>2.1.5</version>-->
  105. <!-- <exclusions>-->
  106. <!-- <exclusion>-->
  107. <!-- <artifactId>mybatis-spring</artifactId>-->
  108. <!-- <groupId>org.mybatis</groupId>-->
  109. <!-- </exclusion>-->
  110. <!-- <exclusion>-->
  111. <!-- <artifactId>mybatis</artifactId>-->
  112. <!-- <groupId>org.mybatis</groupId>-->
  113. <!-- </exclusion>-->
  114. <!-- <exclusion>-->
  115. <!-- <artifactId>persistence-api</artifactId>-->
  116. <!-- <groupId>javax.persistence</groupId>-->
  117. <!-- </exclusion>-->
  118. <!-- </exclusions>-->
  119. <!-- </dependency>-->
  120. <dependency>
  121. <groupId>jakarta.persistence</groupId>
  122. <artifactId>jakarta.persistence-api</artifactId>
  123. <version>2.2.3</version>
  124. </dependency>
  125. <!--========================【工具类相关依赖】===============================-->
  126. <dependency>
  127. <groupId>commons-io</groupId>
  128. <artifactId>commons-io</artifactId>
  129. <version>2.8.0</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.apache.commons</groupId>
  133. <artifactId>commons-lang3</artifactId>
  134. <version>3.12.0</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>commons-codec</groupId>
  138. <artifactId>commons-codec</artifactId>
  139. <version>1.15</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>com.google.guava</groupId>
  143. <artifactId>guava</artifactId>
  144. <version>30.1.1-jre</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>com.squareup.okhttp3</groupId>
  148. <artifactId>okhttp</artifactId>
  149. <version>3.10.0</version>
  150. </dependency>
  151. <!-- https://mvnrepository.com/artifact/cn.hutool/hutool-all -->
  152. <dependency>
  153. <groupId>cn.hutool</groupId>
  154. <artifactId>hutool-all</artifactId>
  155. <version>5.7.0</version>
  156. </dependency>
  157. <dependency>
  158. <groupId>com.alibaba</groupId>
  159. <artifactId>fastjson</artifactId>
  160. <version>1.2.60</version>
  161. </dependency>
  162. <!--========================【微信对接工具包相关依赖】===============================-->
  163. <dependency>
  164. <groupId>com.github.binarywang</groupId>
  165. <artifactId>weixin-java-miniapp</artifactId>
  166. <version>4.0.7.B</version>
  167. </dependency>
  168. <!--========================【EXCEL相关依赖】===============================-->
  169. <dependency>
  170. <groupId>com.alibaba</groupId>
  171. <artifactId>easyexcel</artifactId>
  172. <version>2.2.8</version>
  173. </dependency>
  174. <!--========================【在线接口文档相关依赖】===============================-->
  175. <dependency>
  176. <groupId>com.github.xiaoymin</groupId>
  177. <artifactId>knife4j-spring-boot-starter</artifactId>
  178. <version>3.0.2</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>org.springframework.boot</groupId>
  182. <artifactId>spring-boot-starter-redis</artifactId>
  183. <version>1.4.1.RELEASE</version>
  184. </dependency>
  185. <!--========================【接口安全相关依赖】===============================-->
  186. <dependency>
  187. <groupId>com.auth0</groupId>
  188. <artifactId>java-jwt</artifactId>
  189. <version>3.14.0</version>
  190. </dependency>
  191. <!-- ...............二维码生成器......................................................... -->
  192. <dependency>
  193. <groupId>com.google.zxing</groupId>
  194. <artifactId>core</artifactId>
  195. <version>3.3.3</version>
  196. </dependency>
  197. <dependency>
  198. <groupId>com.google.zxing</groupId>
  199. <artifactId>javase</artifactId>
  200. <version>3.3.3</version>
  201. </dependency>
  202. <!-- ...............图片压缩处理......................................................... -->
  203. <dependency>
  204. <groupId>net.coobird</groupId>
  205. <artifactId>thumbnailator</artifactId>
  206. <version>0.4.8</version>
  207. </dependency>
  208. <dependency>
  209. <groupId>cn.superfw</groupId>
  210. <artifactId>crypto-gmsm</artifactId>
  211. <version>1.0</version>
  212. </dependency>
  213. </dependencies>
  214. <build>
  215. <finalName>health-code</finalName>
  216. <!--加上这个才能打包时将静态资源打进去-->
  217. <resources>
  218. <resource>
  219. <directory>${basedir}/src/main/webapp</directory>
  220. <targetPath>META-INF/resources</targetPath>
  221. <includes>
  222. <include>**/**</include>
  223. </includes>
  224. </resource>
  225. <resource>
  226. <directory>src/main/resources</directory>
  227. <includes>
  228. <include>**/*.*</include>
  229. </includes>
  230. <filtering>true</filtering>
  231. </resource>
  232. <resource>
  233. <directory>src/main/java</directory>
  234. <includes>
  235. <include>**/*.xml</include>
  236. <include>**/*.yml</include>
  237. <include>**/*.properties</include>
  238. </includes>
  239. </resource>
  240. </resources>
  241. <plugins>
  242. <plugin>
  243. <groupId>org.springframework.boot</groupId>
  244. <artifactId>spring-boot-maven-plugin</artifactId>
  245. <configuration>
  246. <mainClass>com.yixin.ms.HealthCodeApplication</mainClass>
  247. <excludes>
  248. <exclude>
  249. <groupId>org.projectlombok</groupId>
  250. <artifactId>lombok</artifactId>
  251. </exclude>
  252. </excludes>
  253. </configuration>
  254. </plugin>
  255. </plugins>
  256. </build>
  257. </project>