pom.xml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516
  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>war</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. <!--文件上传工具类 -->
  121. <dependency>
  122. <groupId>commons-fileupload</groupId>
  123. <artifactId>commons-fileupload</artifactId>
  124. <version>${commons.fileupload.version}</version>
  125. </dependency>
  126. <!-- 解析客户端操作系统、浏览器等 -->
  127. <dependency>
  128. <groupId>eu.bitwalker</groupId>
  129. <artifactId>UserAgentUtils</artifactId>
  130. <version>${bitwalker.version}</version>
  131. </dependency>
  132. <!-- 阿里JSON解析器 -->
  133. <dependency>
  134. <groupId>com.alibaba</groupId>
  135. <artifactId>fastjson</artifactId>
  136. <version>${fastjson.version}</version>
  137. </dependency>
  138. <!--Spring框架基本的核心工具-->
  139. <dependency>
  140. <groupId>org.springframework</groupId>
  141. <artifactId>spring-context-support</artifactId>
  142. </dependency>
  143. <!--Token生成与解析-->
  144. <dependency>
  145. <groupId>io.jsonwebtoken</groupId>
  146. <artifactId>jjwt</artifactId>
  147. <version>${jwt.version}</version>
  148. </dependency>
  149. <!-- swagger2-->
  150. <dependency>
  151. <groupId>io.springfox</groupId>
  152. <artifactId>springfox-swagger2</artifactId>
  153. <version>${swagger.version}</version>
  154. <exclusions>
  155. <exclusion>
  156. <groupId>io.swagger</groupId>
  157. <artifactId>swagger-annotations</artifactId>
  158. </exclusion>
  159. <exclusion>
  160. <groupId>io.swagger</groupId>
  161. <artifactId>swagger-models</artifactId>
  162. </exclusion>
  163. </exclusions>
  164. </dependency>
  165. <!--防止进入swagger页面报类型转换错误,排除2.9.2中的引用,手动增加1.5.21版本-->
  166. <dependency>
  167. <groupId>io.swagger</groupId>
  168. <artifactId>swagger-annotations</artifactId>
  169. <version>1.5.21</version>
  170. </dependency>
  171. <dependency>
  172. <groupId>io.swagger</groupId>
  173. <artifactId>swagger-models</artifactId>
  174. <version>1.5.21</version>
  175. </dependency>
  176. <!-- swagger2-UI-->
  177. <dependency>
  178. <groupId>io.springfox</groupId>
  179. <artifactId>springfox-swagger-ui</artifactId>
  180. <version>${swagger.version}</version>
  181. </dependency>
  182. <!-- 获取系统信息 -->
  183. <dependency>
  184. <groupId>com.github.oshi</groupId>
  185. <artifactId>oshi-core</artifactId>
  186. <version>${oshi.version}</version>
  187. </dependency>
  188. <!--文件预览的依赖-->
  189. <!--jodconverter 核心包 -->
  190. <dependency>
  191. <groupId>org.jodconverter</groupId>
  192. <artifactId>jodconverter-core</artifactId>
  193. <version>4.2.2</version>
  194. </dependency>
  195. <!--springboot支持包,里面包括了自动配置类 -->
  196. <dependency>
  197. <groupId>org.jodconverter</groupId>
  198. <artifactId>jodconverter-spring-boot-starter</artifactId>
  199. <version>4.2.2</version>
  200. </dependency>
  201. <!--jodconverter 本地支持包 -->
  202. <dependency>
  203. <groupId>org.jodconverter</groupId>
  204. <artifactId>jodconverter-local</artifactId>
  205. <version>4.2.2</version>
  206. </dependency>
  207. <!--SVG包-->
  208. <dependency>
  209. <groupId>org.apache.xmlgraphics</groupId>
  210. <artifactId>batik-swing</artifactId>
  211. <version>1.13</version>
  212. </dependency>
  213. <!-- excel工具 -->
  214. <dependency>
  215. <groupId>org.apache.poi</groupId>
  216. <artifactId>poi-ooxml</artifactId>
  217. <!-- <version>${poi.version}</version>-->
  218. <version>4.1.2</version>
  219. </dependency>
  220. <dependency>
  221. <groupId>org.apache.poi</groupId>
  222. <artifactId>poi-scratchpad</artifactId>
  223. <version>4.1.2</version>
  224. </dependency>
  225. <dependency>
  226. <groupId>org.jxls</groupId>
  227. <artifactId>jxls</artifactId>
  228. <version>${jxls.version}</version>
  229. </dependency>
  230. <dependency>
  231. <groupId>org.jxls</groupId>
  232. <artifactId>jxls-poi</artifactId>
  233. <version>${jxls-poi.version}</version>
  234. </dependency>
  235. <!--velocity代码生成使用模板 -->
  236. <dependency>
  237. <groupId>org.apache.velocity</groupId>
  238. <artifactId>velocity</artifactId>
  239. <version>${velocity.version}</version>
  240. </dependency>
  241. <!-- 定时任务 -->
  242. <dependency>
  243. <groupId>org.quartz-scheduler</groupId>
  244. <artifactId>quartz</artifactId>
  245. <exclusions>
  246. <exclusion>
  247. <groupId>com.mchange</groupId>
  248. <artifactId>c3p0</artifactId>
  249. </exclusion>
  250. </exclusions>
  251. </dependency>
  252. <!--验证码 -->
  253. <dependency>
  254. <groupId>com.github.penggle</groupId>
  255. <artifactId>kaptcha</artifactId>
  256. <version>${kaptcha.version}</version>
  257. <exclusions>
  258. <exclusion>
  259. <artifactId>javax.servlet-api</artifactId>
  260. <groupId>javax.servlet</groupId>
  261. </exclusion>
  262. </exclusions>
  263. </dependency>
  264. <!--lombok-->
  265. <dependency>
  266. <groupId>org.projectlombok</groupId>
  267. <artifactId>lombok</artifactId>
  268. <version>${lombok.version}</version>
  269. </dependency>
  270. <!--mybatisplus-->
  271. <dependency>
  272. <groupId>com.baomidou</groupId>
  273. <artifactId>mybatis-plus-boot-starter</artifactId>
  274. <version>${mybatisplus.version}</version>
  275. <exclusions>
  276. <exclusion>
  277. <groupId>com.baomidou</groupId>
  278. <artifactId>mybatis-plus-generator</artifactId>
  279. </exclusion>
  280. </exclusions>
  281. </dependency>
  282. <dependency>
  283. <groupId>org.springframework.boot</groupId>
  284. <artifactId>spring-boot-starter-mail</artifactId>
  285. </dependency>
  286. <dependency>
  287. <groupId>com.github.ulisesbocchio</groupId>
  288. <artifactId>jasypt-spring-boot-starter</artifactId>
  289. <version>2.1.0</version>
  290. </dependency>
  291. <dependency>
  292. <groupId>org.apache.poi</groupId>
  293. <artifactId>poi</artifactId>
  294. <version>4.1.2</version>
  295. </dependency>
  296. <!--poi-tl-->
  297. <dependency>
  298. <groupId>com.deepoove</groupId>
  299. <artifactId>poi-tl</artifactId>
  300. <version>1.10.4</version>
  301. </dependency>
  302. <!--<dependency>
  303. <groupId>org.apache.poi</groupId>
  304. <artifactId>poi-ooxml</artifactId>
  305. <version>3.17</version>
  306. </dependency>-->
  307. <!--<dependency>
  308. <groupId>org.apache.poi</groupId>
  309. <artifactId>ooxml-schemas</artifactId>
  310. <version>1.1</version>
  311. </dependency>-->
  312. <!--审批流-->
  313. <dependency>
  314. <groupId>org.activiti</groupId>
  315. <artifactId>activiti-engine</artifactId>
  316. <version>6.0.0</version>
  317. <exclusions>
  318. <exclusion>
  319. <groupId>org.mybatis</groupId>
  320. <artifactId>mybatis</artifactId>
  321. </exclusion>
  322. </exclusions>
  323. </dependency>
  324. <dependency>
  325. <groupId>org.activiti</groupId>
  326. <artifactId>activiti-spring</artifactId>
  327. <version>6.0.0</version>
  328. </dependency>
  329. <dependency>
  330. <groupId>org.springframework.boot</groupId>
  331. <artifactId>spring-boot-test</artifactId>
  332. </dependency>
  333. <dependency>
  334. <groupId>org.junit.jupiter</groupId>
  335. <artifactId>junit-jupiter</artifactId>
  336. <version>RELEASE</version>
  337. <scope>compile</scope>
  338. </dependency>
  339. <!--framework-->
  340. <dependency>
  341. <groupId>org.springframework.boot</groupId>
  342. <artifactId>spring-boot-starter-freemarker</artifactId>
  343. <version>2.3.12.RELEASE</version>
  344. </dependency>
  345. <dependency>
  346. <groupId>com.itextpdf</groupId>
  347. <artifactId>itextpdf</artifactId>
  348. <version>5.4.2</version>
  349. </dependency>
  350. <dependency>
  351. <groupId>com.itextpdf.tool</groupId>
  352. <artifactId>xmlworker</artifactId>
  353. <version>5.4.1</version>
  354. </dependency>
  355. <dependency>
  356. <groupId>com.itextpdf</groupId>
  357. <artifactId>itext-asian</artifactId>
  358. <version>5.2.0</version>
  359. </dependency>
  360. <dependency>
  361. <groupId>org.xhtmlrenderer</groupId>
  362. <artifactId>flying-saucer-pdf</artifactId>
  363. <version>9.0.3</version>
  364. </dependency>
  365. <!--jpinyin-->
  366. <dependency>
  367. <groupId>com.github.stuxuhai</groupId>
  368. <artifactId>jpinyin</artifactId>
  369. <version>1.1.8</version>
  370. </dependency>
  371. <!-- jfreechart -->
  372. <dependency>
  373. <groupId>org.jfree</groupId>
  374. <artifactId>jfreechart</artifactId>
  375. <version>1.5.0</version>
  376. </dependency>
  377. <!-- pinyin4j 汉语转拼音 -->
  378. <dependency>
  379. <groupId>com.belerweb</groupId>
  380. <artifactId>pinyin4j</artifactId>
  381. <version>2.5.1</version>
  382. </dependency>
  383. <!-- log4j日志组件 -->
  384. <dependency>
  385. <groupId>org.apache.logging.log4j</groupId>
  386. <artifactId>log4j-api</artifactId>
  387. <version>${log4j2.version}</version>
  388. </dependency>
  389. <dependency>
  390. <groupId>org.apache.logging.log4j</groupId>
  391. <artifactId>log4j-to-slf4j</artifactId>
  392. <version>${log4j2.version}</version>
  393. </dependency>
  394. <dependency>
  395. <groupId>org.apache.pdfbox</groupId>
  396. <artifactId>pdfbox</artifactId>
  397. <version>2.0.4</version>
  398. </dependency>
  399. <!--http-->
  400. <dependency>
  401. <groupId>org.apache.httpcomponents</groupId>
  402. <artifactId>httpcore</artifactId>
  403. <version>4.4.9</version>
  404. </dependency>
  405. <dependency>
  406. <groupId>org.apache.httpcomponents</groupId>
  407. <artifactId>httpclient</artifactId>
  408. <version>4.5.13</version>
  409. </dependency>
  410. <dependency>
  411. <groupId>org.apache.httpcomponents</groupId>
  412. <artifactId>httpmime</artifactId>
  413. <version>4.5.12</version>
  414. </dependency>
  415. </dependencies>
  416. <build>
  417. <finalName>${project.artifactId}</finalName>
  418. <plugins>
  419. <plugin>
  420. <groupId>org.springframework.boot</groupId>
  421. <artifactId>spring-boot-maven-plugin</artifactId>
  422. <configuration>
  423. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  424. </configuration>
  425. </plugin>
  426. </plugins>
  427. </build>
  428. <repositories>
  429. <!--阿里云镜像仓库-->
  430. <repository>
  431. <id>public</id>
  432. <name>aliyun nexus</name>
  433. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  434. <releases>
  435. <enabled>true</enabled>
  436. </releases>
  437. </repository>
  438. <!--oracle驱动没有发布到中央仓库,只能从此仓库下载-->
  439. <repository>
  440. <id>jeecg</id>
  441. <name>jeecg Repository</name>
  442. <url>http://maven.jeewx.com/nexus/content/repositories/jeecg</url>
  443. <snapshots>
  444. <enabled>false</enabled>
  445. </snapshots>
  446. </repository>
  447. </repositories>
  448. <pluginRepositories>
  449. <pluginRepository>
  450. <id>public</id>
  451. <name>aliyun nexus</name>
  452. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  453. <releases>
  454. <enabled>true</enabled>
  455. </releases>
  456. <snapshots>
  457. <enabled>false</enabled>
  458. </snapshots>
  459. </pluginRepository>
  460. </pluginRepositories>
  461. </project>