pom.xml 12 KB

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