pom.xml 12 KB

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