mirror of
https://github.com/Geniusay/ChopperBot.git
synced 2026-05-23 04:39:41 +08:00
113 lines
3.8 KiB
XML
113 lines
3.8 KiB
XML
<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">
|
|
<parent>
|
|
<artifactId>ChopperBot</artifactId>
|
|
<groupId>org.example</groupId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>SectionModule</artifactId>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>SectionModule</name>
|
|
<url>http://maven.apache.org</url>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<source>9</source>
|
|
<target>9</target>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<properties>
|
|
<java.version>1.8</java.version>
|
|
|
|
<ffmpeg.version>0.6.2</ffmpeg.version>
|
|
<javacv.version>1.5.8</javacv.version>
|
|
<javacpp.version>1.5.8</javacpp.version>
|
|
<bytedeco-ffmpeg.version>5.1.2-1.5.8</bytedeco-ffmpeg.version>
|
|
<opencv-platform-gpu.version>4.6.0-1.5.8</opencv-platform-gpu.version>
|
|
|
|
<javacpp.platform.dependencies>windows-x86_64</javacpp.platform.dependencies>
|
|
<javacpp.platform.linux-x86_64>linux-x86_64</javacpp.platform.linux-x86_64>
|
|
|
|
<!-- 跳过测试 -->
|
|
<skipTests>true</skipTests>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>org.example</groupId>
|
|
<artifactId>common</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</dependency>
|
|
|
|
<!-- ========== 优化依赖 ffmpeg-platform-gpl javacv-platform 只导入windows liunx平台 ============== -->
|
|
<dependency>
|
|
<groupId>org.bytedeco</groupId>
|
|
<artifactId>javacv</artifactId>
|
|
<version>${javacv.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.bytedeco</groupId>
|
|
<artifactId>javacpp</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!-- 获取视频中的图片 -->
|
|
<dependency>
|
|
<groupId>org.bytedeco</groupId>
|
|
<artifactId>javacpp</artifactId>
|
|
<version>${javacpp.version}</version>
|
|
<classifier>${javacpp.platform.dependencies}</classifier>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.bytedeco</groupId>
|
|
<artifactId>javacpp</artifactId>
|
|
<version>${javacpp.version}</version>
|
|
<classifier>${javacpp.platform.linux-x86_64}</classifier>
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
<groupId>org.bytedeco</groupId>
|
|
<artifactId>ffmpeg</artifactId>
|
|
<version>${bytedeco-ffmpeg.version}</version>
|
|
<classifier>linux-x86_64-gpl</classifier>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.bytedeco</groupId>
|
|
<artifactId>ffmpeg</artifactId>
|
|
<version>${bytedeco-ffmpeg.version}</version>
|
|
<classifier>windows-x86_64-gpl</classifier>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.bramp.ffmpeg</groupId>
|
|
<artifactId>ffmpeg</artifactId>
|
|
<version>${ffmpeg.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.bytedeco</groupId>
|
|
<artifactId>opencv-platform-gpu</artifactId>
|
|
<version>${opencv-platform-gpu.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|