pom.xml 13 KB

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