pom.xml 13 KB

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