pom.xml 11 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.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. <mybatis-starter.version>2.1.3</mybatis-starter.version>
  21. <druid-starter.version>1.2.8</druid-starter.version>
  22. <mybatis-plus.version>3.3.2</mybatis-plus.version>
  23. </properties>
  24. <dependencyManagement>
  25. <dependencies>
  26. <dependency>
  27. <groupId>org.springframework.cloud</groupId>
  28. <artifactId>spring-cloud-dependencies</artifactId>
  29. <version>${spring-cloud.version}</version>
  30. <type>pom</type>
  31. <scope>import</scope>
  32. <exclusions>
  33. <exclusion>
  34. <groupId>org.springframework.cloud</groupId>
  35. <artifactId>spring-cloud-starter-netflix-ribbon</artifactId>
  36. </exclusion>
  37. </exclusions>
  38. </dependency>
  39. </dependencies>
  40. </dependencyManagement>
  41. <dependencies>
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-test</artifactId>
  45. <scope>test</scope>
  46. <exclusions>
  47. <exclusion>
  48. <artifactId>asm</artifactId>
  49. <groupId>org.ow2.asm</groupId>
  50. </exclusion>
  51. <exclusion>
  52. <artifactId>accessors-smart</artifactId>
  53. <groupId>net.minidev</groupId>
  54. </exclusion>
  55. </exclusions>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-web</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-aop</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.cloud</groupId>
  67. <artifactId>spring-cloud-starter-openfeign</artifactId>
  68. </dependency>
  69. <!--========================【开发工具包依赖】===============================-->
  70. <dependency>
  71. <groupId>org.projectlombok</groupId>
  72. <artifactId>lombok</artifactId>
  73. <optional>true</optional>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-devtools</artifactId>
  78. <scope>runtime</scope>
  79. <optional>true</optional>
  80. </dependency>
  81. <!--========================【数据库相关依赖】===============================-->
  82. <!-- *****************【数据库版本管理依赖】************** -->
  83. <!--mybatis-->
  84. <dependency>
  85. <groupId>org.mybatis.spring.boot</groupId>
  86. <artifactId>mybatis-spring-boot-starter</artifactId>
  87. <version>${mybatis-starter.version}</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>com.alibaba</groupId>
  91. <artifactId>druid-spring-boot-starter</artifactId>
  92. <version>${druid-starter.version}</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>com.baomidou</groupId>
  96. <artifactId>mybatis-plus-boot-starter</artifactId>
  97. <version>${mybatis-plus.version}</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>com.baomidou</groupId>
  101. <artifactId>mybatis-plus-generator</artifactId>
  102. <version>${mybatis-plus.version}</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>mysql</groupId>
  106. <artifactId>mysql-connector-java</artifactId>
  107. </dependency>
  108. <dependency>
  109. <groupId>com.baomidou</groupId>
  110. <artifactId>mybatis-plus-extension</artifactId>
  111. <version>3.5.2</version>
  112. </dependency>
  113. <!-- <dependency>-->
  114. <!-- <groupId>tk.mybatis</groupId>-->
  115. <!-- <artifactId>mapper-spring-boot-starter</artifactId>-->
  116. <!-- <version>2.1.5</version>-->
  117. <!-- <exclusions>-->
  118. <!-- <exclusion>-->
  119. <!-- <artifactId>mybatis-spring</artifactId>-->
  120. <!-- <groupId>org.mybatis</groupId>-->
  121. <!-- </exclusion>-->
  122. <!-- <exclusion>-->
  123. <!-- <artifactId>mybatis</artifactId>-->
  124. <!-- <groupId>org.mybatis</groupId>-->
  125. <!-- </exclusion>-->
  126. <!-- <exclusion>-->
  127. <!-- <artifactId>persistence-api</artifactId>-->
  128. <!-- <groupId>javax.persistence</groupId>-->
  129. <!-- </exclusion>-->
  130. <!-- </exclusions>-->
  131. <!-- </dependency>-->
  132. <dependency>
  133. <groupId>jakarta.persistence</groupId>
  134. <artifactId>jakarta.persistence-api</artifactId>
  135. <version>2.2.3</version>
  136. </dependency>
  137. <!--========================【工具类相关依赖】===============================-->
  138. <dependency>
  139. <groupId>commons-io</groupId>
  140. <artifactId>commons-io</artifactId>
  141. <version>2.8.0</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.apache.commons</groupId>
  145. <artifactId>commons-lang3</artifactId>
  146. <version>3.12.0</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>commons-codec</groupId>
  150. <artifactId>commons-codec</artifactId>
  151. <version>1.15</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>com.google.guava</groupId>
  155. <artifactId>guava</artifactId>
  156. <version>30.1.1-jre</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>com.squareup.okhttp3</groupId>
  160. <artifactId>okhttp</artifactId>
  161. <version>3.10.0</version>
  162. </dependency>
  163. <!-- https://mvnrepository.com/artifact/cn.hutool/hutool-all -->
  164. <dependency>
  165. <groupId>cn.hutool</groupId>
  166. <artifactId>hutool-all</artifactId>
  167. <version>5.8.15</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>com.alibaba</groupId>
  171. <artifactId>fastjson</artifactId>
  172. <version>1.2.60</version>
  173. </dependency>
  174. <!--========================【微信对接工具包相关依赖】===============================-->
  175. <dependency>
  176. <groupId>com.github.binarywang</groupId>
  177. <artifactId>weixin-java-miniapp</artifactId>
  178. <version>4.0.7.B</version>
  179. </dependency>
  180. <!--========================【EXCEL相关依赖】===============================-->
  181. <dependency>
  182. <groupId>com.alibaba</groupId>
  183. <artifactId>easyexcel</artifactId>
  184. <version>2.2.8</version>
  185. </dependency>
  186. <!--========================【在线接口文档相关依赖】===============================-->
  187. <dependency>
  188. <groupId>com.github.xiaoymin</groupId>
  189. <artifactId>knife4j-spring-boot-starter</artifactId>
  190. <version>3.0.2</version>
  191. </dependency>
  192. <dependency>
  193. <groupId>org.springframework.boot</groupId>
  194. <artifactId>spring-boot-starter-redis</artifactId>
  195. <version>1.4.1.RELEASE</version>
  196. </dependency>
  197. <!--========================【接口安全相关依赖】===============================-->
  198. <dependency>
  199. <groupId>com.auth0</groupId>
  200. <artifactId>java-jwt</artifactId>
  201. <version>3.14.0</version>
  202. </dependency>
  203. <!-- ...............二维码生成器......................................................... -->
  204. <dependency>
  205. <groupId>com.google.zxing</groupId>
  206. <artifactId>core</artifactId>
  207. <version>3.3.3</version>
  208. </dependency>
  209. <dependency>
  210. <groupId>com.google.zxing</groupId>
  211. <artifactId>javase</artifactId>
  212. <version>3.3.3</version>
  213. </dependency>
  214. <!-- ...............图片压缩处理......................................................... -->
  215. <dependency>
  216. <groupId>net.coobird</groupId>
  217. <artifactId>thumbnailator</artifactId>
  218. <version>0.4.8</version>
  219. </dependency>
  220. <dependency>
  221. <groupId>cn.superfw</groupId>
  222. <artifactId>crypto-gmsm</artifactId>
  223. <version>1.0</version>
  224. </dependency>
  225. </dependencies>
  226. <build>
  227. <finalName>health-code</finalName>
  228. <!--加上这个才能打包时将静态资源打进去-->
  229. <resources>
  230. <resource>
  231. <directory>${basedir}/src/main/webapp</directory>
  232. <targetPath>META-INF/resources</targetPath>
  233. <includes>
  234. <include>**/**</include>
  235. </includes>
  236. </resource>
  237. <resource>
  238. <directory>src/main/resources</directory>
  239. <includes>
  240. <include>**/*.*</include>
  241. </includes>
  242. <filtering>true</filtering>
  243. </resource>
  244. <resource>
  245. <directory>src/main/java</directory>
  246. <includes>
  247. <include>**/*.xml</include>
  248. <include>**/*.yml</include>
  249. <include>**/*.properties</include>
  250. </includes>
  251. </resource>
  252. </resources>
  253. <plugins>
  254. <plugin>
  255. <groupId>org.springframework.boot</groupId>
  256. <artifactId>spring-boot-maven-plugin</artifactId>
  257. <configuration>
  258. <mainClass>com.yixin.ms.HealthCodeApplication</mainClass>
  259. <excludes>
  260. <exclude>
  261. <groupId>org.projectlombok</groupId>
  262. <artifactId>lombok</artifactId>
  263. </exclude>
  264. </excludes>
  265. </configuration>
  266. </plugin>
  267. </plugins>
  268. </build>
  269. </project>