pom.xml 18 KB

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