javaCV排除无用依赖

This commit is contained in:
wangliwen 2022-06-01 18:19:08 +08:00
parent 83bfde121d
commit 7f8a4f9d43
1 changed files with 25 additions and 6 deletions

View File

@ -32,6 +32,12 @@
<renren.version>2.9.0</renren.version>
<groovy-all.version>2.4.17</groovy-all.version>
<pinyin4j.version>2.5.1</pinyin4j.version>
<spring-boot-starter-cache.version>2.4.4</spring-boot-starter-cache.version>
<fastjson.version>1.2.72</fastjson.version>
<ehcache.version>2.10.6</ehcache.version>
<javacv.version>1.5.7</javacv.version>
<system.linux-x86_64>linux-x86_64</system.linux-x86_64>
<ffmpeg.version>5.0</ffmpeg.version>
<java.version>1.8</java.version>
</properties>
@ -227,25 +233,38 @@
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.2.72</version>
<version>${fastjson.version}</version>
</dependency>
<!--缓存-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-cache</artifactId>
<version>2.4.4</version>
<version>${spring-boot-starter-cache.version}</version>
</dependency>
<dependency>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache</artifactId>
<version>2.10.6</version>
<version>${ehcache.version}</version>
</dependency>
<!-- javacv+javacpp核心库-->
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>javacv-platform</artifactId>
<version>1.5.7</version>
<artifactId>javacv</artifactId>
<version>${javacv.version}</version>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>javacpp-platform</artifactId>
<version>${javacv.version}</version>
</dependency>
<!-- ffmpeg最小依赖包必须包含上面的javacv+javacpp核心库 -->
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>ffmpeg</artifactId>
<version>${ffmpeg.version}-${javacv.version}</version>
<classifier>${system.linux-x86_64}</classifier>
</dependency>
</dependencies>
@ -256,7 +275,7 @@
<directory>src/main/resources</directory>
<excludes>
<!-- 排除生产环境配置 -->
<!-- <exclude>application-prod.yml</exclude>-->
<!-- <exclude>application-prod.yml</exclude>-->
</excludes>
</resource>
<resource>