2021-04-07 14:52:03 +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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
<version>2.4.4</version>
|
|
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
|
|
</parent>
|
|
|
|
<groupId>com.yutou</groupId>
|
|
|
|
<artifactId>nas</artifactId>
|
|
|
|
<version>0.0.1</version>
|
|
|
|
<name>nas</name>
|
|
|
|
<description>NAS Service</description>
|
|
|
|
<properties>
|
|
|
|
<java.version>1.8</java.version>
|
2021-09-14 01:19:05 +08:00
|
|
|
<kotlin.version>1.5.10</kotlin.version>
|
2021-04-07 14:52:03 +08:00
|
|
|
</properties>
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>jaudiotagger-repository</id>
|
|
|
|
<url>https://dl.bintray.com/ijabz/maven</url>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>jcenter</id>
|
|
|
|
<url>https://jcenter.bintray.com/</url>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
2022-05-03 19:30:44 +08:00
|
|
|
<version>1.18.24</version>
|
2021-04-07 14:52:03 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.junit.vintage</groupId>
|
|
|
|
<artifactId>junit-vintage-engine</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/redis.clients/jedis -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>redis.clients</groupId>
|
|
|
|
<artifactId>jedis</artifactId>
|
2022-05-03 19:30:44 +08:00
|
|
|
<version>4.2.2</version>
|
2021-04-07 14:52:03 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
|
|
|
|
<dependency>
|
2022-05-03 20:08:51 +08:00
|
|
|
<groupId>com.alibaba.fastjson2</groupId>
|
|
|
|
<artifactId>fastjson2</artifactId>
|
2022-05-03 19:30:44 +08:00
|
|
|
<version>2.0.2</version>
|
2021-04-07 14:52:03 +08:00
|
|
|
</dependency>
|
2022-05-04 10:58:17 +08:00
|
|
|
<!-- <dependency>
|
|
|
|
<groupId>com.alibaba.fastjson2</groupId>
|
|
|
|
<artifactId>fastjson2</artifactId>
|
|
|
|
<version>2.0.3</version>
|
|
|
|
<scope>system</scope>
|
|
|
|
<systemPath>${project.basedir}/libs/fastjson2-2.0.3.jar</systemPath>
|
|
|
|
</dependency>-->
|
2021-04-07 14:52:03 +08:00
|
|
|
<!-- https://mvnrepository.com/artifact/com.jcraft/jsch -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.jcraft</groupId>
|
|
|
|
<artifactId>jsch</artifactId>
|
|
|
|
<version>0.1.55</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.jthink</groupId>
|
|
|
|
<artifactId>jaudiotagger</artifactId>
|
2022-04-07 12:49:59 +08:00
|
|
|
<version>3.0.1</version>
|
2021-04-07 14:52:03 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.ealva</groupId>
|
|
|
|
<artifactId>ealvatag</artifactId>
|
2022-04-07 12:49:59 +08:00
|
|
|
<version>0.4.6</version>
|
2021-09-14 01:19:05 +08:00
|
|
|
</dependency>
|
|
|
|
|
2021-04-07 14:52:03 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.bramp.ffmpeg</groupId>
|
|
|
|
<artifactId>ffmpeg</artifactId>
|
2022-05-03 19:30:44 +08:00
|
|
|
<version>0.7.0</version>
|
2021-04-07 14:52:03 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.iflytek</groupId>
|
|
|
|
<artifactId>msc</artifactId>
|
|
|
|
<version>4.1</version>
|
|
|
|
<scope>system</scope>
|
|
|
|
<systemPath>${project.basedir}/libs/Msc.jar</systemPath>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.iflytek</groupId>
|
|
|
|
<artifactId>json</artifactId>
|
|
|
|
<version>4.1</version>
|
|
|
|
<scope>system</scope>
|
|
|
|
<systemPath>${project.basedir}/libs/json-jena-1.0.jar</systemPath>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
2022-04-07 12:49:59 +08:00
|
|
|
<version>2.2.2</version>
|
2021-04-07 14:52:03 +08:00
|
|
|
</dependency>
|
2021-06-04 18:16:41 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.aliyun.oss</groupId>
|
|
|
|
<artifactId>aliyun-sdk-oss</artifactId>
|
2022-05-03 19:30:44 +08:00
|
|
|
<version>3.14.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.drewnoakes</groupId>
|
|
|
|
<artifactId>metadata-extractor</artifactId>
|
|
|
|
<version>2.17.0</version>
|
2021-06-04 18:16:41 +08:00
|
|
|
</dependency>
|
2021-11-17 14:17:38 +08:00
|
|
|
<!-- <dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
|
|
</dependency>-->
|
2021-04-07 14:52:03 +08:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
|
|
|
|
<!-- <testSourceDirectory>${project.basedir}/src/test/java</testSourceDirectory>-->
|
|
|
|
<plugins>
|
2021-09-30 09:32:51 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<version>1.8</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2022-05-03 19:30:44 +08:00
|
|
|
<tasks>
|
|
|
|
<echo>复制正式文件</echo>
|
|
|
|
<copy file="src/main/resources/application.properties.release" tofile="${project.build.outputDirectory}/application.properties" overwrite="true"/>
|
|
|
|
</tasks>
|
2021-09-30 09:32:51 +08:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2021-04-07 14:52:03 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
2021-05-09 00:15:11 +08:00
|
|
|
<configuration>
|
2021-09-14 01:19:05 +08:00
|
|
|
<!--使用-Dloader.path需要在打包的时候增加<layout>ZIP</layou
|
|
|
|
t>,不指定的话-Dloader.path不生效-->
|
2021-05-09 00:15:11 +08:00
|
|
|
<layout>ZIP</layout>
|
|
|
|
<!-- 指定该jar包启动时的主类[建议] -->
|
|
|
|
<mainClass>com.yutou.nas.NasApplication</mainClass>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>repackage</goal>
|
|
|
|
</goals>
|
|
|
|
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2021-04-07 14:52:03 +08:00
|
|
|
</plugin>
|
2022-04-07 14:37:29 +08:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<source>1.8</source>
|
|
|
|
<target>1.8</target>
|
|
|
|
<compilerArguments>
|
|
|
|
<extdirs>${basedir}/libs</extdirs>
|
|
|
|
</compilerArguments>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2021-04-07 14:52:03 +08:00
|
|
|
</plugins>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>libs</directory>
|
2022-04-07 15:44:32 +08:00
|
|
|
<targetPath>BOOT-INF/lib/</targetPath>
|
2021-04-07 14:52:03 +08:00
|
|
|
<includes>
|
|
|
|
<include>**/*.jar</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.properties</include>
|
|
|
|
<include>**/*.xml</include>
|
|
|
|
</includes>
|
|
|
|
<filtering>false</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|