pom.xml 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  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.1</version>
  9. <relativePath/>
  10. </parent>
  11. <groupId>com.fc</groupId>
  12. <artifactId>v2</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>v2</name>
  15. <packaging>jar</packaging>
  16. <description>springboot-v2-pear</description>
  17. <properties>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  20. <java.version>1.8</java.version>
  21. <commons.fileupload.version>1.3.3</commons.fileupload.version>
  22. <commons.io.version>2.5</commons.io.version>
  23. </properties>
  24. <!-- https://mvnrepository.com/ 查找jar网站 -->
  25. <dependencies>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-data-redis</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.apache.commons</groupId>
  32. <artifactId>commons-pool2</artifactId>
  33. </dependency>
  34. <!-- SpringBoot Web容器 -->
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-web</artifactId>
  38. </dependency>
  39. <!-- SpringBoot集成mybatis框架 -->
  40. <dependency>
  41. <groupId>org.mybatis.spring.boot</groupId>
  42. <artifactId>mybatis-spring-boot-starter</artifactId>
  43. <version>1.3.2</version>
  44. </dependency>
  45. <!-- SpringBoot 测试 -->
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-test</artifactId>
  49. <scope>test</scope>
  50. </dependency>
  51. <!-- knife4j -->
  52. <dependency>
  53. <groupId>com.github.xiaoymin</groupId>
  54. <artifactId>knife4j-spring-boot-starter</artifactId>
  55. <version>2.0.7</version>
  56. </dependency>
  57. <!--GSON -->
  58. <dependency>
  59. <groupId>com.google.code.gson</groupId>
  60. <artifactId>gson</artifactId>
  61. </dependency>
  62. <!-- JSON 解 析 工 具 -->
  63. <dependency>
  64. <groupId>com.alibaba</groupId>
  65. <artifactId>fastjson</artifactId>
  66. <version>1.2.68</version>
  67. </dependency>
  68. <!-- pageHelper -->
  69. <dependency>
  70. <groupId>com.github.pagehelper</groupId>
  71. <artifactId>pagehelper-spring-boot-starter</artifactId>
  72. <version>1.2.5</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.postgresql</groupId>
  76. <artifactId>postgresql</artifactId>
  77. <version>42.2.12</version>
  78. </dependency>
  79. <!-- mysql驱动7.0-->
  80. <!-- <dependency>-->
  81. <!-- <groupId>mysql</groupId>-->
  82. <!-- <artifactId>mysql-connector-java</artifactId>-->
  83. <!-- </dependency>-->
  84. <!-- mysql驱动8.0
  85. <dependency>
  86. <groupId>mysql</groupId>
  87. <artifactId>mysql-connector-java</artifactId>
  88. <version>8.0.11</version>
  89. </dependency>
  90. -->
  91. <!--druid 数据源监控-->
  92. <!-- https://mvnrepository.com/artifact/com.alibaba/druid-spring-boot-starter -->
  93. <dependency>
  94. <groupId>com.alibaba</groupId>
  95. <artifactId>druid-spring-boot-starter</artifactId>
  96. <version>1.1.10</version>
  97. </dependency>
  98. <!-- shiro权限 -->
  99. <dependency>
  100. <groupId>org.apache.shiro</groupId>
  101. <artifactId>shiro-spring</artifactId>
  102. <version>1.4.0</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.springframework.boot</groupId>
  106. <artifactId>spring-boot-starter-aop</artifactId>
  107. </dependency>
  108. <!-- shiro权限支持thymeleaf -->
  109. <dependency>
  110. <groupId>com.github.theborakompanioni</groupId>
  111. <artifactId>thymeleaf-extras-shiro</artifactId>
  112. <version>2.0.0</version>
  113. </dependency>
  114. <!-- thymeleaf模版 -->
  115. <dependency>
  116. <groupId>org.springframework.boot</groupId>
  117. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  118. </dependency>
  119. <!--常用工具类 -->
  120. <dependency>
  121. <groupId>org.apache.commons</groupId>
  122. <artifactId>commons-lang3</artifactId>
  123. </dependency>
  124. <dependency>
  125. <groupId>commons-lang</groupId>
  126. <artifactId>commons-lang</artifactId>
  127. <version>2.4</version>
  128. </dependency>
  129. <!--io常用工具类 -->
  130. <dependency>
  131. <groupId>commons-io</groupId>
  132. <artifactId>commons-io</artifactId>
  133. <version>${commons.io.version}</version>
  134. </dependency>
  135. <!--文件上传工具类 -->
  136. <dependency>
  137. <groupId>commons-fileupload</groupId>
  138. <artifactId>commons-fileupload</artifactId>
  139. <version>${commons.fileupload.version}</version>
  140. </dependency>
  141. <!-- 热部署 -->
  142. <dependency>
  143. <groupId>org.springframework.boot</groupId>
  144. <artifactId>spring-boot-devtools</artifactId>
  145. <optional>true</optional>
  146. </dependency>
  147. <!-- Hutool是一个Java工具包 http://hutool.cn/ -->
  148. <dependency>
  149. <groupId>cn.hutool</groupId>
  150. <artifactId>hutool-all</artifactId>
  151. <version>4.1.12</version>
  152. </dependency>
  153. <!-- https://mvnrepository.com/artifact/org.apache.velocity/velocity -->
  154. <dependency>
  155. <groupId>org.apache.velocity</groupId>
  156. <artifactId>velocity</artifactId>
  157. <version>1.7</version>
  158. </dependency>
  159. <!-- websocket -->
  160. <dependency>
  161. <groupId>org.springframework.boot</groupId>
  162. <artifactId>spring-boot-starter-websocket</artifactId>
  163. </dependency>
  164. <!-- 配置文件读取 -->
  165. <dependency>
  166. <groupId>commons-configuration</groupId>
  167. <artifactId>commons-configuration</artifactId>
  168. <version>1.10</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>org.springframework.boot</groupId>
  172. <artifactId>spring-boot-configuration-processor</artifactId>
  173. <optional>true</optional>
  174. </dependency>
  175. <!-- mail -->
  176. <dependency>
  177. <groupId>javax.mail</groupId>
  178. <artifactId>mail</artifactId>
  179. <version>1.4.7</version>
  180. </dependency>
  181. <!--quartz依赖-->
  182. <dependency>
  183. <groupId>org.quartz-scheduler</groupId>
  184. <artifactId>quartz</artifactId>
  185. </dependency>
  186. <!--
  187. 验证码
  188. https://gitee.com/whvse/EasyCaptcha?_from=gitee_search
  189. -->
  190. <dependency>
  191. <groupId>com.github.whvcse</groupId>
  192. <artifactId>easy-captcha</artifactId>
  193. <version>1.6.2</version>
  194. </dependency>
  195. <!-- 亚马逊aws-s3 -->
  196. <dependency>
  197. <groupId>com.amazonaws</groupId>
  198. <artifactId>aws-java-sdk-s3</artifactId>
  199. <version>1.11.543</version>
  200. </dependency>
  201. </dependencies>
  202. <build>
  203. <defaultGoal>compile</defaultGoal>
  204. <!-- 打包不带版本号 -->
  205. <!-- <finalName>springboot_v2</finalName> -->
  206. <plugins>
  207. <!-- JUnit 配置 -->
  208. <plugin>
  209. <groupId>org.apache.maven.plugins</groupId>
  210. <artifactId>maven-surefire-plugin</artifactId>
  211. <!--忽略测试启动类 -->
  212. <configuration>
  213. <skip>true</skip>
  214. </configuration>
  215. </plugin>
  216. <!-- generator 配置-->
  217. <plugin>
  218. <groupId>org.mybatis.generator</groupId>
  219. <artifactId>mybatis-generator-maven-plugin</artifactId>
  220. <version>1.3.7</version>
  221. <configuration>
  222. <!--允许移动生成的文件 -->
  223. <verbose>false</verbose>
  224. <!--允许覆盖生成的文件 -->
  225. <overwrite>false</overwrite>
  226. <!--配置文件的路径 -->
  227. <configurationFile>src/main/resources/mybatis-generator.xml</configurationFile>
  228. </configuration>
  229. <dependencies>
  230. <dependency>
  231. <groupId>mysql</groupId>
  232. <artifactId>mysql-connector-java</artifactId>
  233. <version>${mysql.version}</version>
  234. </dependency>
  235. </dependencies>
  236. </plugin>
  237. <!-- jar运行配置 -->
  238. <plugin>
  239. <groupId>org.springframework.boot</groupId>
  240. <artifactId>spring-boot-maven-plugin</artifactId>
  241. </plugin>
  242. </plugins>
  243. </build>
  244. </project>