pom.xml 8.7 KB

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