7b398b4fb3
1、添加lombok依赖 2、分离注册周期事件
274 lines
7.4 KiB
XML
274 lines
7.4 KiB
XML
<?xml version="1.0"?>
|
|
<project
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
|
|
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>2.3.5.RELEASE</version>
|
|
</parent>
|
|
|
|
<groupId>com.genersoft</groupId>
|
|
<artifactId>wvp-pro</artifactId>
|
|
<version>2.0</version>
|
|
<name>web video platform</name>
|
|
<description>国标28181视频平台</description>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>nexus-aliyun</id>
|
|
<name>Nexus aliyun</name>
|
|
<url>https://maven.aliyun.com/repository/public</url>
|
|
<layout>default</layout>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
</repository>
|
|
</repositories>
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>nexus-aliyun</id>
|
|
<name>Nexus aliyun</name>
|
|
<url>https://maven.aliyun.com/repository/public</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.build.timestamp.format>MMddHHmm</maven.build.timestamp.format>
|
|
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
|
|
<jedis-version>3.1.0</jedis-version>
|
|
|
|
<!-- 依赖版本 -->
|
|
<snippetsDirectory>${project.build.directory}/generated-snippets</snippetsDirectory>
|
|
<asciidoctor.input.directory>${project.basedir}/docs/asciidoc</asciidoctor.input.directory>
|
|
<generated.asciidoc.directory>${project.build.directory}/asciidoc</generated.asciidoc.directory>
|
|
<asciidoctor.html.output.directory>${project.build.directory}/asciidoc/html</asciidoctor.html.output.directory>
|
|
<asciidoctor.pdf.output.directory>${project.build.directory}/asciidoc/pdf</asciidoctor.pdf.output.directory>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
<version>2.1.4</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>redis.clients</groupId>
|
|
<artifactId>jedis</artifactId>
|
|
<version>${jedis-version}</version>
|
|
</dependency>
|
|
|
|
<!-- druid数据库连接池 -->
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>druid</artifactId>
|
|
<version>1.2.3</version>
|
|
</dependency>
|
|
|
|
<!-- mysql数据库 -->
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<version>8.0.22</version>
|
|
</dependency>
|
|
|
|
<!-- 添加sqlite-jdbc数据库驱动 -->
|
|
<dependency>
|
|
<groupId>org.xerial</groupId>
|
|
<artifactId>sqlite-jdbc</artifactId>
|
|
<version>3.32.3.2</version>
|
|
</dependency>
|
|
|
|
<!--Mybatis分页插件 -->
|
|
<dependency>
|
|
<groupId>com.github.pagehelper</groupId>
|
|
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
|
<version>1.4.1</version>
|
|
</dependency>
|
|
|
|
<!--Swagger3 -->
|
|
<!--在线文档 -->
|
|
<dependency>
|
|
<groupId>io.springfox</groupId>
|
|
<artifactId>springfox-boot-starter</artifactId>
|
|
<version>3.0.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.xiaoymin</groupId>
|
|
<artifactId>knife4j-spring-boot-starter</artifactId>
|
|
<version>3.0.2</version>
|
|
</dependency>
|
|
|
|
|
|
<!--参数校验 -->
|
|
<dependency>
|
|
<groupId>javax.validation</groupId>
|
|
<artifactId>validation-api</artifactId>
|
|
</dependency>
|
|
|
|
<!-- 日志相关 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
</dependency>
|
|
|
|
<!-- sip协议栈 -->
|
|
<dependency>
|
|
<groupId>javax.sip</groupId>
|
|
<artifactId>jain-sip-ri</artifactId>
|
|
<version>1.3.0-91</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
<version>1.2.17</version>
|
|
</dependency>
|
|
|
|
<!-- xml解析库 -->
|
|
<dependency>
|
|
<groupId>org.dom4j</groupId>
|
|
<artifactId>dom4j</artifactId>
|
|
<version>2.1.3</version>
|
|
</dependency>
|
|
|
|
<!-- json解析库fastjson -->
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>fastjson</artifactId>
|
|
<version>1.2.73</version>
|
|
</dependency>
|
|
|
|
<!--Guava是一种基于开源的Java库-->
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>30.0-jre</version>
|
|
</dependency>
|
|
|
|
<!-- okhttp -->
|
|
<dependency>
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
<artifactId>okhttp</artifactId>
|
|
<version>4.9.0</version>
|
|
</dependency>
|
|
|
|
<!-- okhttp-digest -->
|
|
<dependency>
|
|
<groupId>com.burgstaller</groupId>
|
|
<artifactId>okhttp-digest</artifactId>
|
|
<version>2.1</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/net.sf.kxml/kxml2 -->
|
|
<dependency>
|
|
<groupId>net.sf.kxml</groupId>
|
|
<artifactId>kxml2</artifactId>
|
|
<version>2.3.0</version>
|
|
</dependency>
|
|
|
|
<!--反向代理-->
|
|
<dependency>
|
|
<groupId>org.mitre.dsmiley.httpproxy</groupId>
|
|
<artifactId>smiley-http-proxy-servlet</artifactId>
|
|
<version>1.12</version>
|
|
</dependency>
|
|
|
|
<!--excel解析库-->
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>easyexcel</artifactId>
|
|
<version>3.0.4</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.session</groupId>
|
|
<artifactId>spring-session-core</artifactId>
|
|
</dependency>
|
|
|
|
<!-- <!– 检测文件编码 –>-->
|
|
<!-- <!– https://mvnrepository.com/artifact/cpdetector/cpdetector –>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>cpdetector</groupId>-->
|
|
<!-- <artifactId>cpdetector</artifactId>-->
|
|
<!-- <version>1.0.8</version>-->
|
|
<!-- </dependency>-->
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<!-- <scope>test</scope>-->
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
<finalName>${project.artifactId}-${project.version}-${maven.build.timestamp}</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<configuration>
|
|
<includeSystemScope>true</includeSystemScope>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>pl.project13.maven</groupId>
|
|
<artifactId>git-commit-id-plugin</artifactId>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<skipTests>true</skipTests>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
</project>
|