file-online-preview/server/pom.xml

368 lines
14 KiB
Java
Raw Normal View History

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">
<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>
<groupId>cn.keking</groupId>
2023-07-10 11:18:12 +08:00
<version>4.4.0-SNAPSHOT</version>
2017-12-14 18:55:59 +08:00
</parent>
<artifactId>kkFileView</artifactId>
2017-12-14 18:55:59 +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>
<repositories>
<repository>
<id>aspose-maven-repository</id>
<url>https://repository.aspose.com/repo</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
2017-12-14 18:55:59 +08:00
<dependencies>
<dependency>
<groupId>org.jodconverter</groupId>
<artifactId>jodconverter-local</artifactId>
<version>${jodconverter.version}</version>
</dependency>
<!-- 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>
<artifactId>spring-boot-starter-freemarker</artifactId>
2017-12-14 18:55:59 +08:00
</dependency>
<!-- web end -->
<!-- poi start -->
2017-12-14 18:55:59 +08:00
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
2022-08-01 15:10:30 +08:00
<version>${poi.version}</version>
2017-12-14 18:55:59 +08:00
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-scratchpad</artifactId>
2022-08-01 15:10:30 +08:00
<version>${poi.version}</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
2022-08-01 15:10:30 +08:00
<version>${poi.version}</version>
2017-12-14 18:55:59 +08:00
</dependency>
<dependency>
<groupId>fr.opensagres.xdocreport</groupId>
<artifactId>org.apache.poi.xwpf.converter.core</artifactId>
2022-08-01 15:10:30 +08:00
<version>${xdocreport.version}</version>
2017-12-14 18:55:59 +08:00
<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>
2022-08-01 15:10:30 +08:00
<version>${xdocreport.version}</version>
2017-12-14 18:55:59 +08:00
</dependency>
<dependency>
<groupId>fr.opensagres.xdocreport</groupId>
<artifactId>fr.opensagres.xdocreport.document</artifactId>
2022-08-01 15:10:30 +08:00
<version>${xdocreport.version}</version>
2017-12-14 18:55:59 +08:00
</dependency>
<!-- poi start -->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
2024-03-14 08:29:38 +08:00
<version>${httpcomponents.version}</version>
</dependency>
<!-- rar5 的支持 和其他众多压缩支持 可参考 package net.sf.sevenzipjbinding.ArchiveFormat; -->
<dependency>
<groupId>net.sf.sevenzipjbinding</groupId>
<artifactId>sevenzipjbinding</artifactId>
2022-08-01 15:10:30 +08:00
<version>${sevenzipjbinding.version}</version>
</dependency>
<dependency>
<groupId>net.sf.sevenzipjbinding</groupId>
<artifactId>sevenzipjbinding-all-platforms</artifactId>
2022-08-01 15:10:30 +08:00
<version>${sevenzipjbinding.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
2022-08-01 15:10:30 +08:00
<version>${commons-lang3.version}</version>
</dependency>
<dependency>
<groupId>org.redisson</groupId>
<artifactId>redisson</artifactId>
2022-08-01 15:10:30 +08:00
<version>${redisson.version}</version>
</dependency>
<!-- 编码检测-JUniversalCharDet-->
<dependency>
<groupId>com.googlecode.juniversalchardet</groupId>
<artifactId>juniversalchardet</artifactId>
<version>${juniversalchardet.version}</version>
</dependency>
2017-12-14 18:55:59 +08:00
<!-- 解压(rar)-->
<dependency>
<groupId>com.github.junrar</groupId>
<artifactId>junrar</artifactId>
2022-08-01 15:10:30 +08:00
<version>${junrar.version}</version>
2017-12-14 18:55:59 +08:00
</dependency>
<dependency>
<groupId>net.sourceforge.jchardet</groupId>
<artifactId>jchardet</artifactId>
2022-08-01 15:10:30 +08:00
<version>${jchardet.version}</version>
2017-12-14 18:55:59 +08:00
</dependency>
<dependency>
<groupId>antlr</groupId>
<artifactId>antlr</artifactId>
2022-08-01 15:10:30 +08:00
<version>${antlr.version}</version>
2017-12-14 18:55:59 +08:00
</dependency>
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
2022-08-01 15:10:30 +08:00
<version>${commons-cli.version}</version>
2017-12-14 18:55:59 +08:00
</dependency>
<!-- FTP -->
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
2022-08-01 15:10:30 +08:00
<version>${commons-net.version}</version>
</dependency>
2017-12-14 18:55:59 +08:00
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
2022-08-01 15:10:30 +08:00
<version>${xstream.version}</version>
2017-12-14 18:55:59 +08:00
</dependency>
<dependency>
<groupId>com.googlecode.concurrentlinkedhashmap</groupId>
<artifactId>concurrentlinkedhashmap-lru</artifactId>
2022-08-01 15:10:30 +08:00
<version>${concurrentlinkedhashmap.version}</version>
</dependency>
<dependency>
<groupId>org.rocksdb</groupId>
<artifactId>rocksdbjni</artifactId>
2022-08-01 15:10:30 +08:00
<version>${rocksdb.version}</version>
</dependency>
<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>pdfbox</artifactId>
2022-08-01 15:10:30 +08:00
<version>${pdfbox.version}</version>
</dependency>
<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>pdfbox-tools</artifactId>
2022-08-01 15:10:30 +08:00
<version>${pdfbox.version}</version>
</dependency>
2022-12-13 16:30:57 +08:00
<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>
2023-04-23 10:32:10 +08:00
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-cad</artifactId>
2023-04-28 09:48:51 +08:00
<version>${aspose-cad.version}</version>
</dependency>
<!-- 密钥算法 -->
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
<version>${bcprov-jdk15on.version}</version>
</dependency>
<!-- url 规范化 -->
<dependency>
<groupId>io.mola.galimatias</groupId>
<artifactId>galimatias</artifactId>
2022-08-01 15:10:30 +08:00
<version>${galimatias.version}</version>
</dependency>
<!-- 以下是bytedeco 基于opencv ffmpeg封装的javacv用于视频处理 -->
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>javacv</artifactId>
2022-08-01 15:10:30 +08:00
<version>${bytedeco.version}</version>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>javacpp</artifactId>
2022-08-01 15:10:30 +08:00
<version>${bytedeco.version}</version>
</dependency>
<!-- 此版本中主要兼容linux和windows系统如需兼容其他系统平台请引入对应依赖即可 -->
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>opencv</artifactId>
2022-08-01 15:10:30 +08:00
<version>${opencv.version}</version>
<classifier>linux-x86_64</classifier>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>opencv</artifactId>
2022-08-01 15:10:30 +08:00
<version>${opencv.version}</version>
<classifier>windows-x86_64</classifier>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>openblas</artifactId>
2022-08-01 15:10:30 +08:00
<version>${openblas.version}</version>
<classifier>linux-x86_64</classifier>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>openblas</artifactId>
2022-08-01 15:10:30 +08:00
<version>${openblas.version}</version>
<classifier>windows-x86_64</classifier>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>ffmpeg</artifactId>
2022-08-01 15:10:30 +08:00
<version>${ffmpeg.version}</version>
<classifier>linux-x86_64</classifier>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>ffmpeg</artifactId>
2022-08-01 15:10:30 +08:00
<version>${ffmpeg.version}</version>
<classifier>windows-x86_64</classifier>
</dependency>
<dependency>
2023-06-19 09:14:53 +08:00
<groupId>com.itextpdf</groupId>
<artifactId>itextpdf</artifactId>
<version>${itextpdf.version}</version>
</dependency>
<dependency>
<groupId>javax.media</groupId>
<artifactId>jai_core</artifactId>
<version>1.1.3</version>
<scope>system</scope>
2022-12-12 14:23:32 +08:00
<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>
2022-12-12 14:23:32 +08:00
<systemPath>${pom.basedir}/lib/jai_codec-1.1.3.jar</systemPath>
</dependency>
<!-- 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>
2022-11-18 18:29:44 +08:00
<version>${httpclient.version}</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>
2017-12-14 18:55:59 +08:00
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
2017-12-14 18:55:59 +08:00
<includes>
<include>**/*</include>
</includes>
<filtering>false</filtering>
2017-12-14 18:55:59 +08:00
</resource>
2019-04-15 10:23:03 +08:00
<resource>
<directory>src/main/config</directory>
<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>
<configuration>
<includeSystemScope>true</includeSystemScope>
</configuration>
<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>
2022-11-18 18:29:44 +08:00
<groupId>org.apache.maven.plugins</groupId>
2019-04-08 18:24:48 +08:00
<artifactId>maven-assembly-plugin</artifactId>
2022-11-18 18:29:44 +08:00
<version>3.4.2</version>
2019-04-08 18:24:48 +08:00
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<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>
</project>