pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342
  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. <parent>
  5. <groupId>org.springframework.boot</groupId>
  6. <artifactId>spring-boot-starter-parent</artifactId>
  7. <version>2.4.1</version>
  8. <relativePath/> <!-- lookup parent from repository -->
  9. </parent>
  10. <packaging>jar</packaging>
  11. <modelVersion>4.0.0</modelVersion>
  12. <artifactId>metro-zmt-system</artifactId>
  13. <description>智能证码通系统</description>
  14. <version>1.0.2</version>
  15. <profiles>
  16. <profile>
  17. <id>dev</id>
  18. <properties>
  19. <currentConfig>dev</currentConfig>
  20. </properties>
  21. <activation>
  22. <activeByDefault>true</activeByDefault>
  23. </activation>
  24. </profile>
  25. <profile>
  26. <id>prod</id>
  27. <properties>
  28. <currentConfig>prod</currentConfig>
  29. </properties>
  30. </profile>
  31. </profiles>
  32. <properties>
  33. <java.version>1.8</java.version>
  34. <!-- javacpp当前版本 -->
  35. <javacpp.version>1.4.3</javacpp.version>
  36. <!-- opencv版本 -->
  37. <opencv.version>3.4.3</opencv.version>
  38. <!-- ffmpeg版本 -->
  39. <ffmpeg.version>4.0.2</ffmpeg.version>
  40. </properties>
  41. <dependencies>
  42. <!-- 热部署模块 -->
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-devtools</artifactId>
  46. <optional>true</optional> <!-- 这个需要为 true 热部署才有效 -->
  47. </dependency>
  48. <!--图片压缩-->
  49. <dependency>
  50. <groupId>net.coobird</groupId>
  51. <artifactId>thumbnailator</artifactId>
  52. <version>0.4.8</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>io.jsonwebtoken</groupId>
  56. <artifactId>jjwt</artifactId>
  57. <version>0.9.1</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.projectlombok</groupId>
  61. <artifactId>lombok</artifactId>
  62. <optional>true</optional>
  63. </dependency>
  64. <!-- Sa-Token 权限认证, 在线文档:http://sa-token.dev33.cn/ -->
  65. <dependency>
  66. <groupId>cn.dev33</groupId>
  67. <artifactId>sa-token-spring-boot-starter</artifactId>
  68. <version>1.19.0</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>commons-io</groupId>
  72. <artifactId>commons-io</artifactId>
  73. <version>2.11.0</version>
  74. </dependency>
  75. <!-- excel工具 -->
  76. <dependency>
  77. <groupId>org.apache.poi</groupId>
  78. <artifactId>poi-ooxml</artifactId>
  79. <version>4.1.2</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.apache.httpcomponents</groupId>
  83. <artifactId>httpclient</artifactId>
  84. </dependency>
  85. <!-- easyexcel依赖包 -->
  86. <dependency>
  87. <groupId>com.alibaba</groupId>
  88. <artifactId>easyexcel</artifactId>
  89. <version>1.1.2-beta5</version>
  90. </dependency>
  91. <!-- Sa-Token整合redis (使用jackson序列化方式) -->
  92. <dependency>
  93. <groupId>cn.dev33</groupId>
  94. <artifactId>sa-token-dao-redis-jackson</artifactId>
  95. <version>1.19.0</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.springframework.boot</groupId>
  99. <artifactId>spring-boot-starter-test</artifactId>
  100. <scope>test</scope>
  101. <exclusions>
  102. <exclusion>
  103. <groupId>org.junit.vintage</groupId>
  104. <artifactId>junit-vintage-engine</artifactId>
  105. </exclusion>
  106. <exclusion>
  107. <groupId>org.springframework.boot</groupId>
  108. <artifactId>spring-boot-starter-logging</artifactId>
  109. </exclusion>
  110. </exclusions>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.springframework.boot</groupId>
  114. <artifactId>spring-boot-starter-log4j2</artifactId>
  115. </dependency>
  116. <dependency>
  117. <groupId>com.github.xiaoymin</groupId>
  118. <artifactId>knife4j-spring-boot-starter</artifactId>
  119. <version>2.0.7</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.springframework.boot</groupId>
  123. <artifactId>spring-boot-starter-websocket</artifactId>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.springframework.boot</groupId>
  127. <artifactId>spring-boot-starter-web</artifactId>
  128. </dependency>
  129. <dependency>
  130. <groupId>com.baomidou</groupId>
  131. <artifactId>mybatis-plus-boot-starter</artifactId>
  132. <version>3.3.0</version>
  133. </dependency>
  134. <!-- https://mvnrepository.com/artifact/com.baomidou/mybatis-plus -->
  135. <dependency>
  136. <groupId>com.baomidou</groupId>
  137. <artifactId>mybatis-plus</artifactId>
  138. <version>3.3.2</version>
  139. </dependency>
  140. <!-- https://mvnrepository.com/artifact/com.baomidou/mybatis-plus-extension -->
  141. <dependency>
  142. <groupId>com.baomidou</groupId>
  143. <artifactId>mybatis-plus-extension</artifactId>
  144. <version>3.4.1</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>com.auth0</groupId>
  148. <artifactId>java-jwt</artifactId>
  149. <version>3.14.0</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>org.springframework.boot</groupId>
  153. <artifactId>spring-boot-starter-validation</artifactId>
  154. </dependency>
  155. <dependency>
  156. <groupId>com.alibaba</groupId>
  157. <artifactId>fastjson</artifactId>
  158. <version>1.2.68</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>cn.hutool</groupId>
  162. <artifactId>hutool-all</artifactId>
  163. <version>5.3.7</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.springframework.boot</groupId>
  167. <artifactId>spring-boot-starter-aop</artifactId>
  168. </dependency>
  169. <dependency>
  170. <!--Freemarker模板引擎-->
  171. <groupId>org.freemarker</groupId>
  172. <artifactId>freemarker</artifactId>
  173. <version>2.3.28</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>com.baomidou</groupId>
  177. <artifactId>mybatis-plus-generator</artifactId>
  178. <version>3.3.0</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>mysql</groupId>
  182. <artifactId>mysql-connector-java</artifactId>
  183. <scope>runtime</scope>
  184. </dependency>
  185. <dependency>
  186. <groupId>io.swagger</groupId>
  187. <artifactId>swagger-models</artifactId>
  188. <version>1.5.21</version>
  189. </dependency>
  190. <!-- 引入swagger-bootstrap-ui包 -->
  191. <dependency>
  192. <groupId>com.github.xiaoymin</groupId>
  193. <artifactId>swagger-bootstrap-ui</artifactId>
  194. <version>1.8.5</version>
  195. </dependency>
  196. <!-- ============================= swagger =============-->
  197. <dependency>
  198. <groupId>io.springfox</groupId>
  199. <artifactId>springfox-swagger-ui</artifactId>
  200. <version>2.10.5</version>
  201. </dependency>
  202. <!-- https://mvnrepository.com/artifact/io.springfox/springfox-core -->
  203. <dependency>
  204. <groupId>io.springfox</groupId>
  205. <artifactId>springfox-core</artifactId>
  206. <version>2.10.5</version>
  207. </dependency>
  208. <dependency>
  209. <groupId>io.springfox</groupId>
  210. <artifactId>springfox-swagger2</artifactId>
  211. <version>2.10.5</version>
  212. </dependency>
  213. <!--防止进入swagger页面报类型转换错误,排除2.9.2中的引用,手动增加1.5.21版本-->
  214. <dependency>
  215. <groupId>io.swagger</groupId>
  216. <artifactId>swagger-annotations</artifactId>
  217. <version>1.5.21</version>
  218. </dependency>
  219. <dependency>
  220. <groupId>com.alibaba</groupId>
  221. <artifactId>druid-spring-boot-starter</artifactId>
  222. </dependency>
  223. <!-- https://mvnrepository.com/artifact/org.springframework.data/spring-data-commons -->
  224. <dependency>
  225. <groupId>org.springframework.data</groupId>
  226. <artifactId>spring-data-commons</artifactId>
  227. <version>2.3.1.RELEASE</version>
  228. </dependency>
  229. <!-- <dependency>
  230. <groupId>org.springframework.boot</groupId>
  231. <artifactId>spring-boot-starter-amqp</artifactId>
  232. </dependency>-->
  233. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
  234. <dependency>
  235. <groupId>org.apache.httpcomponents</groupId>
  236. <artifactId>httpclient</artifactId>
  237. <version>4.5.12</version>
  238. </dependency>
  239. <dependency>
  240. <groupId>commons-httpclient</groupId>
  241. <artifactId>commons-httpclient</artifactId>
  242. <version>3.1</version>
  243. </dependency>
  244. <dependency>
  245. <groupId>com.alibaba</groupId>
  246. <artifactId>druid-spring-boot-starter</artifactId>
  247. <version>1.1.20</version>
  248. </dependency>
  249. <dependency>
  250. <groupId>io.projectreactor</groupId>
  251. <artifactId>reactor-core</artifactId>
  252. </dependency>
  253. <dependency>
  254. <groupId>org.springframework.security</groupId>
  255. <artifactId>spring-security-core</artifactId>
  256. </dependency>
  257. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
  258. <dependency>
  259. <groupId>org.apache.commons</groupId>
  260. <artifactId>commons-lang3</artifactId>
  261. <version>3.9</version>
  262. </dependency>
  263. <dependency>
  264. <groupId>org.apache.shiro</groupId>
  265. <artifactId>shiro-core</artifactId>
  266. <version>1.4.0</version>
  267. </dependency>
  268. <dependency>
  269. <groupId>org.assertj</groupId>
  270. <artifactId>assertj-core</artifactId>
  271. </dependency>
  272. <dependency>
  273. <groupId>com.alibaba</groupId>
  274. <artifactId>easyexcel</artifactId>
  275. <version>2.2.8</version>
  276. </dependency>
  277. </dependencies>
  278. <!-- project下-->
  279. <build>
  280. <plugins>
  281. <plugin>
  282. <groupId>org.springframework.boot</groupId>
  283. <artifactId>spring-boot-maven-plugin</artifactId>
  284. <version>2.2.1.RELEASE</version>
  285. <configuration>
  286. <excludeDevtools>false</excludeDevtools>
  287. <classifier>exec</classifier>
  288. </configuration>
  289. <executions>
  290. <execution>
  291. <goals>
  292. <goal>repackage</goal>
  293. </goals>
  294. </execution>
  295. </executions>
  296. </plugin>
  297. </plugins>
  298. </build>
  299. </project>