pom.xml 18 KB

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