pom.xml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440
  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. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <artifactId>kkFileView-parent</artifactId>
  8. <groupId>cn.keking</groupId>
  9. <version>4.4.0-beta</version>
  10. </parent>
  11. <artifactId>kkFileView</artifactId>
  12. <dependencyManagement>
  13. <dependencies>
  14. <dependency>
  15. <groupId>org.springframework.boot</groupId>
  16. <artifactId>spring-boot-dependencies</artifactId>
  17. <version>${spring.boot.version}</version>
  18. <scope>import</scope>
  19. <type>pom</type>
  20. </dependency>
  21. </dependencies>
  22. </dependencyManagement>
  23. <repositories>
  24. <repository>
  25. <id>aspose-maven-repository</id>
  26. <url>https://repository.aspose.com/repo</url>
  27. <snapshots>
  28. <enabled>false</enabled>
  29. </snapshots>
  30. </repository>
  31. <repository>
  32. <id>alimaven</id>
  33. <name>aliyun maven</name>
  34. <url>https://maven.aliyun.com/repository/public/</url>
  35. <snapshots>
  36. <enabled>false</enabled>
  37. </snapshots>
  38. </repository>
  39. <repository>
  40. <id>platomix-release</id>
  41. <name>NexusReleases</name>
  42. <url>http://windata.platomix.net/nexus/repository/maven-public/</url>
  43. </repository>
  44. </repositories>
  45. <dependencies>
  46. <dependency>
  47. <groupId>com.platomix</groupId>
  48. <artifactId>platomix-gmetry-framework</artifactId>
  49. <version>2.2.8</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.jodconverter</groupId>
  53. <artifactId>jodconverter-local</artifactId>
  54. <version>${jodconverter.version}</version>
  55. </dependency>
  56. <!-- web start -->
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-web</artifactId>
  60. <exclusions>
  61. <exclusion>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-tomcat</artifactId>
  64. </exclusion>
  65. </exclusions>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-jetty</artifactId>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter-freemarker</artifactId>
  74. </dependency>
  75. <!-- web end -->
  76. <!-- poi start -->
  77. <dependency>
  78. <groupId>org.apache.poi</groupId>
  79. <artifactId>poi</artifactId>
  80. <version>${poi.version}</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.apache.poi</groupId>
  84. <artifactId>poi-scratchpad</artifactId>
  85. <version>${poi.version}</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.apache.poi</groupId>
  89. <artifactId>poi-ooxml</artifactId>
  90. <version>${poi.version}</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>fr.opensagres.xdocreport</groupId>
  94. <artifactId>org.apache.poi.xwpf.converter.core</artifactId>
  95. <version>${xdocreport.version}</version>
  96. <exclusions>
  97. <exclusion>
  98. <artifactId>poi</artifactId>
  99. <groupId>org.apache.poi</groupId>
  100. </exclusion>
  101. </exclusions>
  102. </dependency>
  103. <dependency>
  104. <groupId>fr.opensagres.xdocreport</groupId>
  105. <artifactId>org.apache.poi.xwpf.converter.xhtml</artifactId>
  106. <version>${xdocreport.version}</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>fr.opensagres.xdocreport</groupId>
  110. <artifactId>fr.opensagres.xdocreport.document</artifactId>
  111. <version>${xdocreport.version}</version>
  112. </dependency>
  113. <!-- poi start -->
  114. <dependency>
  115. <groupId>org.apache.httpcomponents</groupId>
  116. <artifactId>httpclient</artifactId>
  117. <version>${httpcomponents.version}</version>
  118. </dependency>
  119. <!-- 对 rar5 的支持 和其他众多压缩支持 可参考 package net.sf.sevenzipjbinding.ArchiveFormat; -->
  120. <dependency>
  121. <groupId>net.sf.sevenzipjbinding</groupId>
  122. <artifactId>sevenzipjbinding</artifactId>
  123. <version>${sevenzipjbinding.version}</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>net.sf.sevenzipjbinding</groupId>
  127. <artifactId>sevenzipjbinding-all-platforms</artifactId>
  128. <version>${sevenzipjbinding.version}</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.apache.commons</groupId>
  132. <artifactId>commons-lang3</artifactId>
  133. <version>${commons-lang3.version}</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.redisson</groupId>
  137. <artifactId>redisson</artifactId>
  138. <version>${redisson.version}</version>
  139. </dependency>
  140. <!-- 编码检测-JUniversalCharDet-->
  141. <dependency>
  142. <groupId>com.googlecode.juniversalchardet</groupId>
  143. <artifactId>juniversalchardet</artifactId>
  144. <version>${juniversalchardet.version}</version>
  145. </dependency>
  146. <!-- 解压(rar)-->
  147. <dependency>
  148. <groupId>com.github.junrar</groupId>
  149. <artifactId>junrar</artifactId>
  150. <version>${junrar.version}</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>net.sourceforge.jchardet</groupId>
  154. <artifactId>jchardet</artifactId>
  155. <version>${jchardet.version}</version>
  156. </dependency>
  157. <dependency>
  158. <groupId>antlr</groupId>
  159. <artifactId>antlr</artifactId>
  160. <version>${antlr.version}</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>commons-cli</groupId>
  164. <artifactId>commons-cli</artifactId>
  165. <version>${commons-cli.version}</version>
  166. </dependency>
  167. <!-- FTP -->
  168. <dependency>
  169. <groupId>commons-net</groupId>
  170. <artifactId>commons-net</artifactId>
  171. <version>${commons-net.version}</version>
  172. </dependency>
  173. <dependency>
  174. <groupId>com.thoughtworks.xstream</groupId>
  175. <artifactId>xstream</artifactId>
  176. <version>${xstream.version}</version>
  177. </dependency>
  178. <dependency>
  179. <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
  180. <artifactId>concurrentlinkedhashmap-lru</artifactId>
  181. <version>${concurrentlinkedhashmap.version}</version>
  182. </dependency>
  183. <dependency>
  184. <groupId>org.rocksdb</groupId>
  185. <artifactId>rocksdbjni</artifactId>
  186. <version>${rocksdb.version}</version>
  187. </dependency>
  188. <dependency>
  189. <groupId>org.apache.pdfbox</groupId>
  190. <artifactId>pdfbox</artifactId>
  191. <version>${pdfbox.version}</version>
  192. </dependency>
  193. <dependency>
  194. <groupId>org.apache.pdfbox</groupId>
  195. <artifactId>pdfbox-tools</artifactId>
  196. <version>${pdfbox.version}</version>
  197. </dependency>
  198. <dependency>
  199. <groupId>com.github.jai-imageio</groupId>
  200. <artifactId>jai-imageio-jpeg2000</artifactId>
  201. <version>${jai-imageio.version}</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>com.github.jai-imageio</groupId>
  205. <artifactId>jai-imageio-core</artifactId>
  206. <version>${jai-imageio.version}</version>
  207. </dependency>
  208. <dependency>
  209. <groupId>org.apache.pdfbox</groupId>
  210. <artifactId>jbig2-imageio</artifactId>
  211. <version>${jbig2-imageio.version}</version>
  212. </dependency>
  213. <dependency>
  214. <groupId>com.aspose</groupId>
  215. <artifactId>aspose-cad</artifactId>
  216. <version>${aspose-cad.version}</version>
  217. </dependency>
  218. <!-- 密钥算法 -->
  219. <dependency>
  220. <groupId>org.bouncycastle</groupId>
  221. <artifactId>bcprov-jdk15on</artifactId>
  222. <version>${bcprov-jdk15on.version}</version>
  223. </dependency>
  224. <!-- url 规范化 -->
  225. <dependency>
  226. <groupId>io.mola.galimatias</groupId>
  227. <artifactId>galimatias</artifactId>
  228. <version>${galimatias.version}</version>
  229. </dependency>
  230. <!-- 以下是bytedeco 基于opencv ffmpeg封装的javacv,用于视频处理 -->
  231. <dependency>
  232. <groupId>org.bytedeco</groupId>
  233. <artifactId>javacv</artifactId>
  234. <version>${bytedeco.version}</version>
  235. </dependency>
  236. <dependency>
  237. <groupId>org.bytedeco</groupId>
  238. <artifactId>javacpp</artifactId>
  239. <version>${bytedeco.version}</version>
  240. </dependency>
  241. <!-- 此版本中主要兼容linux和windows系统,如需兼容其他系统平台,请引入对应依赖即可 -->
  242. <dependency>
  243. <groupId>org.bytedeco</groupId>
  244. <artifactId>opencv</artifactId>
  245. <version>${opencv.version}</version>
  246. <classifier>linux-x86_64</classifier>
  247. </dependency>
  248. <dependency>
  249. <groupId>org.bytedeco</groupId>
  250. <artifactId>opencv</artifactId>
  251. <version>${opencv.version}</version>
  252. <classifier>windows-x86_64</classifier>
  253. </dependency>
  254. <dependency>
  255. <groupId>org.bytedeco</groupId>
  256. <artifactId>openblas</artifactId>
  257. <version>${openblas.version}</version>
  258. <classifier>linux-x86_64</classifier>
  259. </dependency>
  260. <dependency>
  261. <groupId>org.bytedeco</groupId>
  262. <artifactId>openblas</artifactId>
  263. <version>${openblas.version}</version>
  264. <classifier>windows-x86_64</classifier>
  265. </dependency>
  266. <dependency>
  267. <groupId>org.bytedeco</groupId>
  268. <artifactId>ffmpeg</artifactId>
  269. <version>${ffmpeg.version}</version>
  270. <classifier>linux-x86_64</classifier>
  271. </dependency>
  272. <dependency>
  273. <groupId>org.bytedeco</groupId>
  274. <artifactId>ffmpeg</artifactId>
  275. <version>${ffmpeg.version}</version>
  276. <classifier>windows-x86_64</classifier>
  277. </dependency>
  278. <dependency>
  279. <groupId>com.itextpdf</groupId>
  280. <artifactId>itextpdf</artifactId>
  281. <version>${itextpdf.version}</version>
  282. </dependency>
  283. <dependency>
  284. <groupId>javax.media</groupId>
  285. <artifactId>jai_core</artifactId>
  286. <version>1.1.3</version>
  287. <scope>system</scope>
  288. <systemPath>${pom.basedir}/lib/jai_core-1.1.3.jar</systemPath>
  289. </dependency>
  290. <dependency>
  291. <groupId>javax.media</groupId>
  292. <artifactId>jai_codec</artifactId>
  293. <version>1.1.3</version>
  294. <scope>system</scope>
  295. <systemPath>${pom.basedir}/lib/jai_codec-1.1.3.jar</systemPath>
  296. </dependency>
  297. <!-- test dependency - start -->
  298. <dependency>
  299. <groupId>org.springframework.boot</groupId>
  300. <artifactId>spring-boot-starter-test</artifactId>
  301. <scope>test</scope>
  302. </dependency>
  303. <dependency>
  304. <groupId>commons-httpclient</groupId>
  305. <artifactId>commons-httpclient</artifactId>
  306. <version>${httpclient.version}</version>
  307. <scope>test</scope>
  308. <exclusions>
  309. <exclusion>
  310. <artifactId>commons-logging</artifactId>
  311. <groupId>commons-logging</groupId>
  312. </exclusion>
  313. </exclusions>
  314. </dependency>
  315. <!-- test dependency - end -->
  316. <!--转pdf-->
  317. <dependency>
  318. <groupId>com.documents4j</groupId>
  319. <artifactId>documents4j-local</artifactId>
  320. <version>1.0.3</version>
  321. </dependency>
  322. <dependency>
  323. <groupId>com.documents4j</groupId>
  324. <artifactId>documents4j-transformer-msoffice-word</artifactId>
  325. <version>1.0.3</version>
  326. </dependency>
  327. <dependency>
  328. <groupId>com.itextpdf</groupId>
  329. <artifactId>itextpdf</artifactId>
  330. <version>5.5.10</version>
  331. </dependency>
  332. <!-- test - end -->
  333. <dependency>
  334. <groupId>org.apache.directory.studio</groupId>
  335. <artifactId>org.apache.commons.io</artifactId>
  336. <version>2.4</version>
  337. </dependency>
  338. <!-- <dependency>-->
  339. <!-- <groupId>com.artofsolving</groupId>-->
  340. <!-- <artifactId>jodconverter</artifactId>-->
  341. <!-- <version>2.2.1</version>-->
  342. <!-- </dependency>-->
  343. <!-- https://mvnrepository.com/artifact/org.jodconverter/jodconverter-local -->
  344. <dependency>
  345. <groupId>org.jodconverter</groupId>
  346. <artifactId>jodconverter-local</artifactId>
  347. <version>4.4.8</version>
  348. </dependency>
  349. <dependency>
  350. <groupId>org.openoffice</groupId>
  351. <artifactId>juh</artifactId>
  352. <version>3.1.0</version>
  353. </dependency>
  354. <dependency>
  355. <groupId>org.openoffice</groupId>
  356. <artifactId>unoil</artifactId>
  357. <version>3.0.0</version>
  358. </dependency>
  359. <dependency>
  360. <groupId>org.projectlombok</groupId>
  361. <artifactId>lombok</artifactId>
  362. <scope>provided</scope>
  363. </dependency>
  364. </dependencies>
  365. <build>
  366. <resources>
  367. <resource>
  368. <directory>src/main/resources</directory>
  369. <includes>
  370. <include>**/*</include>
  371. </includes>
  372. <filtering>false</filtering>
  373. </resource>
  374. <resource>
  375. <directory>src/main/config</directory>
  376. <filtering>true</filtering>
  377. </resource>
  378. </resources>
  379. <plugins>
  380. <plugin>
  381. <groupId>org.springframework.boot</groupId>
  382. <artifactId>spring-boot-maven-plugin</artifactId>
  383. <version>${spring.boot.version}</version>
  384. <configuration>
  385. <includeSystemScope>true</includeSystemScope>
  386. </configuration>
  387. <executions>
  388. <execution>
  389. <goals>
  390. <goal>repackage</goal>
  391. </goals>
  392. </execution>
  393. </executions>
  394. </plugin>
  395. <plugin>
  396. <groupId>org.apache.maven.plugins</groupId>
  397. <artifactId>maven-assembly-plugin</artifactId>
  398. <version>3.4.2</version>
  399. <configuration>
  400. <appendAssemblyId>false</appendAssemblyId>
  401. <descriptors>
  402. <descriptor>src/main/assembly/dist-win32.xml</descriptor>
  403. <descriptor>src/main/assembly/dist-linux.xml</descriptor>
  404. </descriptors>
  405. </configuration>
  406. <executions>
  407. <execution>
  408. <id>make-assembly</id>
  409. <phase>package</phase>
  410. <goals>
  411. <goal>single</goal>
  412. </goals>
  413. </execution>
  414. </executions>
  415. </plugin>
  416. </plugins>
  417. </build>
  418. </project>