mirror of
https://gitee.com/kekingcn/file-online-preview.git
synced 2026-04-09 01:37:34 +00:00
369 lines
14 KiB
Java
369 lines
14 KiB
Java
<?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">
|
||
<modelVersion>4.0.0</modelVersion>
|
||
<parent>
|
||
<artifactId>kkFileView-parent</artifactId>
|
||
<groupId>cn.keking</groupId>
|
||
<version>4.4.0</version>
|
||
</parent>
|
||
|
||
<artifactId>kkFileView</artifactId>
|
||
|
||
<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>
|
||
|
||
<repositories>
|
||
|
||
<!-- Aspose 仓库,且只启用 releases -->
|
||
<repository>
|
||
<id>aspose-maven-repository</id>
|
||
<url>https://repository.aspose.com/repo</url>
|
||
<releases>
|
||
<enabled>true</enabled>
|
||
</releases>
|
||
<snapshots>
|
||
<enabled>false</enabled>
|
||
</snapshots>
|
||
</repository>
|
||
</repositories>
|
||
|
||
<dependencies>
|
||
<!-- ========== Spring Boot 框架依赖 ========== -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-web</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-freemarker</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||
</dependency>
|
||
|
||
<!-- ========== 文档格式转换 ========== -->
|
||
<dependency>
|
||
<groupId>org.jodconverter</groupId>
|
||
<artifactId>jodconverter-local</artifactId>
|
||
<version>${jodconverter.version}</version>
|
||
</dependency>
|
||
|
||
<!-- ========== Office文档处理 (POI相关) ========== -->
|
||
<dependency>
|
||
<groupId>org.apache.poi</groupId>
|
||
<artifactId>poi</artifactId>
|
||
<version>${poi.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.poi</groupId>
|
||
<artifactId>poi-scratchpad</artifactId>
|
||
<version>${poi.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.poi</groupId>
|
||
<artifactId>poi-ooxml</artifactId>
|
||
<version>${poi.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>fr.opensagres.xdocreport</groupId>
|
||
<artifactId>org.apache.poi.xwpf.converter.core</artifactId>
|
||
<version>${xdocreport.version}</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>${xdocreport.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>fr.opensagres.xdocreport</groupId>
|
||
<artifactId>fr.opensagres.xdocreport.document</artifactId>
|
||
<version>${xdocreport.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.aspose</groupId>
|
||
<artifactId>aspose-cad</artifactId>
|
||
<version>${aspose-cad.version}</version>
|
||
</dependency>
|
||
|
||
<!-- ========== PDF处理 ========== -->
|
||
<dependency>
|
||
<groupId>org.apache.pdfbox</groupId>
|
||
<artifactId>pdfbox</artifactId>
|
||
<version>${pdfbox.version}</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<artifactId>commons-logging</artifactId>
|
||
<groupId>commons-logging</groupId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.pdfbox</groupId>
|
||
<artifactId>pdfbox-tools</artifactId>
|
||
<version>${pdfbox.version}</version>
|
||
</dependency>
|
||
|
||
<!-- ========== 压缩文件处理 ========== -->
|
||
<dependency>
|
||
<groupId>net.sf.sevenzipjbinding</groupId>
|
||
<artifactId>sevenzipjbinding</artifactId>
|
||
<version>${sevenzipjbinding.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>net.sf.sevenzipjbinding</groupId>
|
||
<artifactId>sevenzipjbinding-all-platforms</artifactId>
|
||
<version>${sevenzipjbinding.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.github.junrar</groupId>
|
||
<artifactId>junrar</artifactId>
|
||
<version>${junrar.version}</version>
|
||
</dependency>
|
||
|
||
<!-- ========== 图像处理 ========== -->
|
||
<dependency>
|
||
<groupId>com.github.jai-imageio</groupId>
|
||
<artifactId>jai-imageio-jpeg2000</artifactId>
|
||
<version>${jai-imageio.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.github.jai-imageio</groupId>
|
||
<artifactId>jai-imageio-core</artifactId>
|
||
<version>${jai-imageio.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.pdfbox</groupId>
|
||
<artifactId>jbig2-imageio</artifactId>
|
||
<version>${jbig2-imageio.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-imaging</artifactId>
|
||
<version>${commons-imaging.version}</version>
|
||
</dependency>
|
||
<!-- JAI 系统依赖 -->
|
||
<dependency>
|
||
<groupId>javax.media</groupId>
|
||
<artifactId>jai_core</artifactId>
|
||
<version>1.1.3</version>
|
||
<scope>system</scope>
|
||
<systemPath>${pom.basedir}/lib/jai_core-1.1.3.jar</systemPath>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>javax.media</groupId>
|
||
<artifactId>jai_codec</artifactId>
|
||
<version>1.1.3</version>
|
||
<scope>system</scope>
|
||
<systemPath>${pom.basedir}/lib/jai_codec-1.1.3.jar</systemPath>
|
||
</dependency>
|
||
|
||
<!-- ========== 视频处理 (JavaCV) ========== -->
|
||
<dependency>
|
||
<groupId>org.bytedeco</groupId>
|
||
<artifactId>javacv</artifactId>
|
||
<version>${bytedeco.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.bytedeco</groupId>
|
||
<artifactId>javacpp</artifactId>
|
||
<version>${bytedeco.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.bytedeco</groupId>
|
||
<artifactId>opencv</artifactId>
|
||
<version>${opencv.version}</version>
|
||
<classifier>linux-x86_64</classifier>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.bytedeco</groupId>
|
||
<artifactId>opencv</artifactId>
|
||
<version>${opencv.version}</version>
|
||
<classifier>windows-x86_64</classifier>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.bytedeco</groupId>
|
||
<artifactId>openblas</artifactId>
|
||
<version>${openblas.version}</version>
|
||
<classifier>linux-x86_64</classifier>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.bytedeco</groupId>
|
||
<artifactId>openblas</artifactId>
|
||
<version>${openblas.version}</version>
|
||
<classifier>windows-x86_64</classifier>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.bytedeco</groupId>
|
||
<artifactId>ffmpeg</artifactId>
|
||
<version>${ffmpeg.version}</version>
|
||
<classifier>linux-x86_64</classifier>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.bytedeco</groupId>
|
||
<artifactId>ffmpeg</artifactId>
|
||
<version>${ffmpeg.version}</version>
|
||
<classifier>windows-x86_64</classifier>
|
||
</dependency>
|
||
|
||
<!-- ========== 网络通信 ========== -->
|
||
<dependency>
|
||
<groupId>org.apache.httpcomponents.client5</groupId>
|
||
<artifactId>httpclient5</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>commons-net</groupId>
|
||
<artifactId>commons-net</artifactId>
|
||
<version>${commons-net.version}</version>
|
||
</dependency>
|
||
|
||
<!-- ========== 缓存和存储 ========== -->
|
||
<dependency>
|
||
<groupId>org.redisson</groupId>
|
||
<artifactId>redisson</artifactId>
|
||
<version>${redisson.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.rocksdb</groupId>
|
||
<artifactId>rocksdbjni</artifactId>
|
||
<version>${rocksdb.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.googlecode.concurrentlinkedhashmap</groupId>
|
||
<artifactId>concurrentlinkedhashmap-lru</artifactId>
|
||
<version>${concurrentlinkedhashmap.version}</version>
|
||
</dependency>
|
||
|
||
<!-- ========== 编码检测和字符处理 ========== -->
|
||
<dependency>
|
||
<groupId>com.googlecode.juniversalchardet</groupId>
|
||
<artifactId>juniversalchardet</artifactId>
|
||
<version>${juniversalchardet.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>net.sourceforge.jchardet</groupId>
|
||
<artifactId>jchardet</artifactId>
|
||
<version>${jchardet.version}</version>
|
||
</dependency>
|
||
|
||
<!-- ========== Apache Commons 工具库 ========== -->
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-lang3</artifactId>
|
||
<version>${commons-lang3.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>commons-cli</groupId>
|
||
<artifactId>commons-cli</artifactId>
|
||
<version>${commons-cli.version}</version>
|
||
</dependency>
|
||
|
||
<!-- ========== 其他工具库 ========== -->
|
||
<dependency>
|
||
<groupId>antlr</groupId>
|
||
<artifactId>antlr</artifactId>
|
||
<version>${antlr.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.thoughtworks.xstream</groupId>
|
||
<artifactId>xstream</artifactId>
|
||
<version>${xstream.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.bouncycastle</groupId>
|
||
<artifactId>bcprov-jdk15on</artifactId>
|
||
<version>${bcprov-jdk15on.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>io.mola.galimatias</groupId>
|
||
<artifactId>galimatias</artifactId>
|
||
<version>${galimatias.version}</version>
|
||
</dependency>
|
||
|
||
<!-- ========== 测试依赖 ========== -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-test</artifactId>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
</dependencies>
|
||
|
||
<build>
|
||
<resources>
|
||
<resource>
|
||
<directory>src/main/resources</directory>
|
||
<includes>
|
||
<include>**/*</include>
|
||
</includes>
|
||
<filtering>false</filtering>
|
||
</resource>
|
||
<resource>
|
||
<directory>src/main/config</directory>
|
||
<filtering>true</filtering>
|
||
</resource>
|
||
</resources>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-compiler-plugin</artifactId>
|
||
<version>3.11.0</version>
|
||
<configuration>
|
||
<parameters>true</parameters>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
<version>${spring.boot.version}</version>
|
||
<configuration>
|
||
<includeSystemScope>true</includeSystemScope>
|
||
</configuration>
|
||
<executions>
|
||
<execution>
|
||
<goals>
|
||
<goal>repackage</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-assembly-plugin</artifactId>
|
||
<version>3.4.2</version>
|
||
<configuration>
|
||
<appendAssemblyId>false</appendAssemblyId>
|
||
<descriptors>
|
||
<descriptor>src/main/assembly/dist-win32.xml</descriptor>
|
||
<descriptor>src/main/assembly/dist-linux.xml</descriptor>
|
||
</descriptors>
|
||
</configuration>
|
||
<executions>
|
||
<execution>
|
||
<id>make-assembly</id>
|
||
<phase>package</phase>
|
||
<goals>
|
||
<goal>single</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
</project> |