pom.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385
  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</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. </repositories>
  32. <dependencies>
  33. <dependency>
  34. <groupId>org.jodconverter</groupId>
  35. <artifactId>jodconverter-local</artifactId>
  36. <version>${jodconverter.version}</version>
  37. </dependency>
  38. <!-- web start -->
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-web</artifactId>
  42. </dependency>
  43. <!--<dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-jetty</artifactId>
  46. </dependency>-->
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-freemarker</artifactId>
  50. </dependency>
  51. <!-- web end -->
  52. <!-- poi start -->
  53. <dependency>
  54. <groupId>org.apache.poi</groupId>
  55. <artifactId>poi</artifactId>
  56. <version>${poi.version}</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.apache.poi</groupId>
  60. <artifactId>poi-scratchpad</artifactId>
  61. <version>${poi.version}</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.apache.poi</groupId>
  65. <artifactId>poi-ooxml</artifactId>
  66. <version>${poi.version}</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>fr.opensagres.xdocreport</groupId>
  70. <artifactId>org.apache.poi.xwpf.converter.core</artifactId>
  71. <version>${xdocreport.version}</version>
  72. <exclusions>
  73. <exclusion>
  74. <artifactId>poi</artifactId>
  75. <groupId>org.apache.poi</groupId>
  76. </exclusion>
  77. </exclusions>
  78. </dependency>
  79. <dependency>
  80. <groupId>fr.opensagres.xdocreport</groupId>
  81. <artifactId>org.apache.poi.xwpf.converter.xhtml</artifactId>
  82. <version>${xdocreport.version}</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>fr.opensagres.xdocreport</groupId>
  86. <artifactId>fr.opensagres.xdocreport.document</artifactId>
  87. <version>${xdocreport.version}</version>
  88. </dependency>
  89. <!-- poi start -->
  90. <dependency>
  91. <groupId>org.apache.httpcomponents</groupId>
  92. <artifactId>httpclient</artifactId>
  93. <version>${httpcomponents.version}</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.apache.httpcomponents.client5</groupId>
  97. <artifactId>httpclient5</artifactId>
  98. <version>${httpclient5.version}</version>
  99. </dependency>
  100. <!-- 对 rar5 的支持 和其他众多压缩支持 可参考 package net.sf.sevenzipjbinding.ArchiveFormat; -->
  101. <dependency>
  102. <groupId>net.sf.sevenzipjbinding</groupId>
  103. <artifactId>sevenzipjbinding</artifactId>
  104. <version>${sevenzipjbinding.version}</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>net.sf.sevenzipjbinding</groupId>
  108. <artifactId>sevenzipjbinding-all-platforms</artifactId>
  109. <version>${sevenzipjbinding.version}</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.apache.commons</groupId>
  113. <artifactId>commons-lang3</artifactId>
  114. <version>${commons-lang3.version}</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.redisson</groupId>
  118. <artifactId>redisson</artifactId>
  119. <version>${redisson.version}</version>
  120. </dependency>
  121. <!-- 编码检测-JUniversalCharDet-->
  122. <dependency>
  123. <groupId>com.googlecode.juniversalchardet</groupId>
  124. <artifactId>juniversalchardet</artifactId>
  125. <version>${juniversalchardet.version}</version>
  126. </dependency>
  127. <!-- 解压(rar)-->
  128. <dependency>
  129. <groupId>com.github.junrar</groupId>
  130. <artifactId>junrar</artifactId>
  131. <version>${junrar.version}</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>net.sourceforge.jchardet</groupId>
  135. <artifactId>jchardet</artifactId>
  136. <version>${jchardet.version}</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>antlr</groupId>
  140. <artifactId>antlr</artifactId>
  141. <version>${antlr.version}</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>commons-cli</groupId>
  145. <artifactId>commons-cli</artifactId>
  146. <version>${commons-cli.version}</version>
  147. </dependency>
  148. <!-- FTP -->
  149. <dependency>
  150. <groupId>commons-net</groupId>
  151. <artifactId>commons-net</artifactId>
  152. <version>${commons-net.version}</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>com.thoughtworks.xstream</groupId>
  156. <artifactId>xstream</artifactId>
  157. <version>${xstream.version}</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
  161. <artifactId>concurrentlinkedhashmap-lru</artifactId>
  162. <version>${concurrentlinkedhashmap.version}</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.rocksdb</groupId>
  166. <artifactId>rocksdbjni</artifactId>
  167. <version>${rocksdb.version}</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>org.apache.pdfbox</groupId>
  171. <artifactId>pdfbox</artifactId>
  172. <version>${pdfbox.version}</version>
  173. </dependency>
  174. <dependency>
  175. <groupId>org.apache.pdfbox</groupId>
  176. <artifactId>pdfbox-tools</artifactId>
  177. <version>${pdfbox.version}</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>com.github.jai-imageio</groupId>
  181. <artifactId>jai-imageio-jpeg2000</artifactId>
  182. <version>${jai-imageio.version}</version>
  183. </dependency>
  184. <dependency>
  185. <groupId>com.github.jai-imageio</groupId>
  186. <artifactId>jai-imageio-core</artifactId>
  187. <version>${jai-imageio.version}</version>
  188. </dependency>
  189. <dependency>
  190. <groupId>org.apache.pdfbox</groupId>
  191. <artifactId>jbig2-imageio</artifactId>
  192. <version>${jbig2-imageio.version}</version>
  193. </dependency>
  194. <dependency>
  195. <groupId>com.aspose</groupId>
  196. <artifactId>aspose-cad</artifactId>
  197. <version>${aspose-cad.version}</version>
  198. </dependency>
  199. <!-- 密钥算法 -->
  200. <dependency>
  201. <groupId>org.bouncycastle</groupId>
  202. <artifactId>bcprov-jdk15on</artifactId>
  203. <version>${bcprov-jdk15on.version}</version>
  204. </dependency>
  205. <!-- url 规范化 -->
  206. <dependency>
  207. <groupId>io.mola.galimatias</groupId>
  208. <artifactId>galimatias</artifactId>
  209. <version>${galimatias.version}</version>
  210. </dependency>
  211. <!-- 以下是bytedeco 基于opencv ffmpeg封装的javacv,用于视频处理 -->
  212. <dependency>
  213. <groupId>org.bytedeco</groupId>
  214. <artifactId>javacv</artifactId>
  215. <version>${bytedeco.version}</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>org.bytedeco</groupId>
  219. <artifactId>javacpp</artifactId>
  220. <version>${bytedeco.version}</version>
  221. </dependency>
  222. <!-- 此版本中主要兼容linux和windows系统,如需兼容其他系统平台,请引入对应依赖即可 -->
  223. <dependency>
  224. <groupId>org.bytedeco</groupId>
  225. <artifactId>opencv</artifactId>
  226. <version>${opencv.version}</version>
  227. <classifier>linux-x86_64</classifier>
  228. </dependency>
  229. <dependency>
  230. <groupId>org.bytedeco</groupId>
  231. <artifactId>opencv</artifactId>
  232. <version>${opencv.version}</version>
  233. <classifier>windows-x86_64</classifier>
  234. </dependency>
  235. <dependency>
  236. <groupId>org.bytedeco</groupId>
  237. <artifactId>openblas</artifactId>
  238. <version>${openblas.version}</version>
  239. <classifier>linux-x86_64</classifier>
  240. </dependency>
  241. <dependency>
  242. <groupId>org.bytedeco</groupId>
  243. <artifactId>openblas</artifactId>
  244. <version>${openblas.version}</version>
  245. <classifier>windows-x86_64</classifier>
  246. </dependency>
  247. <dependency>
  248. <groupId>org.bytedeco</groupId>
  249. <artifactId>ffmpeg</artifactId>
  250. <version>${ffmpeg.version}</version>
  251. <classifier>linux-x86_64</classifier>
  252. </dependency>
  253. <dependency>
  254. <groupId>org.bytedeco</groupId>
  255. <artifactId>ffmpeg</artifactId>
  256. <version>${ffmpeg.version}</version>
  257. <classifier>windows-x86_64</classifier>
  258. </dependency>
  259. <dependency>
  260. <groupId>com.itextpdf</groupId>
  261. <artifactId>itextpdf</artifactId>
  262. <version>${itextpdf.version}</version>
  263. </dependency>
  264. <dependency>
  265. <groupId>javax.media</groupId>
  266. <artifactId>jai_core</artifactId>
  267. <version>1.1.3</version>
  268. <scope>system</scope>
  269. <systemPath>${pom.basedir}/lib/jai_core-1.1.3.jar</systemPath>
  270. </dependency>
  271. <dependency>
  272. <groupId>javax.media</groupId>
  273. <artifactId>jai_codec</artifactId>
  274. <version>1.1.3</version>
  275. <scope>system</scope>
  276. <systemPath>${pom.basedir}/lib/jai_codec-1.1.3.jar</systemPath>
  277. </dependency>
  278. <!--JWT-->
  279. <dependency>
  280. <groupId>com.nimbusds</groupId>
  281. <artifactId>nimbus-jose-jwt</artifactId>
  282. <version>${nimbus-jose-jwt.version}</version>
  283. </dependency>
  284. <!-- test dependency - start -->
  285. <dependency>
  286. <groupId>org.springframework.boot</groupId>
  287. <artifactId>spring-boot-starter-test</artifactId>
  288. <scope>test</scope>
  289. </dependency>
  290. <dependency>
  291. <groupId>commons-httpclient</groupId>
  292. <artifactId>commons-httpclient</artifactId>
  293. <version>${httpclient.version}</version>
  294. <scope>test</scope>
  295. <exclusions>
  296. <exclusion>
  297. <artifactId>commons-logging</artifactId>
  298. <groupId>commons-logging</groupId>
  299. </exclusion>
  300. </exclusions>
  301. </dependency>
  302. <!-- test dependency - end -->
  303. </dependencies>
  304. <build>
  305. <finalName>kkFileView-${project.version}-RELEASE</finalName>
  306. <resources>
  307. <resource>
  308. <directory>src/main/resources</directory>
  309. <includes>
  310. <include>**/*</include>
  311. </includes>
  312. <filtering>false</filtering>
  313. </resource>
  314. <resource>
  315. <directory>src/main/config</directory>
  316. <filtering>true</filtering>
  317. </resource>
  318. </resources>
  319. <plugins>
  320. <plugin>
  321. <groupId>org.apache.maven.plugins</groupId>
  322. <artifactId>maven-compiler-plugin</artifactId>
  323. <version>${maven-compiler-plugin.version}</version>
  324. <configuration>
  325. <parameters>true</parameters>
  326. <source>${maven.compiler.source}</source>
  327. <target>${maven.compiler.target}</target>
  328. <encoding>${project.build.sourceEncoding}</encoding>
  329. </configuration>
  330. </plugin>
  331. <plugin>
  332. <groupId>org.springframework.boot</groupId>
  333. <artifactId>spring-boot-maven-plugin</artifactId>
  334. <version>${spring-boot.version}</version>
  335. <configuration>
  336. <includeSystemScope>true</includeSystemScope>
  337. </configuration>
  338. <executions>
  339. <execution>
  340. <goals>
  341. <goal>repackage</goal>
  342. </goals>
  343. </execution>
  344. </executions>
  345. </plugin>
  346. <plugin>
  347. <groupId>org.apache.maven.plugins</groupId>
  348. <artifactId>maven-assembly-plugin</artifactId>
  349. <version>3.4.2</version>
  350. <configuration>
  351. <appendAssemblyId>false</appendAssemblyId>
  352. <descriptors>
  353. <descriptor>src/main/assembly/dist-win32.xml</descriptor>
  354. <descriptor>src/main/assembly/dist-linux.xml</descriptor>
  355. </descriptors>
  356. </configuration>
  357. <executions>
  358. <execution>
  359. <id>make-assembly</id>
  360. <phase>package</phase>
  361. <goals>
  362. <goal>single</goal>
  363. </goals>
  364. </execution>
  365. </executions>
  366. </plugin>
  367. </plugins>
  368. </build>
  369. </project>