pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411
  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. <groupId>com.example</groupId>
  6. <artifactId>springboot_v2</artifactId>
  7. <version>3.4</version>
  8. <packaging>jar</packaging>
  9. <name>springboot_v2</name>
  10. <description>springbootv2系统</description>
  11. <parent>
  12. <groupId>org.springframework.boot</groupId>
  13. <artifactId>spring-boot-starter-parent</artifactId>
  14. <version>2.0.0.RELEASE</version>
  15. <relativePath /> <!-- 从存储库查找父级 -->
  16. </parent>
  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. <!--<tomcat.version>9.0.35</tomcat.version>-->
  24. </properties>
  25. <!-- https://mvnrepository.com/ 查找jar网站 -->
  26. <dependencies>
  27. <!-- SpringBoot Web容器 -->
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-web</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>io.netty</groupId>
  34. <artifactId>netty-all</artifactId>
  35. <version>4.1.36.Final</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>com.alibaba</groupId>
  39. <artifactId>fastjson</artifactId>
  40. <version>1.2.4</version>
  41. </dependency>
  42. <!--By Wang jiawen lombok 从云引入 目的提供get set方法-->
  43. <dependency>
  44. <groupId>org.projectlombok</groupId>
  45. <artifactId>lombok</artifactId>
  46. <version>1.18.12</version>
  47. </dependency>
  48. <!-- SpringBoot 测试 -->
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-test</artifactId>
  52. <scope>test</scope>
  53. </dependency>
  54. <!-- 添加swagger2 -->
  55. <dependency>
  56. <groupId>io.springfox</groupId>
  57. <artifactId>springfox-swagger2</artifactId>
  58. <version>2.7.0</version>
  59. </dependency>
  60. <!-- swagger2-UI -->
  61. <dependency>
  62. <groupId>io.springfox</groupId>
  63. <artifactId>springfox-swagger-ui</artifactId>
  64. <version>2.7.0</version>
  65. </dependency>
  66. <!--GSON -->
  67. <dependency>
  68. <groupId>com.google.code.gson</groupId>
  69. <artifactId>gson</artifactId>
  70. </dependency>
  71. <!-- pageHelper -->
  72. <dependency>
  73. <groupId>com.github.pagehelper</groupId>
  74. <artifactId>pagehelper-spring-boot-starter</artifactId>
  75. <version>1.2.5</version>
  76. </dependency>
  77. <!--GSON -->
  78. <!-- pageHelper -->
  79. <dependency>
  80. <groupId>com.github.pagehelper</groupId>
  81. <artifactId>pagehelper-spring-boot-starter</artifactId>
  82. <version>1.2.5</version>
  83. </dependency>
  84. <!-- mysql驱动7.0-->
  85. <dependency>
  86. <groupId>mysql</groupId>
  87. <artifactId>mysql-connector-java</artifactId>
  88. <version>5.1.40</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>com.oracle</groupId>
  92. <artifactId>ojdbc6</artifactId>
  93. <version>11.2.0.3</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.springframework.boot</groupId>
  97. <artifactId>spring-boot-starter-websocket</artifactId>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.springframework.boot</groupId>
  101. <artifactId>spring-boot-starter-websocket</artifactId>
  102. </dependency>
  103. <!--druid 数据源监控-->
  104. <!-- https://mvnrepository.com/artifact/com.alibaba/druid-spring-boot-starter -->
  105. <dependency>
  106. <groupId>com.alibaba</groupId>
  107. <artifactId>druid-spring-boot-starter</artifactId>
  108. <version>1.1.10</version>
  109. </dependency>
  110. <!-- shiro权限 -->
  111. <dependency>
  112. <groupId>org.apache.shiro</groupId>
  113. <artifactId>shiro-spring</artifactId>
  114. <version>1.4.0</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.springframework.boot</groupId>
  118. <artifactId>spring-boot-starter-aop</artifactId>
  119. </dependency>
  120. <!-- shiro权限支持thymeleaf -->
  121. <dependency>
  122. <groupId>com.github.theborakompanioni</groupId>
  123. <artifactId>thymeleaf-extras-shiro</artifactId>
  124. <version>2.0.0</version>
  125. </dependency>
  126. <!-- thymeleaf模版 -->
  127. <dependency>
  128. <groupId>org.springframework.boot</groupId>
  129. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  130. </dependency>
  131. <!--常用工具类 -->
  132. <dependency>
  133. <groupId>org.apache.commons</groupId>
  134. <artifactId>commons-lang3</artifactId>
  135. </dependency>
  136. <dependency>
  137. <groupId>commons-lang</groupId>
  138. <artifactId>commons-lang</artifactId>
  139. <version>2.4</version>
  140. </dependency>
  141. <!--io常用工具类 -->
  142. <dependency>
  143. <groupId>commons-io</groupId>
  144. <artifactId>commons-io</artifactId>
  145. <version>${commons.io.version}</version>
  146. </dependency>
  147. <!--文件上传工具类 -->
  148. <dependency>
  149. <groupId>commons-fileupload</groupId>
  150. <artifactId>commons-fileupload</artifactId>
  151. <version>${commons.fileupload.version}</version>
  152. </dependency>
  153. <!-- 热部署 -->
  154. <dependency>
  155. <groupId>org.springframework.boot</groupId>
  156. <artifactId>spring-boot-devtools</artifactId>
  157. <optional>true</optional>
  158. </dependency>
  159. <!-- Hutool是一个Java工具包 http://hutool.cn/ -->
  160. <dependency>
  161. <groupId>cn.hutool</groupId>
  162. <artifactId>hutool-all</artifactId>
  163. <version>4.1.12</version>
  164. </dependency>
  165. <!-- google验证码 -->
  166. <dependency>
  167. <groupId>com.github.penggle</groupId>
  168. <artifactId>kaptcha</artifactId>
  169. <version>2.3.2</version>
  170. </dependency>
  171. <!-- https://mvnrepository.com/artifact/org.apache.velocity/velocity -->
  172. <dependency>
  173. <groupId>org.apache.velocity</groupId>
  174. <artifactId>velocity</artifactId>
  175. <version>1.7</version>
  176. </dependency>
  177. <!-- websocket -->
  178. <dependency>
  179. <groupId>org.springframework.boot</groupId>
  180. <artifactId>spring-boot-starter-websocket</artifactId>
  181. </dependency>
  182. <!-- 配置文件读取 -->
  183. <dependency>
  184. <groupId>commons-configuration</groupId>
  185. <artifactId>commons-configuration</artifactId>
  186. <version>1.10</version>
  187. </dependency>
  188. <dependency>
  189. <groupId>org.springframework.boot</groupId>
  190. <artifactId>spring-boot-configuration-processor</artifactId>
  191. <optional>true</optional>
  192. </dependency>
  193. <!-- mail -->
  194. <dependency>
  195. <groupId>javax.mail</groupId>
  196. <artifactId>mail</artifactId>
  197. <version>1.4.7</version>
  198. </dependency>
  199. <dependency>
  200. <groupId>commons-codec</groupId>
  201. <artifactId>commons-codec</artifactId>
  202. <version>1.9</version>
  203. </dependency>
  204. <dependency>
  205. <groupId>ueditor</groupId>
  206. <artifactId>1.1.2</artifactId>
  207. <version>1.8</version>
  208. <scope>system</scope>
  209. <systemPath>${project.basedir}/src/main/resources/lib/ueditor-1.1.2.jar</systemPath>
  210. </dependency>
  211. <dependency>
  212. <groupId>jacob</groupId>
  213. <artifactId>1.18</artifactId>
  214. <version>1.18</version>
  215. <scope>system</scope>
  216. <systemPath>${project.basedir}/src/main/resources/lib/jacob-1.18.jar</systemPath>
  217. </dependency>
  218. <dependency>
  219. <groupId>sqljdbc</groupId>
  220. <artifactId>42</artifactId>
  221. <version>42</version>
  222. <scope>system</scope>
  223. <systemPath>${project.basedir}/src/main/resources/lib/sqljdbc42.jar</systemPath>
  224. </dependency>
  225. <dependency>
  226. <groupId>thumbnailator</groupId>
  227. <artifactId>0.4.2</artifactId>
  228. <version>0.4.2</version>
  229. <scope>system</scope>
  230. <systemPath>${project.basedir}/src/main/resources/lib/thumbnailator-0.4.2-all.jar</systemPath>
  231. </dependency>
  232. <!--quartz依赖-->
  233. <dependency>
  234. <groupId>org.quartz-scheduler</groupId>
  235. <artifactId>quartz</artifactId>
  236. <version>2.2.1</version>
  237. </dependency>
  238. <!-- 七牛云 -->
  239. <dependency>
  240. <groupId>com.qiniu</groupId>
  241. <artifactId>qiniu-java-sdk</artifactId>
  242. <version>[7.2.0, 7.2.99]</version>
  243. </dependency>
  244. <dependency>
  245. <groupId>org.springframework.boot</groupId>
  246. <artifactId>spring-boot-configuration-processor</artifactId>
  247. <optional>true</optional>
  248. </dependency>
  249. <dependency>
  250. <groupId>org.springframework.boot</groupId>
  251. <artifactId>spring-boot-starter-data-redis</artifactId>
  252. </dependency>
  253. <dependency>
  254. <groupId>org.mongodb</groupId>
  255. <artifactId>mongo-java-driver</artifactId>
  256. <version>3.10.2</version>
  257. </dependency>
  258. <dependency>
  259. <groupId>redis.clients</groupId>
  260. <artifactId>jedis</artifactId>
  261. <version>2.9.0</version>
  262. </dependency>
  263. <dependency>
  264. <groupId>com.baomidou</groupId>
  265. <artifactId>mybatis-plus-core</artifactId>
  266. <version>3.3.2</version>
  267. </dependency>
  268. <dependency>
  269. <groupId>com.baomidou</groupId>
  270. <artifactId>mybatis-plus-boot-starter</artifactId>
  271. <version>3.3.2</version>
  272. </dependency>
  273. <!--代码生成器-->
  274. <dependency>
  275. <groupId>com.baomidou</groupId>
  276. <artifactId>mybatis-plus-generator</artifactId>
  277. <version>3.3.2</version>
  278. </dependency>
  279. <dependency>
  280. <groupId>com.baomidou</groupId>
  281. <artifactId>mybatis-plus-extension</artifactId>
  282. <version>3.3.2</version>
  283. </dependency>
  284. <!--http请求-->
  285. <dependency>
  286. <groupId>com.netflix.feign</groupId>
  287. <artifactId>feign-core</artifactId>
  288. <version>8.18.0</version>
  289. </dependency>
  290. <dependency>
  291. <groupId>com.netflix.feign</groupId>
  292. <artifactId>feign-jackson</artifactId>
  293. <version>8.18.0</version>
  294. </dependency>
  295. <dependency>
  296. <groupId>org.apache.tomcat</groupId>
  297. <artifactId>tomcat-juli</artifactId>
  298. <version>${tomcat.version}</version>
  299. </dependency>
  300. <dependency>
  301. <groupId>org.apache.tomcat.embed</groupId>
  302. <artifactId>tomcat-embed-core</artifactId>
  303. <version>${tomcat.version}</version>
  304. </dependency>
  305. <dependency>
  306. <groupId>org.apache.tomcat.embed</groupId>
  307. <artifactId>tomcat-embed-el</artifactId>
  308. <version>${tomcat.version}</version>
  309. </dependency>
  310. <dependency>
  311. <groupId>org.apache.tomcat.embed</groupId>
  312. <artifactId>tomcat-embed-websocket</artifactId>
  313. <version>${tomcat.version}</version>
  314. </dependency>
  315. </dependencies>
  316. <build>
  317. <plugins>
  318. <!-- generator 配置-->
  319. <plugin>
  320. <groupId>org.mybatis.generator</groupId>
  321. <artifactId>mybatis-generator-maven-plugin</artifactId>
  322. <version>1.3.7</version>
  323. <configuration>
  324. <!--允许移动生成的文件 -->
  325. <verbose>false</verbose>
  326. <!--允许覆盖生成的文件 -->
  327. <overwrite>false</overwrite>
  328. <!--配置文件的路径 -->
  329. <configurationFile>src/main/resources/mybatis-generator.xml</configurationFile>
  330. </configuration>
  331. </plugin>
  332. <plugin>
  333. <groupId>org.springframework.boot</groupId>
  334. <artifactId>spring-boot-maven-plugin</artifactId>
  335. <configuration>
  336. <includeSystemScope>true</includeSystemScope>
  337. </configuration>
  338. </plugin>
  339. <plugin>
  340. <groupId>org.apache.maven.plugins</groupId>
  341. <artifactId>maven-war-plugin</artifactId>
  342. <version>2.3</version>
  343. <configuration>
  344. <webResources>
  345. <resource>
  346. <directory>${project.basedir}/src/main/resources/lib</directory>
  347. <targetPath>BOOT-INF/lib/</targetPath>
  348. <includes>
  349. <include>**/*.jar</include>
  350. </includes>
  351. </resource>
  352. </webResources>
  353. </configuration>
  354. </plugin>
  355. </plugins>
  356. </build>
  357. <!-- 阿里云maven仓库 -->
  358. <repositories>
  359. <repository>
  360. <id>public</id>
  361. <name>aliyun nexus</name>
  362. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  363. <releases>
  364. <enabled>true</enabled>
  365. </releases>
  366. </repository>
  367. </repositories>
  368. <pluginRepositories>
  369. <pluginRepository>
  370. <id>public</id>
  371. <name>aliyun nexus</name>
  372. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  373. <releases>
  374. <enabled>true</enabled>
  375. </releases>
  376. <snapshots>
  377. <enabled>false</enabled>
  378. </snapshots>
  379. </pluginRepository>
  380. </pluginRepositories>
  381. </project>