pom.xml 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  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. <groupId>com.care</groupId>
  6. <artifactId>care-server</artifactId>
  7. <version>1.0-RELEASE</version>
  8. <name>care</name>
  9. <!--父项目依赖-->
  10. <parent>
  11. <groupId>org.springframework.boot</groupId>
  12. <artifactId>spring-boot-starter-parent</artifactId>
  13. <version>2.2.2.RELEASE</version>
  14. <relativePath/>
  15. </parent>
  16. <!--定义版本常量-->
  17. <properties>
  18. <!-- 打包跳过单元测试 -->
  19. <skipTest>true</skipTest>
  20. <!--各依赖版本设置-->
  21. <java.version>1.8</java.version>
  22. <spring-web.version>2.2.10.RELEASE</spring-web.version>
  23. <mybatis-plus.version>3.4.1</mybatis-plus.version>
  24. <HikariCP.version>3.4.5</HikariCP.version>
  25. <jasypt.version>3.0.3</jasypt.version>
  26. <admin.version>2.2.2</admin.version>
  27. <io.springfox.version>2.5.0</io.springfox.version>
  28. <easyexcel.version>2.2.8</easyexcel.version>
  29. <jwt.version>0.9.0</jwt.version>
  30. </properties>
  31. <!--环境依赖-->
  32. <dependencies>
  33. <!--应用健康监控后台管理依赖-->
  34. <dependency>
  35. <groupId>de.codecentric</groupId>
  36. <artifactId>spring-boot-admin-starter-client</artifactId>
  37. <version>${admin.version}</version>
  38. </dependency>
  39. <!--springBoot Web 模块-->
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-web</artifactId>
  43. <version>${spring-web.version}</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-aop</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-websocket</artifactId>
  52. </dependency>
  53. <!--junit5 单元测试-->
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-test</artifactId>
  57. <scope>test</scope>
  58. <exclusions>
  59. <exclusion>
  60. <groupId>org.junit.vintage</groupId>
  61. <artifactId>junit-vintage-engine</artifactId>
  62. </exclusion>
  63. </exclusions>
  64. </dependency>
  65. <!--MySQL数据库驱动-->
  66. <dependency>
  67. <groupId>mysql</groupId>
  68. <artifactId>mysql-connector-java</artifactId>
  69. <version>8.0.21</version>
  70. </dependency>
  71. <!--HikariCP 数据库连接池-->
  72. <dependency>
  73. <groupId>com.zaxxer</groupId>
  74. <artifactId>HikariCP</artifactId>
  75. <version>${HikariCP.version}</version>
  76. </dependency>
  77. <!--lombok-->
  78. <dependency>
  79. <groupId>org.projectlombok</groupId>
  80. <artifactId>lombok</artifactId>
  81. <version>1.18.12</version>
  82. <scope>compile</scope>
  83. </dependency>
  84. <!--mybatis-plus-->
  85. <dependency>
  86. <groupId>com.baomidou</groupId>
  87. <artifactId>mybatis-plus-boot-starter</artifactId>
  88. <version>${mybatis-plus.version}</version>
  89. </dependency>
  90. <!--springfox -->
  91. <!-- Swagger -->
  92. <dependency>
  93. <groupId>io.springfox</groupId>
  94. <artifactId>springfox-swagger2</artifactId>
  95. <version>2.9.2</version>
  96. <exclusions>
  97. <exclusion>
  98. <artifactId>org.mapstruct</artifactId>
  99. <groupId>mapstruct</groupId>
  100. </exclusion>
  101. <exclusion>
  102. <groupId>io.swagger</groupId>
  103. <artifactId>swagger-annotations</artifactId>
  104. </exclusion>
  105. <exclusion>
  106. <groupId>io.swagger</groupId>
  107. <artifactId>swagger-models</artifactId>
  108. </exclusion>
  109. </exclusions>
  110. </dependency>
  111. <dependency>
  112. <groupId>io.swagger</groupId>
  113. <artifactId>swagger-annotations</artifactId>
  114. <version>1.5.21</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>io.swagger</groupId>
  118. <artifactId>swagger-models</artifactId>
  119. <version>1.5.21</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>io.springfox</groupId>
  123. <artifactId>springfox-swagger-ui</artifactId>
  124. <version>2.9.2</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>cn.hutool</groupId>
  128. <artifactId>hutool-all</artifactId>
  129. <version>5.5.6</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.apache.poi</groupId>
  133. <artifactId>poi-ooxml</artifactId>
  134. <version>4.1.2</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.apache.poi</groupId>
  138. <artifactId>poi-scratchpad</artifactId>
  139. <version>4.1.2</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>com.alibaba</groupId>
  143. <artifactId>easyexcel</artifactId>
  144. <version>${easyexcel.version}</version>
  145. </dependency>
  146. <!-- 引入easypoi -->
  147. <dependency>
  148. <groupId>cn.afterturn</groupId>
  149. <artifactId>easypoi-spring-boot-starter</artifactId>
  150. <version>4.1.2</version>
  151. </dependency>
  152. <!-- poi-tl jar -->
  153. <dependency>
  154. <groupId>com.deepoove</groupId>
  155. <artifactId>poi-tl</artifactId>
  156. <version>1.8.2</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>org.springframework.boot</groupId>
  160. <artifactId>spring-boot-configuration-processor</artifactId>
  161. <optional>true</optional>
  162. </dependency>
  163. <!-- https://mvnrepository.com/artifact/com.itextpdf/itextpdf -->
  164. <dependency>
  165. <groupId>com.itextpdf</groupId>
  166. <artifactId>itextpdf</artifactId>
  167. <version>5.5.13.2</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>com.itextpdf.tool</groupId>
  171. <artifactId>xmlworker</artifactId>
  172. <version>5.5.13.2</version>
  173. </dependency>
  174. <dependency>
  175. <groupId>org.springframework.boot</groupId>
  176. <artifactId>spring-boot-starter-freemarker</artifactId>
  177. </dependency>
  178. <dependency>
  179. <groupId>junit</groupId>
  180. <artifactId>junit</artifactId>
  181. <scope>test</scope>
  182. </dependency>
  183. <!-- https://mvnrepository.com/artifact/com.itextpdf/itext-asian -->
  184. <dependency>
  185. <groupId>com.itextpdf</groupId>
  186. <artifactId>itext-asian</artifactId>
  187. <version>5.2.0</version>
  188. </dependency>
  189. <dependency>
  190. <groupId>io.jsonwebtoken</groupId>
  191. <artifactId>jjwt</artifactId>
  192. <version>${jwt.version}</version>
  193. </dependency>
  194. <dependency>
  195. <groupId>org.springframework</groupId>
  196. <artifactId>spring-test</artifactId>
  197. </dependency>
  198. <dependency>
  199. <groupId>org.java-websocket</groupId>
  200. <artifactId>Java-WebSocket</artifactId>
  201. <version>1.3.5</version>
  202. </dependency>
  203. <!-- 引入redis及相关组件 -->
  204. <dependency>
  205. <groupId>org.springframework.boot</groupId>
  206. <artifactId>spring-boot-starter-data-redis</artifactId>
  207. <exclusions>
  208. <exclusion>
  209. <groupId>io.lettuce</groupId>
  210. <artifactId>lettuce-core</artifactId>
  211. </exclusion>
  212. </exclusions>
  213. </dependency>
  214. <dependency>
  215. <groupId>redis.clients</groupId>
  216. <artifactId>jedis</artifactId>
  217. <version>3.3.0</version>
  218. </dependency>
  219. <!-- 引入redis及相关组件 结束 -->
  220. </dependencies>
  221. <build>
  222. <!--静态资源过滤-->
  223. <resources>
  224. <resource>
  225. <directory>src/main/resources</directory>
  226. <filtering>false</filtering>
  227. <includes>
  228. <include>**/*.*</include>
  229. </includes>
  230. <!-- <excludes>
  231. <exclude>**/*.properties</exclude>
  232. </excludes>-->
  233. </resource>
  234. </resources>
  235. <plugins>
  236. <plugin>
  237. <groupId>org.springframework.boot</groupId>
  238. <artifactId>spring-boot-maven-plugin</artifactId>
  239. </plugin>
  240. <plugin>
  241. <groupId>org.apache.maven.plugins</groupId>
  242. <artifactId>maven-resources-plugin</artifactId>
  243. <configuration>
  244. <delimiters>
  245. <delimiter>@</delimiter>
  246. </delimiters>
  247. <useDefaultDelimiters>false</useDefaultDelimiters>
  248. </configuration>
  249. </plugin>
  250. </plugins>
  251. </build>
  252. </project>