247 lines
9.3 KiB
XML
247 lines
9.3 KiB
XML
<?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>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-parent</artifactId>
|
||
<version>2.7.1</version>
|
||
<relativePath/> <!-- lookup parent from repository -->
|
||
</parent>
|
||
|
||
<groupId>com.whdc</groupId>
|
||
<artifactId>tdwy-service</artifactId>
|
||
<version>1.0</version>
|
||
<description>视频</description>
|
||
|
||
<properties>
|
||
<maven.compiler.source>8</maven.compiler.source>
|
||
<maven.compiler.target>8</maven.compiler.target>
|
||
<java.version>1.8</java.version>
|
||
<copy.jar.directory>target/release</copy.jar.directory>
|
||
</properties>
|
||
|
||
<!-- 使用阿里 maven 库 -->
|
||
<repositories>
|
||
<repository>
|
||
<id>ali-maven</id>
|
||
<url>https://maven.aliyun.com/nexus/content/groups/public</url>
|
||
<releases>
|
||
<enabled>true</enabled>
|
||
</releases>
|
||
<snapshots>
|
||
<enabled>true</enabled>
|
||
<updatePolicy>always</updatePolicy>
|
||
<checksumPolicy>fail</checksumPolicy>
|
||
</snapshots>
|
||
</repository>
|
||
</repositories>
|
||
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-web</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-aop</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.baomidou</groupId>
|
||
<artifactId>mybatis-plus-boot-starter</artifactId>
|
||
<version>3.5.2</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-validation</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-data-redis</artifactId>
|
||
</dependency>
|
||
<!-- mysql start-->
|
||
<dependency>
|
||
<groupId>mysql</groupId>
|
||
<artifactId>mysql-connector-java</artifactId>
|
||
<version>8.0.16</version>
|
||
</dependency>
|
||
<!-- mysql end-->
|
||
|
||
<!-- lombok start -->
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
</dependency>
|
||
<!-- lombok end -->
|
||
|
||
<!-- fastjson start -->
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>fastjson</artifactId>
|
||
<version>1.2.80</version>
|
||
</dependency>
|
||
<!-- fastjson end-->
|
||
|
||
<dependency>
|
||
<groupId>org.eclipse.paho</groupId>
|
||
<artifactId>org.eclipse.paho.client.mqttv3</artifactId>
|
||
<version>1.2.0</version>
|
||
</dependency>
|
||
|
||
<!-- mybatisplus-plus start -->
|
||
<dependency>
|
||
<groupId>com.github.jeffreyning</groupId>
|
||
<artifactId>mybatisplus-plus</artifactId>
|
||
<version>1.7.0-RELEASE</version>
|
||
</dependency>
|
||
<!-- mybatisplus-plus end -->
|
||
|
||
<dependency>
|
||
<groupId>com.whdc</groupId>
|
||
<artifactId>AbsoluteLayout</artifactId>
|
||
<version>1.0</version>
|
||
<systemPath>${project.basedir}/lib/AbsoluteLayout.jar</systemPath>
|
||
<scope>system</scope>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.whdc</groupId>
|
||
<artifactId>jna</artifactId>
|
||
<version>1.0</version>
|
||
<systemPath>${project.basedir}/lib/jna.jar</systemPath>
|
||
<scope>system</scope>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.whdc</groupId>
|
||
<artifactId>rt</artifactId>
|
||
<version>1.0</version>
|
||
<systemPath>${project.basedir}/lib/rt.jar</systemPath>
|
||
<scope>system</scope>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.whdc</groupId>
|
||
<artifactId>swing-layout</artifactId>
|
||
<version>1.0.3</version>
|
||
<systemPath>${project.basedir}/lib/swing-layout-1.0.3.jar</systemPath>
|
||
<scope>system</scope>
|
||
</dependency>
|
||
<!-- Spring WebSocket -->
|
||
<dependency>
|
||
<groupId>org.springframework</groupId>
|
||
<artifactId>spring-websocket</artifactId>
|
||
</dependency>
|
||
|
||
<!-- Jakarta WebSocket API -->
|
||
<dependency>
|
||
<groupId>jakarta.websocket</groupId>
|
||
<artifactId>jakarta.websocket-api</artifactId>
|
||
<version>2.1.0</version>
|
||
<scope>provided</scope>
|
||
</dependency>
|
||
</dependencies>
|
||
|
||
|
||
<build>
|
||
<plugins>
|
||
<!-- 使用spring-boot-maven-plugin打包 -->
|
||
<plugin>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
<configuration>
|
||
<mainClass>com.whdc.TdwyApplication</mainClass>
|
||
</configuration>
|
||
<executions>
|
||
<execution>
|
||
<goals>
|
||
<goal>repackage</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
</plugins>
|
||
<!-- 添加资源拷贝配置 -->
|
||
<resources>
|
||
<resource>
|
||
<directory>lib</directory>
|
||
<targetPath>BOOT-INF/lib/</targetPath>
|
||
<includes>
|
||
<include>*.jar</include>
|
||
</includes>
|
||
</resource>
|
||
<resource>
|
||
<directory>src/main/resources</directory>
|
||
</resource>
|
||
</resources>
|
||
</build>
|
||
<!-- <build>-->
|
||
<!-- <plugins>-->
|
||
<!-- <!– 1.生成的jar中,不要包含pom.xml和pom.properties这两个文件 –>-->
|
||
<!-- <plugin>-->
|
||
<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
||
<!-- <artifactId>maven-jar-plugin</artifactId>-->
|
||
<!-- <configuration>-->
|
||
<!-- <archive>-->
|
||
<!-- <addMavenDescriptor>false</addMavenDescriptor>-->
|
||
<!-- <manifest>-->
|
||
<!-- <!– 是否要把第三方jar加入到类构建路径 –>-->
|
||
<!-- <addClasspath>true</addClasspath>-->
|
||
<!-- <!– 外部依赖jar包的最终位置 –>-->
|
||
<!-- <classpathPrefix>lib/</classpathPrefix>-->
|
||
<!-- <!– 项目启动类 –>-->
|
||
<!-- <mainClass>com.whdc.YjtApplication</mainClass>-->
|
||
<!-- </manifest>-->
|
||
<!-- </archive>-->
|
||
<!-- </configuration>-->
|
||
<!-- </plugin>-->
|
||
|
||
<!-- <!–2.拷贝依赖到jar外面的lib目录–>-->
|
||
<!-- <plugin>-->
|
||
<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
||
<!-- <artifactId>maven-dependency-plugin</artifactId>-->
|
||
<!-- <executions>-->
|
||
<!-- <execution>-->
|
||
<!-- <id>copy-lib</id>-->
|
||
<!-- <phase>package</phase>-->
|
||
<!-- <goals>-->
|
||
<!-- <goal>copy-dependencies</goal>-->
|
||
<!-- </goals>-->
|
||
<!-- <configuration>-->
|
||
<!-- <outputDirectory>${copy.jar.directory}/lib</outputDirectory>-->
|
||
<!-- <excludeTransitive>false</excludeTransitive>-->
|
||
<!-- <stripVersion>false</stripVersion>-->
|
||
<!-- <includeScope>runtime</includeScope>-->
|
||
<!-- </configuration>-->
|
||
<!-- </execution>-->
|
||
<!-- </executions>-->
|
||
<!-- </plugin>-->
|
||
|
||
<!-- <!– 3.把jar包拷贝到指定目录位置 –>-->
|
||
<!-- <plugin>-->
|
||
<!-- <artifactId>maven-antrun-plugin</artifactId>-->
|
||
<!-- <executions>-->
|
||
<!-- <execution>-->
|
||
<!-- <id>copy</id>-->
|
||
<!-- <phase>package</phase>-->
|
||
<!-- <configuration>-->
|
||
<!-- <target>-->
|
||
<!-- <copy todir="${copy.jar.directory}">-->
|
||
<!-- <fileset dir="${project.build.directory}">-->
|
||
<!-- <include name="${project.artifactId}.${project.version}.jar"/>-->
|
||
<!-- </fileset>-->
|
||
<!-- </copy>-->
|
||
<!-- </target>-->
|
||
<!-- </configuration>-->
|
||
<!-- <goals>-->
|
||
<!-- <goal>run</goal>-->
|
||
<!-- </goals>-->
|
||
<!-- </execution>-->
|
||
<!-- </executions>-->
|
||
<!-- </plugin>-->
|
||
<!-- </plugins>-->
|
||
<!-- </build>-->
|
||
|
||
</project> |