pom.xml 17 KB

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