2017-12-14 18:55:59 +08:00
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2021-02-10 00:58:13 +08:00
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2017-12-14 18:55:59 +08:00
|
|
|
|
<parent>
|
2021-12-07 16:11:50 +08:00
|
|
|
|
<artifactId>kkFileView-parent</artifactId>
|
2021-02-10 00:58:13 +08:00
|
|
|
|
<groupId>cn.keking</groupId>
|
2021-12-07 16:11:50 +08:00
|
|
|
|
<version>4.1.0-SNAPSHOT</version>
|
2017-12-14 18:55:59 +08:00
|
|
|
|
</parent>
|
|
|
|
|
|
2019-04-15 16:50:53 +08:00
|
|
|
|
<artifactId>kkFileView</artifactId>
|
2017-12-14 18:55:59 +08:00
|
|
|
|
|
2021-02-10 00:58:13 +08:00
|
|
|
|
<dependencyManagement>
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
|
|
|
<version>${spring.boot.version}</version>
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
2017-12-14 18:55:59 +08:00
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
2022-07-21 11:19:46 +08:00
|
|
|
|
<groupId>cn.keking</groupId>
|
|
|
|
|
<artifactId>office-plugin</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
2021-12-17 09:23:32 +08:00
|
|
|
|
</dependency>
|
2022-07-21 11:19:46 +08:00
|
|
|
|
|
|
|
|
|
<!-- web start -->
|
2017-12-14 18:55:59 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
2020-12-26 02:03:11 +08:00
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
2017-12-14 18:55:59 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
2020-12-26 02:03:11 +08:00
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-jetty</artifactId>
|
2017-12-14 18:55:59 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
2022-07-21 11:19:46 +08:00
|
|
|
|
<artifactId>spring-boot-starter-freemarker</artifactId>
|
2017-12-14 18:55:59 +08:00
|
|
|
|
</dependency>
|
2022-07-21 11:19:46 +08:00
|
|
|
|
<!-- web end -->
|
|
|
|
|
|
|
|
|
|
<!-- poi start -->
|
2017-12-14 18:55:59 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
|
<artifactId>poi</artifactId>
|
2021-01-15 04:50:07 +08:00
|
|
|
|
<version>3.17</version>
|
2017-12-14 18:55:59 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
|
<artifactId>poi-scratchpad</artifactId>
|
2022-07-21 11:19:46 +08:00
|
|
|
|
<version>3.17</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
|
<artifactId>poi-ooxml</artifactId>
|
|
|
|
|
<version>3.17</version>
|
2017-12-14 18:55:59 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>fr.opensagres.xdocreport</groupId>
|
|
|
|
|
<artifactId>org.apache.poi.xwpf.converter.core</artifactId>
|
|
|
|
|
<version>1.0.5</version>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>poi</artifactId>
|
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>fr.opensagres.xdocreport</groupId>
|
|
|
|
|
<artifactId>org.apache.poi.xwpf.converter.xhtml</artifactId>
|
|
|
|
|
<version>1.0.5</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>fr.opensagres.xdocreport</groupId>
|
|
|
|
|
<artifactId>fr.opensagres.xdocreport.document</artifactId>
|
|
|
|
|
<version>1.0.5</version>
|
|
|
|
|
</dependency>
|
2022-07-21 11:19:46 +08:00
|
|
|
|
<!-- poi start -->
|
|
|
|
|
|
|
|
|
|
<!-- 对 rar5 的支持 和其他众多压缩支持 可参考 package net.sf.sevenzipjbinding.ArchiveFormat; -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.sf.sevenzipjbinding</groupId>
|
|
|
|
|
<artifactId>sevenzipjbinding</artifactId>
|
|
|
|
|
<version>16.02-2.01</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.sf.sevenzipjbinding</groupId>
|
|
|
|
|
<artifactId>sevenzipjbinding-all-platforms</artifactId>
|
|
|
|
|
<version>16.02-2.01</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
|
<version>3.7</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.redisson</groupId>
|
|
|
|
|
<artifactId>redisson</artifactId>
|
|
|
|
|
<version>3.2.0</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2017-12-14 18:55:59 +08:00
|
|
|
|
<!-- 解压(apache) -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
|
<artifactId>commons-compress</artifactId>
|
2021-08-03 01:25:07 +08:00
|
|
|
|
<version>1.21</version>
|
2017-12-14 18:55:59 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
<!-- 解压(rar)-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.github.junrar</groupId>
|
|
|
|
|
<artifactId>junrar</artifactId>
|
2019-04-18 14:20:37 +08:00
|
|
|
|
<version>4.0.0</version>
|
2017-12-14 18:55:59 +08:00
|
|
|
|
</dependency>
|
2019-05-16 17:44:34 +08:00
|
|
|
|
<!-- 解压(7z)-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.tukaani</groupId>
|
|
|
|
|
<artifactId>xz</artifactId>
|
|
|
|
|
<version>1.8</version>
|
|
|
|
|
</dependency>
|
2017-12-14 18:55:59 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.sourceforge.jchardet</groupId>
|
|
|
|
|
<artifactId>jchardet</artifactId>
|
|
|
|
|
<version>1.0</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>antlr</groupId>
|
|
|
|
|
<artifactId>antlr</artifactId>
|
|
|
|
|
<version>2.7.7</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>commons-cli</groupId>
|
|
|
|
|
<artifactId>commons-cli</artifactId>
|
|
|
|
|
<version>1.2</version>
|
|
|
|
|
</dependency>
|
2022-07-21 11:19:46 +08:00
|
|
|
|
|
2019-06-19 14:18:09 +08:00
|
|
|
|
<!-- FTP -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>commons-net</groupId>
|
|
|
|
|
<artifactId>commons-net</artifactId>
|
|
|
|
|
<version>3.6</version>
|
|
|
|
|
</dependency>
|
2017-12-14 18:55:59 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.thoughtworks.xstream</groupId>
|
|
|
|
|
<artifactId>xstream</artifactId>
|
2021-08-25 23:56:05 +08:00
|
|
|
|
<version>1.4.18</version>
|
2017-12-14 18:55:59 +08:00
|
|
|
|
</dependency>
|
2019-04-08 17:50:13 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.googlecode.concurrentlinkedhashmap</groupId>
|
|
|
|
|
<artifactId>concurrentlinkedhashmap-lru</artifactId>
|
|
|
|
|
<version>1.4.2</version>
|
|
|
|
|
</dependency>
|
2019-04-22 11:40:13 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.rocksdb</groupId>
|
|
|
|
|
<artifactId>rocksdbjni</artifactId>
|
|
|
|
|
<version>5.17.2</version>
|
|
|
|
|
</dependency>
|
2019-04-25 18:39:58 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.pdfbox</groupId>
|
|
|
|
|
<artifactId>pdfbox</artifactId>
|
2021-06-16 00:08:41 +08:00
|
|
|
|
<version>2.0.24</version>
|
2019-04-25 18:39:58 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.pdfbox</groupId>
|
|
|
|
|
<artifactId>pdfbox-tools</artifactId>
|
|
|
|
|
<version>2.0.15</version>
|
|
|
|
|
</dependency>
|
2019-11-21 17:01:14 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.aspose</groupId>
|
|
|
|
|
<artifactId>aspose-cad</artifactId>
|
|
|
|
|
<version>19.9</version>
|
|
|
|
|
<scope>system</scope>
|
|
|
|
|
<systemPath>${basedir}/lib/aspose-cad-19.9.jar</systemPath>
|
|
|
|
|
</dependency>
|
2020-12-26 19:13:50 +08:00
|
|
|
|
<!-- 编码识别 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cpdetector</groupId>
|
|
|
|
|
<artifactId>cpdetector</artifactId>
|
|
|
|
|
<version>1.04</version>
|
|
|
|
|
<scope>system</scope>
|
|
|
|
|
<systemPath>${basedir}/lib/cpdetector-1.04.jar</systemPath>
|
|
|
|
|
</dependency>
|
2020-12-28 11:42:08 +08:00
|
|
|
|
<!-- url 规范化 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.mola.galimatias</groupId>
|
|
|
|
|
<artifactId>galimatias</artifactId>
|
|
|
|
|
<version>0.2.1</version>
|
|
|
|
|
</dependency>
|
2021-04-18 12:40:59 +08:00
|
|
|
|
|
|
|
|
|
<!-- 以下是bytedeco 基于opencv ffmpeg封装的javacv,用于视频处理 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.bytedeco</groupId>
|
|
|
|
|
<artifactId>javacv</artifactId>
|
|
|
|
|
<version>1.5.2</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.bytedeco</groupId>
|
|
|
|
|
<artifactId>javacpp</artifactId>
|
|
|
|
|
<version>1.5.2</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- 此版本中主要兼容linux和windows系统,如需兼容其他系统平台,请引入对应依赖即可 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.bytedeco</groupId>
|
|
|
|
|
<artifactId>opencv</artifactId>
|
|
|
|
|
<version>4.1.2-1.5.2</version>
|
|
|
|
|
<classifier>linux-x86_64</classifier>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.bytedeco</groupId>
|
|
|
|
|
<artifactId>opencv</artifactId>
|
|
|
|
|
<version>4.1.2-1.5.2</version>
|
|
|
|
|
<classifier>windows-x86_64</classifier>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.bytedeco</groupId>
|
|
|
|
|
<artifactId>openblas</artifactId>
|
|
|
|
|
<version>0.3.6-1.5.1</version>
|
|
|
|
|
<classifier>linux-x86_64</classifier>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.bytedeco</groupId>
|
|
|
|
|
<artifactId>openblas</artifactId>
|
|
|
|
|
<version>0.3.6-1.5.1</version>
|
|
|
|
|
<classifier>windows-x86_64</classifier>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.bytedeco</groupId>
|
|
|
|
|
<artifactId>ffmpeg</artifactId>
|
|
|
|
|
<version>4.2.1-1.5.2</version>
|
|
|
|
|
<classifier>linux-x86_64</classifier>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.bytedeco</groupId>
|
|
|
|
|
<artifactId>ffmpeg</artifactId>
|
|
|
|
|
<version>4.2.1-1.5.2</version>
|
|
|
|
|
<classifier>windows-x86_64</classifier>
|
|
|
|
|
</dependency>
|
2021-12-03 19:05:31 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.lowagie</groupId>
|
|
|
|
|
<artifactId>itext</artifactId>
|
|
|
|
|
<version>2.1.7</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>javax.media</groupId>
|
|
|
|
|
<artifactId>jai_core</artifactId>
|
2021-12-17 15:50:03 +08:00
|
|
|
|
<version>1.1.3</version>
|
2021-12-05 12:38:30 +08:00
|
|
|
|
<scope>system</scope>
|
2021-12-17 15:50:03 +08:00
|
|
|
|
<systemPath>${basedir}/lib/jai_core-1.1.3.jar</systemPath>
|
2021-12-03 19:05:31 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>javax.media</groupId>
|
|
|
|
|
<artifactId>jai_codec</artifactId>
|
|
|
|
|
<version>1.1.3</version>
|
2021-12-05 12:38:30 +08:00
|
|
|
|
<scope>system</scope>
|
2021-12-03 19:05:31 +08:00
|
|
|
|
<systemPath>${basedir}/lib/jai_codec-1.1.3.jar</systemPath>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2022-07-21 11:19:46 +08:00
|
|
|
|
<!-- test dependency - start -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>commons-httpclient</groupId>
|
|
|
|
|
<artifactId>commons-httpclient</artifactId>
|
|
|
|
|
<version>3.1</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- test dependency - end -->
|
2017-12-14 18:55:59 +08:00
|
|
|
|
</dependencies>
|
2021-02-07 18:34:35 +08:00
|
|
|
|
|
2017-12-14 18:55:59 +08:00
|
|
|
|
<build>
|
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
2017-12-20 10:34:18 +08:00
|
|
|
|
<directory>src/main/resources</directory>
|
2017-12-14 18:55:59 +08:00
|
|
|
|
<includes>
|
|
|
|
|
<include>**/*</include>
|
|
|
|
|
</includes>
|
2020-06-05 16:34:59 +08:00
|
|
|
|
<filtering>false</filtering>
|
2017-12-14 18:55:59 +08:00
|
|
|
|
</resource>
|
2019-04-15 10:23:03 +08:00
|
|
|
|
<resource>
|
2019-10-24 16:22:02 +08:00
|
|
|
|
<directory>src/main/config</directory>
|
2020-06-05 16:34:59 +08:00
|
|
|
|
<filtering>true</filtering>
|
2019-04-15 10:23:03 +08:00
|
|
|
|
</resource>
|
2017-12-14 18:55:59 +08:00
|
|
|
|
</resources>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
2021-03-18 17:38:53 +08:00
|
|
|
|
<version>${spring.boot.version}</version>
|
2019-11-21 18:14:58 +08:00
|
|
|
|
<configuration>
|
|
|
|
|
<includeSystemScope>true</includeSystemScope>
|
|
|
|
|
</configuration>
|
2021-02-10 00:58:13 +08:00
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>repackage</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
2017-12-14 18:55:59 +08:00
|
|
|
|
</plugin>
|
2019-04-08 18:24:48 +08:00
|
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
|
<configuration>
|
|
|
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
|
|
|
<descriptors>
|
2021-03-19 09:41:01 +08:00
|
|
|
|
<descriptor>src/main/assembly/dist-win32.xml</descriptor>
|
|
|
|
|
<descriptor>src/main/assembly/dist-linux.xml</descriptor>
|
2019-04-08 18:24:48 +08:00
|
|
|
|
</descriptors>
|
|
|
|
|
</configuration>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>make-assembly</id>
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>single</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
2017-12-14 18:55:59 +08:00
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
2017-12-20 10:25:28 +08:00
|
|
|
|
</project>
|