Aucune description

pom.xml 13KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401
  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 http://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.1.6.RELEASE</version>-->
  9. <version>2.3.4.RELEASE</version>
  10. <relativePath/> <!-- lookup parent from repository -->
  11. </parent>
  12. <groupId>com.yt</groupId>
  13. <artifactId>zhylplat</artifactId>
  14. <version>0.0.1-SNAPSHOT</version>
  15. <name>zhylplat</name>
  16. <packaging>jar</packaging>
  17. <description>Demo project for Spring Boot</description>
  18. <properties>
  19. <java.version>1.8</java.version>
  20. </properties>
  21. <dependencies>
  22. <!--参数校验-->
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-validation</artifactId>
  26. </dependency>
  27. <!--加密解密-->
  28. <dependency>
  29. <groupId>commons-codec</groupId>
  30. <artifactId>commons-codec</artifactId>
  31. <version>1.10</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.apache.commons</groupId>
  35. <artifactId>commons-lang3</artifactId>
  36. <version>3.4</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>net.sf.json-lib</groupId>
  40. <artifactId>json-lib</artifactId>
  41. <version>2.2.3</version>
  42. <classifier>jdk15</classifier>
  43. </dependency>
  44. <!--数据源-->
  45. <dependency>
  46. <groupId>com.alibaba</groupId>
  47. <artifactId>druid-spring-boot-starter</artifactId>
  48. <version>1.1.10</version>
  49. </dependency>
  50. <!-- 1.2.8低版本可能会有反序列化问题,所以修改为高版本-->
  51. <dependency>
  52. <groupId>com.alibaba</groupId>
  53. <artifactId>fastjson</artifactId>
  54. <version>1.2.69</version>
  55. </dependency>
  56. <!--配置mybatis-plus-->
  57. <dependency>
  58. <groupId>com.baomidou</groupId>
  59. <artifactId>mybatis-plus-boot-starter</artifactId>
  60. <version>3.1.1</version>
  61. <exclusions>
  62. <exclusion>
  63. <artifactId>slf4j-api</artifactId>
  64. <groupId>org.slf4j</groupId>
  65. </exclusion>
  66. </exclusions>
  67. </dependency>
  68. <!--配置generator-->
  69. <dependency>
  70. <groupId>com.baomidou</groupId>
  71. <artifactId>mybatis-plus-generator</artifactId>
  72. <version>3.1.1</version>
  73. </dependency>
  74. <!--代码生成器默认依赖-->
  75. <dependency>
  76. <groupId>org.apache.velocity</groupId>
  77. <artifactId>velocity-engine-core</artifactId>
  78. <version>2.1</version>
  79. <exclusions>
  80. <exclusion>
  81. <artifactId>slf4j-api</artifactId>
  82. <groupId>org.slf4j</groupId>
  83. </exclusion>
  84. </exclusions>
  85. </dependency>
  86. <!--lombok配置-->
  87. <dependency>
  88. <groupId>org.projectlombok</groupId>
  89. <artifactId>lombok</artifactId>
  90. <optional>true</optional>
  91. <scope>provided</scope>
  92. </dependency>
  93. <!--mysql配置-->
  94. <dependency>
  95. <groupId>mysql</groupId>
  96. <artifactId>mysql-connector-java</artifactId>
  97. <!--<scope>runtime</scope>-->
  98. <!--<optional>true</optional>-->
  99. <version>8.0.16</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.springframework.boot</groupId>
  103. <artifactId>spring-boot-starter-web</artifactId>
  104. <!--剔除自带日志-->
  105. <!--<exclusions>-->
  106. <!--<exclusion>-->
  107. <!--<groupId>org.springframework.boot</groupId>-->
  108. <!--<artifactId>spring-boot-starter-logging</artifactId>-->
  109. <!--</exclusion>-->
  110. <!--</exclusions>-->
  111. </dependency>
  112. <!--利用 AOP 做操作日志记录-->
  113. <dependency>
  114. <groupId>org.springframework.boot</groupId>
  115. <artifactId>spring-boot-starter-aop</artifactId>
  116. </dependency>
  117. <!--剔除内置tomcat-->
  118. <dependency>
  119. <groupId>org.springframework.boot</groupId>
  120. <artifactId>spring-boot-starter-tomcat</artifactId>
  121. <!--<scope>provided</scope>-->
  122. </dependency>
  123. <dependency>
  124. <groupId>org.springframework.boot</groupId>
  125. <artifactId>spring-boot-starter-test</artifactId>
  126. <scope>test</scope>
  127. <exclusions>
  128. <exclusion>
  129. <artifactId>slf4j-api</artifactId>
  130. <groupId>org.slf4j</groupId>
  131. </exclusion>
  132. </exclusions>
  133. </dependency>
  134. <!--日志依赖-->
  135. <!--<dependency>-->
  136. <!--<groupId>org.springframework.boot</groupId>-->
  137. <!--<artifactId>spring-boot-starter-log4j2</artifactId>-->
  138. <!--</dependency>-->
  139. <!--代码生成器的依赖-->
  140. <dependency>
  141. <groupId>org.freemarker</groupId>
  142. <artifactId>freemarker</artifactId>
  143. <version>2.3.30</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.springframework.boot</groupId>
  147. <artifactId>spring-boot-autoconfigure</artifactId>
  148. <!--<version>2.1.5.RELEASE</version>-->
  149. </dependency>
  150. <dependency>
  151. <groupId>com.vaadin.external.google</groupId>
  152. <artifactId>android-json</artifactId>
  153. <version>0.0.20131108.vaadin1</version>
  154. <scope>compile</scope>
  155. </dependency>
  156. <!--创建二维码和解析二维码-->
  157. <dependency>
  158. <groupId>com.google.zxing</groupId>
  159. <artifactId>core</artifactId>
  160. <version>3.3.0</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>com.google.zxing</groupId>
  164. <artifactId>javase</artifactId>
  165. <version>3.3.0</version>
  166. </dependency>
  167. <!--阿里云短信服务接口api-->
  168. <dependency>
  169. <groupId>com.aliyun</groupId>
  170. <artifactId>aliyun-java-sdk-core</artifactId>
  171. <version>4.0.3</version>
  172. </dependency>
  173. <dependency>
  174. <groupId>com.aliyun</groupId>
  175. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  176. <version>2.0.0</version>
  177. </dependency>
  178. <!--swagger-api 依赖开始
  179. 由于是springfox-swagger的增强UI包,所以基础功能依然依赖Swagger,springfox-swagger的jar包必须引入
  180. -->
  181. <dependency>
  182. <groupId>io.springfox</groupId>
  183. <artifactId>springfox-swagger2</artifactId>
  184. <version>2.9.2</version>
  185. </dependency>
  186. <!-- 避免 Swagger2 异常 java.lang.NumberFormatException: For input string: ""-->
  187. <dependency>
  188. <groupId>io.swagger</groupId>
  189. <artifactId>swagger-annotations</artifactId>
  190. <version>1.5.21</version>
  191. </dependency>
  192. <dependency>
  193. <groupId>io.swagger</groupId>
  194. <artifactId>swagger-models</artifactId>
  195. <version>1.5.21</version>
  196. </dependency>
  197. <dependency>
  198. <groupId>com.github.xiaoymin</groupId>
  199. <artifactId>swagger-bootstrap-ui</artifactId>
  200. <version>1.9.2</version>
  201. </dependency>
  202. <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
  203. <dependency>
  204. <groupId>com.google.code.gson</groupId>
  205. <artifactId>gson</artifactId>
  206. <version>2.8.5</version>
  207. </dependency>
  208. <!-- jwt 生成 token-->
  209. <dependency>
  210. <groupId>com.auth0</groupId>
  211. <artifactId>java-jwt</artifactId>
  212. <version>3.4.0</version>
  213. </dependency>
  214. <!-- 小程序开发包-->
  215. <dependency>
  216. <groupId>com.github.binarywang</groupId>
  217. <artifactId>weixin-java-miniapp</artifactId>
  218. <version>3.6.0</version>
  219. </dependency>
  220. <!-- file 转 MultipartFile -->
  221. <dependency>
  222. <groupId>org.springframework</groupId>
  223. <artifactId>spring-mock</artifactId>
  224. <version>2.0.8</version>
  225. </dependency>
  226. <!-- 海康加密认证SDK -->
  227. <dependency>
  228. <groupId>com.hikvision.ga</groupId>
  229. <artifactId>artemis-http-client</artifactId>
  230. <version>1.1.3</version>
  231. </dependency>
  232. <!--文件导入导出-->
  233. <dependency>
  234. <groupId>org.apache.poi</groupId>
  235. <artifactId>poi</artifactId>
  236. <version>3.17</version>
  237. </dependency>
  238. <dependency>
  239. <groupId>org.apache.poi</groupId>
  240. <artifactId>poi-ooxml</artifactId>
  241. <version>3.17</version>
  242. </dependency>
  243. <dependency>
  244. <groupId>cn.hutool</groupId>
  245. <artifactId>hutool-all</artifactId>
  246. <version>5.0.6</version>
  247. </dependency>
  248. <dependency>
  249. <groupId>xerces</groupId>
  250. <artifactId>xercesImpl</artifactId>
  251. <version>2.11.0</version>
  252. </dependency>
  253. <dependency>
  254. <groupId>org.springframework</groupId>
  255. <artifactId>spring-test</artifactId>
  256. <version>5.2.9.RELEASE</version>
  257. <scope>compile</scope>
  258. </dependency>
  259. <dependency>
  260. <groupId>org.springframework.cloud</groupId>
  261. <artifactId>spring-cloud-starter-openfeign</artifactId>
  262. </dependency>
  263. <dependency>
  264. <groupId>org.springframework.cloud</groupId>
  265. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  266. </dependency>
  267. <dependency>
  268. <groupId>io.github.openfeign.form</groupId>
  269. <artifactId>feign-form</artifactId>
  270. <version>3.8.0</version>
  271. </dependency>
  272. <dependency>
  273. <groupId>io.github.openfeign.form</groupId>
  274. <artifactId>feign-form-spring</artifactId>
  275. <version>3.8.0</version>
  276. </dependency>
  277. <dependency>
  278. <groupId>org.springframework.boot</groupId>
  279. <artifactId>spring-boot-starter-data-redis</artifactId>
  280. <version>2.3.4.RELEASE</version>
  281. </dependency>
  282. <!-- 根据excel模板导出数据 -->
  283. <dependency>
  284. <groupId>net.sf.jxls</groupId>
  285. <artifactId>jxls-core</artifactId>
  286. <version>1.0.3</version>
  287. </dependency>
  288. <dependency>
  289. <groupId>com.thoughtworks.xstream</groupId>
  290. <artifactId>xstream</artifactId>
  291. <version>1.4.17</version>
  292. </dependency>
  293. </dependencies>
  294. <dependencyManagement>
  295. <dependencies>
  296. <dependency>
  297. <groupId>org.springframework.cloud</groupId>
  298. <artifactId>spring-cloud-dependencies</artifactId>
  299. <version>Hoxton.SR4</version>
  300. <type>pom</type>
  301. <scope>import</scope>
  302. </dependency>
  303. </dependencies>
  304. </dependencyManagement>
  305. <build>
  306. <!--打包后的项目名称-->
  307. <finalName>ROOT</finalName>
  308. <plugins>
  309. <plugin>
  310. <groupId>org.springframework.boot</groupId>
  311. <artifactId>spring-boot-maven-plugin</artifactId>
  312. </plugin>
  313. <plugin>
  314. <groupId>org.apache.maven.plugins</groupId>
  315. <artifactId>maven-surefire-plugin</artifactId>
  316. <configuration>
  317. <testFailureIgnore>true</testFailureIgnore>
  318. </configuration>
  319. </plugin>
  320. </plugins>
  321. <!--<resources>-->
  322. <!--<resource>-->
  323. <!--<directory>src/main/resources</directory>-->
  324. <!--<filtering>true</filtering>-->
  325. <!--</resource>-->
  326. <!--<resource>-->
  327. <!--<directory>src/main/java</directory>-->
  328. <!--<includes>-->
  329. <!--<include>**/*.xml</include>-->
  330. <!--</includes>-->
  331. <!--</resource>-->
  332. <!--</resources>-->
  333. </build>
  334. <!-- 用于切换配置文件 -->
  335. <profiles>
  336. <profile>
  337. <id>dev</id>
  338. <properties>
  339. <spring.active>dev</spring.active>
  340. </properties>
  341. <activation>
  342. <!--<activeByDefault>false</activeByDefault>-->
  343. <activeByDefault>true</activeByDefault>
  344. </activation>
  345. </profile>
  346. <profile>
  347. <id>pro</id>
  348. <properties>
  349. <spring.active>pro</spring.active>
  350. </properties>
  351. <activation>
  352. <!--<activeByDefault>true</activeByDefault>-->
  353. <activeByDefault>false</activeByDefault>
  354. </activation>
  355. </profile>
  356. </profiles>
  357. </project>