pom.xml 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>web</artifactId>
  7. <groupId>com.gyee</groupId>
  8. <version>1.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>admin-hb</artifactId>
  12. <properties>
  13. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  15. <java.version>1.8</java.version>
  16. <commons.fileupload.version>1.3.3</commons.fileupload.version>
  17. <commons.io.version>2.5</commons.io.version>
  18. <tomcat.version>9.0.35</tomcat.version>
  19. <spring-boot.version>2.3.7.RELEASE</spring-boot.version>
  20. <spring-cloud-alibaba.version>2.2.5.RELEASE</spring-cloud-alibaba.version>
  21. <pgsql.version>42.2.5</pgsql.version>
  22. </properties>
  23. <!-- https://mvnrepository.com/ 查找jar网站 -->
  24. <dependencies>
  25. <!-- SpringBoot Web容器 -->
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-web</artifactId>
  29. </dependency>
  30. <!-- SpringBoot集成mybatis框架 -->
  31. <dependency>
  32. <groupId>org.mybatis.spring.boot</groupId>
  33. <artifactId>mybatis-spring-boot-starter</artifactId>
  34. <version>1.3.2</version>
  35. </dependency>
  36. <!-- <dependency>-->
  37. <!-- <groupId>org.mybatis.caches</groupId>-->
  38. <!-- <artifactId>mybatis-ehcache</artifactId>-->
  39. <!-- <version>1.2.1</version>-->
  40. <!-- </dependency>-->
  41. <!-- SpringBoot 测试 -->
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-test</artifactId>
  45. <scope>test</scope>
  46. </dependency>
  47. <!-- 添加swagger2 -->
  48. <dependency>
  49. <groupId>io.springfox</groupId>
  50. <artifactId>springfox-swagger2</artifactId>
  51. <version>2.9.2</version>
  52. <exclusions>
  53. <exclusion>
  54. <groupId>io.swagger</groupId>
  55. <artifactId>swagger-annotations</artifactId>
  56. </exclusion>
  57. <exclusion>
  58. <groupId>io.swagger</groupId>
  59. <artifactId>swagger-models</artifactId>
  60. </exclusion>
  61. </exclusions>
  62. </dependency>
  63. <dependency>
  64. <groupId>io.springfox</groupId>
  65. <artifactId>springfox-swagger-ui</artifactId>
  66. <version>2.9.2</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>io.swagger</groupId>
  70. <artifactId>swagger-annotations</artifactId>
  71. <version>1.5.21</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>io.swagger</groupId>
  75. <artifactId>swagger-models</artifactId>
  76. <version>1.5.21</version>
  77. </dependency>
  78. <!-- https://mvnrepository.com/artifact/io.github.swagger2markup/swagger2markup -->
  79. <dependency>
  80. <groupId>io.swagger</groupId>
  81. <artifactId>swagger-core</artifactId>
  82. <version>1.6.2</version>
  83. </dependency>
  84. <!--GSON -->
  85. <dependency>
  86. <groupId>com.google.code.gson</groupId>
  87. <artifactId>gson</artifactId>
  88. </dependency>
  89. <!-- pageHelper -->
  90. <dependency>
  91. <groupId>com.github.pagehelper</groupId>
  92. <artifactId>pagehelper-spring-boot-starter</artifactId>
  93. <version>1.2.5</version>
  94. </dependency>
  95. <!-- mysql驱动7.0-->
  96. <dependency>
  97. <groupId>mysql</groupId>
  98. <artifactId>mysql-connector-java</artifactId>
  99. </dependency>
  100. <dependency>
  101. <groupId>com.oracle</groupId>
  102. <artifactId>ojdbc6</artifactId>
  103. <version>11.2.0.3</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>com.microsoft.sqlserver</groupId>
  107. <artifactId>sqljdbc4</artifactId>
  108. <version>4.0</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.taosdata.jdbc</groupId>
  112. <artifactId>taos-jdbcdriver</artifactId>
  113. <version>2.0.30</version>
  114. </dependency>
  115. <!-- mysql驱动8.0
  116. <dependency>
  117. <groupId>mysql</groupId>
  118. <artifactId>mysql-connector-java</artifactId>
  119. <version>8.0.11</version>
  120. </dependency>
  121. -->
  122. <!--druid 数据源监控-->
  123. <!-- https://mvnrepository.com/artifact/com.alibaba/druid-spring-boot-starter -->
  124. <dependency>
  125. <groupId>com.alibaba</groupId>
  126. <artifactId>druid-spring-boot-starter</artifactId>
  127. <version>1.1.10</version>
  128. </dependency>
  129. <!-- shiro权限 -->
  130. <dependency>
  131. <groupId>org.apache.shiro</groupId>
  132. <artifactId>shiro-spring</artifactId>
  133. <version>1.4.0</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.springframework.boot</groupId>
  137. <artifactId>spring-boot-starter-aop</artifactId>
  138. </dependency>
  139. <!-- shiro权限支持thymeleaf -->
  140. <dependency>
  141. <groupId>com.github.theborakompanioni</groupId>
  142. <artifactId>thymeleaf-extras-shiro</artifactId>
  143. <version>2.0.0</version>
  144. </dependency>
  145. <!-- thymeleaf模版 -->
  146. <dependency>
  147. <groupId>org.springframework.boot</groupId>
  148. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  149. </dependency>
  150. <!--常用工具类 -->
  151. <dependency>
  152. <groupId>org.apache.commons</groupId>
  153. <artifactId>commons-lang3</artifactId>
  154. </dependency>
  155. <dependency>
  156. <groupId>commons-lang</groupId>
  157. <artifactId>commons-lang</artifactId>
  158. <version>2.4</version>
  159. </dependency>
  160. <!--io常用工具类 -->
  161. <dependency>
  162. <groupId>commons-io</groupId>
  163. <artifactId>commons-io</artifactId>
  164. <version>${commons.io.version}</version>
  165. </dependency>
  166. <!--文件上传工具类 -->
  167. <dependency>
  168. <groupId>commons-fileupload</groupId>
  169. <artifactId>commons-fileupload</artifactId>
  170. <version>${commons.fileupload.version}</version>
  171. </dependency>
  172. <!-- 热部署 -->
  173. <dependency>
  174. <groupId>org.springframework.boot</groupId>
  175. <artifactId>spring-boot-devtools</artifactId>
  176. <optional>false</optional>
  177. </dependency>
  178. <!-- Hutool是一个Java工具包 http://hutool.cn/ -->
  179. <dependency>
  180. <groupId>cn.hutool</groupId>
  181. <artifactId>hutool-all</artifactId>
  182. <version>4.1.12</version>
  183. </dependency>
  184. <!-- google验证码 -->
  185. <dependency>
  186. <groupId>com.github.penggle</groupId>
  187. <artifactId>kaptcha</artifactId>
  188. <version>2.3.2</version>
  189. </dependency>
  190. <!-- https://mvnrepository.com/artifact/org.apache.velocity/velocity -->
  191. <dependency>
  192. <groupId>org.apache.velocity</groupId>
  193. <artifactId>velocity</artifactId>
  194. <version>1.7</version>
  195. </dependency>
  196. <!-- websocket -->
  197. <dependency>
  198. <groupId>org.springframework.boot</groupId>
  199. <artifactId>spring-boot-starter-websocket</artifactId>
  200. </dependency>
  201. <!-- 配置文件读取 -->
  202. <dependency>
  203. <groupId>commons-configuration</groupId>
  204. <artifactId>commons-configuration</artifactId>
  205. <version>1.10</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>org.springframework.boot</groupId>
  209. <artifactId>spring-boot-configuration-processor</artifactId>
  210. <optional>true</optional>
  211. </dependency>
  212. <!-- mail -->
  213. <dependency>
  214. <groupId>javax.mail</groupId>
  215. <artifactId>mail</artifactId>
  216. <version>1.4.7</version>
  217. </dependency>
  218. <!--百度UEditor依赖的jar包 -->
  219. <dependency>
  220. <groupId>org.json</groupId>
  221. <artifactId>json</artifactId>
  222. <version>20180813</version>
  223. </dependency>
  224. <dependency>
  225. <groupId>ueditor</groupId>
  226. <artifactId>1.4.3</artifactId>
  227. <version>1.8</version>
  228. <scope>system</scope>
  229. <systemPath>${basedir}/lib/ueditor-1.1.2.jar</systemPath>
  230. </dependency>
  231. <dependency>
  232. <groupId>org.springframework.boot</groupId>
  233. <artifactId>spring-boot-starter-integration</artifactId>
  234. <exclusions>
  235. <exclusion>
  236. <groupId>org.springframework.boot</groupId>
  237. <artifactId>spring-boot-starter-logging</artifactId>
  238. </exclusion>
  239. </exclusions>
  240. </dependency>
  241. <dependency>
  242. <groupId>org.springframework.integration</groupId>
  243. <artifactId>spring-integration-ip</artifactId>
  244. </dependency>
  245. <!--quartz依赖-->
  246. <dependency>
  247. <groupId>org.quartz-scheduler</groupId>
  248. <artifactId>quartz</artifactId>
  249. </dependency>
  250. <!-- 七牛云 -->
  251. <dependency>
  252. <groupId>com.qiniu</groupId>
  253. <artifactId>qiniu-java-sdk</artifactId>
  254. <version>[7.2.0, 7.2.99]</version>
  255. </dependency>
  256. <dependency>
  257. <groupId>com.alibaba</groupId>
  258. <artifactId>fastjson</artifactId>
  259. <version>1.2.17</version>
  260. </dependency>
  261. <dependency>
  262. <groupId>org.projectlombok</groupId>
  263. <artifactId>lombok</artifactId>
  264. <version>1.18.12</version>
  265. </dependency>
  266. <dependency>
  267. <groupId>org.apache.tomcat</groupId>
  268. <artifactId>tomcat-juli</artifactId>
  269. <version>${tomcat.version}</version>
  270. </dependency>
  271. <dependency>
  272. <groupId>org.apache.tomcat.embed</groupId>
  273. <artifactId>tomcat-embed-core</artifactId>
  274. <version>${tomcat.version}</version>
  275. </dependency>
  276. <dependency>
  277. <groupId>org.apache.tomcat.embed</groupId>
  278. <artifactId>tomcat-embed-el</artifactId>
  279. <version>${tomcat.version}</version>
  280. </dependency>
  281. <dependency>
  282. <groupId>org.apache.tomcat.embed</groupId>
  283. <artifactId>tomcat-embed-websocket</artifactId>
  284. <version>${tomcat.version}</version>
  285. </dependency>
  286. <dependency>
  287. <groupId>redis.clients</groupId>
  288. <artifactId>jedis</artifactId>
  289. <version>3.2.0</version>
  290. </dependency>
  291. <dependency>
  292. <groupId>org.springframework.boot</groupId>
  293. <artifactId>spring-boot-starter-data-redis</artifactId>
  294. </dependency>
  295. <dependency>
  296. <groupId>org.apache.poi</groupId>
  297. <artifactId>poi-ooxml</artifactId>
  298. <version>4.0.1</version>
  299. </dependency>
  300. <dependency>
  301. <groupId>org.apache.poi</groupId>
  302. <artifactId>poi</artifactId>
  303. <version>4.0.1</version>
  304. </dependency>
  305. <dependency>
  306. <groupId>org.pegdown</groupId>
  307. <artifactId>pegdown</artifactId>
  308. <version>1.4.2</version>
  309. </dependency>
  310. <!-- webservice-->
  311. <dependency>
  312. <groupId>org.apache.ws.commons.axiom</groupId>
  313. <artifactId>axiom-api</artifactId>
  314. <version>1.2.12</version>
  315. </dependency>
  316. <dependency>
  317. <groupId>org.apache.axis2</groupId>
  318. <artifactId>axis2</artifactId>
  319. <version>1.6.1</version>
  320. <type>pom</type>
  321. </dependency>
  322. <dependency>
  323. <groupId>org.apache.axis2</groupId>
  324. <artifactId>axis2-kernel</artifactId>
  325. <version>1.6.1</version>
  326. </dependency>
  327. <dependency>
  328. <groupId>org.apache.axis2</groupId>
  329. <artifactId>axis2-adb</artifactId>
  330. <version>1.6.1</version>
  331. </dependency>
  332. <!-- webservice-->
  333. <!--http请求-->
  334. <dependency>
  335. <groupId>com.netflix.feign</groupId>
  336. <artifactId>feign-core</artifactId>
  337. <version>8.18.0</version>
  338. </dependency>
  339. <dependency>
  340. <groupId>com.netflix.feign</groupId>
  341. <artifactId>feign-jackson</artifactId>
  342. <version>8.18.0</version>
  343. </dependency>
  344. <!--http请求-->
  345. <dependency>
  346. <groupId>com.alibaba.cloud</groupId>
  347. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  348. </dependency>
  349. <dependency>
  350. <groupId>org.postgresql</groupId>
  351. <artifactId>postgresql</artifactId>
  352. <version>${pgsql.version}</version>
  353. </dependency>
  354. </dependencies>
  355. <dependencyManagement>
  356. <dependencies>
  357. <dependency>
  358. <groupId>com.alibaba.cloud</groupId>
  359. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  360. <version>${spring-cloud-alibaba.version}</version>
  361. <type>pom</type>
  362. <scope>import</scope>
  363. </dependency>
  364. <!-- spring-cloud-dependencies -->
  365. <dependency>
  366. <groupId>org.springframework.cloud</groupId>
  367. <artifactId>spring-cloud-dependencies</artifactId>
  368. <version>Hoxton.SR5</version>
  369. <type>pom</type>
  370. <scope>import</scope>
  371. </dependency>
  372. <dependency>
  373. <groupId>org.springframework.boot</groupId>
  374. <artifactId>spring-boot-dependencies</artifactId>
  375. <version>${spring-boot.version}</version>
  376. <type>pom</type>
  377. <scope>import</scope>
  378. </dependency>
  379. </dependencies>
  380. </dependencyManagement>
  381. <build>
  382. <!-- 打包不带版本号 -->
  383. <!-- <finalName>Gyee_Frame_HF</finalName> -->
  384. <plugins>
  385. <!-- JUnit 配置 -->
  386. <plugin>
  387. <groupId>org.apache.maven.plugins</groupId>
  388. <artifactId>maven-surefire-plugin</artifactId>
  389. <!--忽略测试启动类 -->
  390. <configuration>
  391. <skip>true</skip>
  392. </configuration>
  393. </plugin>
  394. <!-- generator 配置-->
  395. <plugin>
  396. <groupId>org.mybatis.generator</groupId>
  397. <artifactId>mybatis-generator-maven-plugin</artifactId>
  398. <version>1.3.7</version>
  399. <configuration>
  400. <!--允许移动生成的文件 -->
  401. <verbose>false</verbose>
  402. <!--允许覆盖生成的文件 -->
  403. <overwrite>false</overwrite>
  404. <!--配置文件的路径 -->
  405. <configurationFile>src/main/resources/mybatis-generator.xml</configurationFile>
  406. </configuration>
  407. <dependencies>
  408. <!-- <dependency>-->
  409. <!-- <groupId>mysql</groupId>-->
  410. <!-- <artifactId>mysql-connector-java</artifactId>-->
  411. <!-- <version>${mysql.version}</version>-->
  412. <!-- </dependency>-->
  413. <dependency>
  414. <groupId>com.oracle</groupId>
  415. <artifactId>ojdbc6</artifactId>
  416. <version>11.2.0.3</version>
  417. </dependency>
  418. <!-- <dependency>-->
  419. <!-- <groupId>com.microsoft.sqlserver</groupId>-->
  420. <!-- <artifactId>sqljdbc4</artifactId>-->
  421. <!-- <version>4.0</version>-->
  422. <!-- </dependency>-->
  423. </dependencies>
  424. </plugin>
  425. <!-- jar运行配置 -->
  426. <plugin>
  427. <groupId>org.apache.maven.plugins</groupId>
  428. <artifactId>maven-compiler-plugin</artifactId>
  429. <configuration>
  430. <source>1.8</source>
  431. <target>1.8</target>
  432. <encoding>UTF-8</encoding>
  433. </configuration>
  434. </plugin>
  435. <plugin>
  436. <groupId>org.springframework.boot</groupId>
  437. <artifactId>spring-boot-maven-plugin</artifactId>
  438. <executions>
  439. <execution>
  440. <goals>
  441. <goal>repackage</goal>
  442. </goals>
  443. </execution>
  444. </executions>
  445. <configuration>
  446. <mainClass>com.gyee.SpringbootStart</mainClass>
  447. </configuration>
  448. </plugin>
  449. </plugins>
  450. </build>
  451. <!-- 阿里云maven仓库 -->
  452. <repositories>
  453. <repository>
  454. <id>public</id>
  455. <name>aliyun nexus</name>
  456. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  457. <releases>
  458. <enabled>true</enabled>
  459. </releases>
  460. </repository>
  461. </repositories>
  462. <pluginRepositories>
  463. <pluginRepository>
  464. <id>public</id>
  465. <name>aliyun nexus</name>
  466. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  467. <releases>
  468. <enabled>true</enabled>
  469. </releases>
  470. <snapshots>
  471. <enabled>false</enabled>
  472. </snapshots>
  473. </pluginRepository>
  474. </pluginRepositories>
  475. </project>