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>monitor-web-sxjn</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. <dependency>
  355. <groupId>com.gyee</groupId>
  356. <artifactId>common</artifactId>
  357. <version>1.0-SNAPSHOT</version>
  358. </dependency>
  359. </dependencies>
  360. <dependencyManagement>
  361. <dependencies>
  362. <dependency>
  363. <groupId>com.alibaba.cloud</groupId>
  364. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  365. <version>${spring-cloud-alibaba.version}</version>
  366. <type>pom</type>
  367. <scope>import</scope>
  368. </dependency>
  369. <!-- spring-cloud-dependencies -->
  370. <dependency>
  371. <groupId>org.springframework.cloud</groupId>
  372. <artifactId>spring-cloud-dependencies</artifactId>
  373. <version>Hoxton.SR5</version>
  374. <type>pom</type>
  375. <scope>import</scope>
  376. </dependency>
  377. <dependency>
  378. <groupId>org.springframework.boot</groupId>
  379. <artifactId>spring-boot-dependencies</artifactId>
  380. <version>${spring-boot.version}</version>
  381. <type>pom</type>
  382. <scope>import</scope>
  383. </dependency>
  384. </dependencies>
  385. </dependencyManagement>
  386. <build>
  387. <!-- 打包不带版本号 -->
  388. <!-- <finalName>Gyee_Frame_HF</finalName> -->
  389. <plugins>
  390. <!-- JUnit 配置 -->
  391. <plugin>
  392. <groupId>org.apache.maven.plugins</groupId>
  393. <artifactId>maven-surefire-plugin</artifactId>
  394. <!--忽略测试启动类 -->
  395. <configuration>
  396. <skip>true</skip>
  397. </configuration>
  398. </plugin>
  399. <!-- generator 配置-->
  400. <plugin>
  401. <groupId>org.mybatis.generator</groupId>
  402. <artifactId>mybatis-generator-maven-plugin</artifactId>
  403. <version>1.3.7</version>
  404. <configuration>
  405. <!--允许移动生成的文件 -->
  406. <verbose>false</verbose>
  407. <!--允许覆盖生成的文件 -->
  408. <overwrite>false</overwrite>
  409. <!--配置文件的路径 -->
  410. <configurationFile>src/main/resources/mybatis-generator.xml</configurationFile>
  411. </configuration>
  412. <dependencies>
  413. <!-- <dependency>-->
  414. <!-- <groupId>mysql</groupId>-->
  415. <!-- <artifactId>mysql-connector-java</artifactId>-->
  416. <!-- <version>${mysql.version}</version>-->
  417. <!-- </dependency>-->
  418. <dependency>
  419. <!-- <groupId>com.oracle</groupId>-->
  420. <!-- <artifactId>ojdbc6</artifactId>-->
  421. <!-- <version>11.2.0.3</version>-->
  422. <groupId>org.postgresql</groupId>
  423. <artifactId>postgresql</artifactId>
  424. <version>${pgsql.version}</version>
  425. </dependency>
  426. <!-- <dependency>-->
  427. <!-- <groupId>com.microsoft.sqlserver</groupId>-->
  428. <!-- <artifactId>sqljdbc4</artifactId>-->
  429. <!-- <version>4.0</version>-->
  430. <!-- </dependency>-->
  431. </dependencies>
  432. </plugin>
  433. <!-- jar运行配置 -->
  434. <plugin>
  435. <groupId>org.apache.maven.plugins</groupId>
  436. <artifactId>maven-compiler-plugin</artifactId>
  437. <configuration>
  438. <source>1.8</source>
  439. <target>1.8</target>
  440. <encoding>UTF-8</encoding>
  441. </configuration>
  442. </plugin>
  443. <plugin>
  444. <groupId>org.springframework.boot</groupId>
  445. <artifactId>spring-boot-maven-plugin</artifactId>
  446. <version>2.3.7.RELEASE</version>
  447. <executions>
  448. <execution>
  449. <goals>
  450. <goal>repackage</goal>
  451. </goals>
  452. </execution>
  453. </executions>
  454. <configuration>
  455. <mainClass>com.gyee.SpringbootStart</mainClass>
  456. <!--maven编译时将本地引用的jar包一起打包-->
  457. <includeSystemScope>true</includeSystemScope>
  458. </configuration>
  459. </plugin>
  460. </plugins>
  461. </build>
  462. <!-- 阿里云maven仓库 -->
  463. <repositories>
  464. <repository>
  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. </repository>
  472. </repositories>
  473. <pluginRepositories>
  474. <pluginRepository>
  475. <id>public</id>
  476. <name>aliyun nexus</name>
  477. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  478. <releases>
  479. <enabled>true</enabled>
  480. </releases>
  481. <snapshots>
  482. <enabled>false</enabled>
  483. </snapshots>
  484. </pluginRepository>
  485. </pluginRepositories>
  486. </project>