pom.xml 18 KB

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