pom.xml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.cpms</groupId>
  6. <artifactId>cpms</artifactId>
  7. <version>3.2.0</version>
  8. <packaging>jar</packaging>
  9. <name>cpms</name>
  10. <description>cpms管理系统</description>
  11. <parent>
  12. <groupId>org.springframework.boot</groupId>
  13. <artifactId>spring-boot-starter-parent</artifactId>
  14. <version>2.1.17.RELEASE</version>
  15. <relativePath/>
  16. </parent>
  17. <properties>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  20. <java.version>1.8</java.version>
  21. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
  22. <mybatis.spring.boot.starter.version>2.1.3</mybatis.spring.boot.starter.version>
  23. <pagehelper.spring.boot.starter.version>1.3.0</pagehelper.spring.boot.starter.version>
  24. <fastjson.version>1.2.74</fastjson.version>
  25. <druid.version>1.2.2</druid.version>
  26. <commons.io.version>2.5</commons.io.version>
  27. <commons.fileupload.version>1.3.3</commons.fileupload.version>
  28. <bitwalker.version>1.19</bitwalker.version>
  29. <jwt.version>0.9.1</jwt.version>
  30. <kaptcha.version>2.3.2</kaptcha.version>
  31. <swagger.version>2.9.2</swagger.version>
  32. <poi.version>3.17</poi.version>
  33. <oshi.version>5.2.5</oshi.version>
  34. <jna.version>5.5.0</jna.version>
  35. <velocity.version>1.7</velocity.version>
  36. <oracle.version>11.2.0.3</oracle.version>
  37. <lombok.version>1.18.4</lombok.version>
  38. <mybatisplus.version>3.3.1</mybatisplus.version>
  39. <jxls.version>2.4.2</jxls.version>
  40. <jxls-poi.version>1.1.0</jxls-poi.version>
  41. <log4j2.version>2.16.0</log4j2.version>
  42. </properties>
  43. <dependencies>
  44. <!-- SpringBoot 核心包 -->
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter</artifactId>
  48. </dependency>
  49. <!-- SpringBoot 测试 -->
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-test</artifactId>
  53. <scope>test</scope>
  54. </dependency>
  55. <!-- SpringBoot 拦截器 -->
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-aop</artifactId>
  59. </dependency>
  60. <!-- SpringBoot Web容器 -->
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-web</artifactId>
  64. </dependency>
  65. <!-- spring-boot-devtools -->
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-devtools</artifactId>
  69. <optional>true</optional> <!-- 表示依赖不会传递 -->
  70. </dependency>
  71. <!-- spring security 安全认证 -->
  72. <dependency>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-starter-security</artifactId>
  75. </dependency>
  76. <!-- redis 缓存操作 -->
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-data-redis</artifactId>
  80. </dependency>
  81. <!-- pool 对象池 -->
  82. <dependency>
  83. <groupId>org.apache.commons</groupId>
  84. <artifactId>commons-pool2</artifactId>
  85. </dependency>
  86. <!--oracle驱动-->
  87. <dependency>
  88. <groupId>com.oracle</groupId>
  89. <artifactId>ojdbc6</artifactId>
  90. <version>${oracle.version}</version>
  91. </dependency>
  92. <!-- SpringBoot集成mybatis框架 -->
  93. <dependency>
  94. <groupId>org.mybatis.spring.boot</groupId>
  95. <artifactId>mybatis-spring-boot-starter</artifactId>
  96. <version>${mybatis.spring.boot.starter.version}</version>
  97. </dependency>
  98. <!-- pagehelper 分页插件 -->
  99. <dependency>
  100. <groupId>com.github.pagehelper</groupId>
  101. <artifactId>pagehelper-spring-boot-starter</artifactId>
  102. <version>${pagehelper.spring.boot.starter.version}</version>
  103. </dependency>
  104. <dependency> <!--阿里数据库连接池 -->
  105. <groupId>com.alibaba</groupId>
  106. <artifactId>druid-spring-boot-starter</artifactId>
  107. <version>${druid.version}</version>
  108. </dependency>
  109. <!--常用工具类 -->
  110. <dependency>
  111. <groupId>org.apache.commons</groupId>
  112. <artifactId>commons-lang3</artifactId>
  113. </dependency>
  114. <!--io常用工具类 -->
  115. <dependency>
  116. <groupId>commons-io</groupId>
  117. <artifactId>commons-io</artifactId>
  118. <version>${commons.io.version}</version>
  119. </dependency>
  120. <!-- zxing生成二维码 -->
  121. <dependency>
  122. <groupId>com.google.zxing</groupId>
  123. <artifactId>core</artifactId>
  124. <version>3.3.3</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>com.google.zxing</groupId>
  128. <artifactId>javase</artifactId>
  129. <version>3.3.3</version>
  130. </dependency>
  131. <!--文件上传工具类 -->
  132. <dependency>
  133. <groupId>commons-fileupload</groupId>
  134. <artifactId>commons-fileupload</artifactId>
  135. <version>${commons.fileupload.version}</version>
  136. </dependency>
  137. <!-- 解析客户端操作系统、浏览器等 -->
  138. <dependency>
  139. <groupId>eu.bitwalker</groupId>
  140. <artifactId>UserAgentUtils</artifactId>
  141. <version>${bitwalker.version}</version>
  142. </dependency>
  143. <!-- 阿里JSON解析器 -->
  144. <dependency>
  145. <groupId>com.alibaba</groupId>
  146. <artifactId>fastjson</artifactId>
  147. <version>${fastjson.version}</version>
  148. </dependency>
  149. <!--Spring框架基本的核心工具-->
  150. <dependency>
  151. <groupId>org.springframework</groupId>
  152. <artifactId>spring-context-support</artifactId>
  153. </dependency>
  154. <!--Token生成与解析-->
  155. <dependency>
  156. <groupId>io.jsonwebtoken</groupId>
  157. <artifactId>jjwt</artifactId>
  158. <version>${jwt.version}</version>
  159. </dependency>
  160. <!-- swagger2-->
  161. <dependency>
  162. <groupId>io.springfox</groupId>
  163. <artifactId>springfox-swagger2</artifactId>
  164. <version>${swagger.version}</version>
  165. <exclusions>
  166. <exclusion>
  167. <groupId>io.swagger</groupId>
  168. <artifactId>swagger-annotations</artifactId>
  169. </exclusion>
  170. <exclusion>
  171. <groupId>io.swagger</groupId>
  172. <artifactId>swagger-models</artifactId>
  173. </exclusion>
  174. </exclusions>
  175. </dependency>
  176. <!--防止进入swagger页面报类型转换错误,排除2.9.2中的引用,手动增加1.5.21版本-->
  177. <dependency>
  178. <groupId>io.swagger</groupId>
  179. <artifactId>swagger-annotations</artifactId>
  180. <version>1.5.21</version>
  181. </dependency>
  182. <dependency>
  183. <groupId>io.swagger</groupId>
  184. <artifactId>swagger-models</artifactId>
  185. <version>1.5.21</version>
  186. </dependency>
  187. <!-- swagger2-UI-->
  188. <dependency>
  189. <groupId>io.springfox</groupId>
  190. <artifactId>springfox-swagger-ui</artifactId>
  191. <version>${swagger.version}</version>
  192. </dependency>
  193. <!-- 获取系统信息 -->
  194. <dependency>
  195. <groupId>com.github.oshi</groupId>
  196. <artifactId>oshi-core</artifactId>
  197. <version>${oshi.version}</version>
  198. </dependency>
  199. <!--文件预览的依赖-->
  200. <!--jodconverter 核心包 -->
  201. <dependency>
  202. <groupId>org.jodconverter</groupId>
  203. <artifactId>jodconverter-core</artifactId>
  204. <version>4.2.2</version>
  205. </dependency>
  206. <!--springboot支持包,里面包括了自动配置类 -->
  207. <dependency>
  208. <groupId>org.jodconverter</groupId>
  209. <artifactId>jodconverter-spring-boot-starter</artifactId>
  210. <version>4.2.2</version>
  211. </dependency>
  212. <!--jodconverter 本地支持包 -->
  213. <dependency>
  214. <groupId>org.jodconverter</groupId>
  215. <artifactId>jodconverter-local</artifactId>
  216. <version>4.2.2</version>
  217. </dependency>
  218. <!--SVG包-->
  219. <dependency>
  220. <groupId>org.apache.xmlgraphics</groupId>
  221. <artifactId>batik-swing</artifactId>
  222. <version>1.13</version>
  223. </dependency>
  224. <!-- excel工具 -->
  225. <dependency>
  226. <groupId>org.apache.poi</groupId>
  227. <artifactId>poi-ooxml</artifactId>
  228. <!-- <version>${poi.version}</version>-->
  229. <version>4.1.2</version>
  230. </dependency>
  231. <dependency>
  232. <groupId>org.apache.poi</groupId>
  233. <artifactId>poi-scratchpad</artifactId>
  234. <version>4.1.2</version>
  235. </dependency>
  236. <dependency>
  237. <groupId>org.jxls</groupId>
  238. <artifactId>jxls</artifactId>
  239. <version>${jxls.version}</version>
  240. </dependency>
  241. <dependency>
  242. <groupId>org.jxls</groupId>
  243. <artifactId>jxls-poi</artifactId>
  244. <version>${jxls-poi.version}</version>
  245. </dependency>
  246. <!--velocity代码生成使用模板 -->
  247. <dependency>
  248. <groupId>org.apache.velocity</groupId>
  249. <artifactId>velocity</artifactId>
  250. <version>${velocity.version}</version>
  251. </dependency>
  252. <!-- 定时任务 -->
  253. <dependency>
  254. <groupId>org.quartz-scheduler</groupId>
  255. <artifactId>quartz</artifactId>
  256. <exclusions>
  257. <exclusion>
  258. <groupId>com.mchange</groupId>
  259. <artifactId>c3p0</artifactId>
  260. </exclusion>
  261. </exclusions>
  262. </dependency>
  263. <!--验证码 -->
  264. <dependency>
  265. <groupId>com.github.penggle</groupId>
  266. <artifactId>kaptcha</artifactId>
  267. <version>${kaptcha.version}</version>
  268. <exclusions>
  269. <exclusion>
  270. <artifactId>javax.servlet-api</artifactId>
  271. <groupId>javax.servlet</groupId>
  272. </exclusion>
  273. </exclusions>
  274. </dependency>
  275. <!--lombok-->
  276. <dependency>
  277. <groupId>org.projectlombok</groupId>
  278. <artifactId>lombok</artifactId>
  279. <version>${lombok.version}</version>
  280. </dependency>
  281. <!--mybatisplus-->
  282. <dependency>
  283. <groupId>com.baomidou</groupId>
  284. <artifactId>mybatis-plus-boot-starter</artifactId>
  285. <version>${mybatisplus.version}</version>
  286. <exclusions>
  287. <exclusion>
  288. <groupId>com.baomidou</groupId>
  289. <artifactId>mybatis-plus-generator</artifactId>
  290. </exclusion>
  291. </exclusions>
  292. </dependency>
  293. <dependency>
  294. <groupId>org.springframework.boot</groupId>
  295. <artifactId>spring-boot-starter-mail</artifactId>
  296. </dependency>
  297. <dependency>
  298. <groupId>com.github.ulisesbocchio</groupId>
  299. <artifactId>jasypt-spring-boot-starter</artifactId>
  300. <version>2.1.0</version>
  301. </dependency>
  302. <dependency>
  303. <groupId>org.apache.poi</groupId>
  304. <artifactId>poi</artifactId>
  305. <version>4.1.2</version>
  306. </dependency>
  307. <!--poi-tl-->
  308. <dependency>
  309. <groupId>com.deepoove</groupId>
  310. <artifactId>poi-tl</artifactId>
  311. <version>1.10.4</version>
  312. </dependency>
  313. <!--<dependency>
  314. <groupId>org.apache.poi</groupId>
  315. <artifactId>poi-ooxml</artifactId>
  316. <version>3.17</version>
  317. </dependency>-->
  318. <!--<dependency>
  319. <groupId>org.apache.poi</groupId>
  320. <artifactId>ooxml-schemas</artifactId>
  321. <version>1.1</version>
  322. </dependency>-->
  323. <!--审批流-->
  324. <dependency>
  325. <groupId>org.activiti</groupId>
  326. <artifactId>activiti-engine</artifactId>
  327. <version>6.0.0</version>
  328. <exclusions>
  329. <exclusion>
  330. <groupId>org.mybatis</groupId>
  331. <artifactId>mybatis</artifactId>
  332. </exclusion>
  333. </exclusions>
  334. </dependency>
  335. <dependency>
  336. <groupId>org.activiti</groupId>
  337. <artifactId>activiti-spring</artifactId>
  338. <version>6.0.0</version>
  339. </dependency>
  340. <dependency>
  341. <groupId>org.springframework.boot</groupId>
  342. <artifactId>spring-boot-test</artifactId>
  343. </dependency>
  344. <dependency>
  345. <groupId>org.junit.jupiter</groupId>
  346. <artifactId>junit-jupiter</artifactId>
  347. <version>RELEASE</version>
  348. <scope>compile</scope>
  349. </dependency>
  350. <!--framework-->
  351. <dependency>
  352. <groupId>org.springframework.boot</groupId>
  353. <artifactId>spring-boot-starter-freemarker</artifactId>
  354. <version>2.3.12.RELEASE</version>
  355. </dependency>
  356. <dependency>
  357. <groupId>com.itextpdf</groupId>
  358. <artifactId>itextpdf</artifactId>
  359. <version>5.4.2</version>
  360. </dependency>
  361. <dependency>
  362. <groupId>com.itextpdf.tool</groupId>
  363. <artifactId>xmlworker</artifactId>
  364. <version>5.4.1</version>
  365. </dependency>
  366. <dependency>
  367. <groupId>com.itextpdf</groupId>
  368. <artifactId>itext-asian</artifactId>
  369. <version>5.2.0</version>
  370. </dependency>
  371. <dependency>
  372. <groupId>org.xhtmlrenderer</groupId>
  373. <artifactId>flying-saucer-pdf</artifactId>
  374. <version>9.0.3</version>
  375. </dependency>
  376. <!--jpinyin-->
  377. <dependency>
  378. <groupId>com.github.stuxuhai</groupId>
  379. <artifactId>jpinyin</artifactId>
  380. <version>1.1.8</version>
  381. </dependency>
  382. <!-- jfreechart -->
  383. <dependency>
  384. <groupId>org.jfree</groupId>
  385. <artifactId>jfreechart</artifactId>
  386. <version>1.5.0</version>
  387. </dependency>
  388. <!-- pinyin4j 汉语转拼音 -->
  389. <dependency>
  390. <groupId>com.belerweb</groupId>
  391. <artifactId>pinyin4j</artifactId>
  392. <version>2.5.1</version>
  393. </dependency>
  394. <!-- log4j日志组件 -->
  395. <dependency>
  396. <groupId>org.apache.logging.log4j</groupId>
  397. <artifactId>log4j-api</artifactId>
  398. <version>${log4j2.version}</version>
  399. </dependency>
  400. <dependency>
  401. <groupId>org.apache.logging.log4j</groupId>
  402. <artifactId>log4j-to-slf4j</artifactId>
  403. <version>${log4j2.version}</version>
  404. </dependency>
  405. <dependency>
  406. <groupId>org.apache.pdfbox</groupId>
  407. <artifactId>pdfbox</artifactId>
  408. <version>2.0.4</version>
  409. </dependency>
  410. <!--http-->
  411. <dependency>
  412. <groupId>org.apache.httpcomponents</groupId>
  413. <artifactId>httpcore</artifactId>
  414. <version>4.4.9</version>
  415. </dependency>
  416. <dependency>
  417. <groupId>org.apache.httpcomponents</groupId>
  418. <artifactId>httpclient</artifactId>
  419. <version>4.5.13</version>
  420. </dependency>
  421. <dependency>
  422. <groupId>org.apache.httpcomponents</groupId>
  423. <artifactId>httpmime</artifactId>
  424. <version>4.5.12</version>
  425. </dependency>
  426. <dependency>
  427. <groupId>io.github.jpush</groupId>
  428. <artifactId>jiguang-sdk</artifactId>
  429. <version>5.0.4</version>
  430. <exclusions>
  431. <exclusion>
  432. <groupId>org.jetbrains.kotlin</groupId>
  433. <artifactId>kotlin-stdlib</artifactId>
  434. </exclusion>
  435. </exclusions>
  436. </dependency>
  437. <dependency>
  438. <groupId>org.jetbrains.kotlin</groupId>
  439. <artifactId>kotlin-stdlib</artifactId>
  440. <version>1.5.31</version> <!-- 或最新版本 -->
  441. </dependency>
  442. <dependency>
  443. <groupId>com.PolarDB</groupId>
  444. <artifactId>my-PolarDB-jar</artifactId>
  445. <version>1.0.0</version>
  446. <scope>system</scope>
  447. <systemPath>${project.basedir}/src/main/resources/lib/PolarDB-JDBC-42.5.4.0.10.5-jre8.jar</systemPath>
  448. </dependency>
  449. </dependencies>
  450. <build>
  451. <finalName>${project.artifactId}</finalName>
  452. <plugins>
  453. <plugin>
  454. <groupId>org.springframework.boot</groupId>
  455. <artifactId>spring-boot-maven-plugin</artifactId>
  456. <configuration>
  457. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  458. <includeSystemScope>true</includeSystemScope>
  459. </configuration>
  460. </plugin>
  461. </plugins>
  462. </build>
  463. <repositories>
  464. <!--阿里云镜像仓库-->
  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. <!--oracle驱动没有发布到中央仓库,只能从此仓库下载-->
  474. <repository>
  475. <id>jeecg</id>
  476. <name>jeecg Repository</name>
  477. <url>http://maven.jeewx.com/nexus/content/repositories/jeecg</url>
  478. <snapshots>
  479. <enabled>false</enabled>
  480. </snapshots>
  481. </repository>
  482. </repositories>
  483. <pluginRepositories>
  484. <pluginRepository>
  485. <id>public</id>
  486. <name>aliyun nexus</name>
  487. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  488. <releases>
  489. <enabled>true</enabled>
  490. </releases>
  491. <snapshots>
  492. <enabled>false</enabled>
  493. </snapshots>
  494. </pluginRepository>
  495. </pluginRepositories>
  496. </project>