648540858
2023-07-13 9fc3db1f5e381378fd54818e0ba017df6be96fa9
pom.xml
@@ -6,13 +6,15 @@
   <parent>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-parent</artifactId>
      <version>2.3.5.RELEASE</version>
      <version>2.7.2</version>
   </parent>
   <groupId>com.genersoft</groupId>
   <artifactId>wvp-pro</artifactId>
   <version>2.0</version>
   <version>2.6.8</version>
   <name>web video platform</name>
   <description>国标28181视频平台</description>
   <packaging>${project.packaging}</packaging>
   <repositories>
      <repository>
@@ -48,13 +50,48 @@
      <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
      <!-- 依赖版本 -->
      <pagehelper.version>5.2.0</pagehelper.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>
   <profiles>
      <profile>
         <id>jar</id>
         <activation>
            <activeByDefault>true</activeByDefault>
         </activation>
         <properties>
            <project.packaging>jar</project.packaging>
         </properties>
      </profile>
      <profile>
         <id>war</id>
         <properties>
            <project.packaging>war</project.packaging>
         </properties>
         <dependencies>
            <dependency>
               <groupId>org.springframework.boot</groupId>
               <artifactId>spring-boot-starter-web</artifactId>
               <exclusions>
                  <exclusion>
                     <groupId>org.springframework.boot</groupId>
                     <artifactId>spring-boot-starter-jetty</artifactId>
                  </exclusion>
               </exclusions>
            </dependency>
            <dependency>
               <groupId>javax.servlet</groupId>
               <artifactId>javax.servlet-api</artifactId>
               <version>3.1.0</version>
               <scope>provided</scope>
            </dependency>
         </dependencies>
      </profile>
   </profiles>
   <dependencies>
      <dependency>
@@ -73,54 +110,50 @@
      <dependency>
         <groupId>org.mybatis.spring.boot</groupId>
         <artifactId>mybatis-spring-boot-starter</artifactId>
         <version>2.1.4</version>
         <version>2.2.2</version>
         <exclusions>
            <exclusion>
               <groupId>com.zaxxer</groupId>
               <artifactId>HikariCP</artifactId>
            </exclusion>
         </exclusions>
      </dependency>
      <dependency>
         <groupId>org.springframework.boot</groupId>
         <artifactId>spring-boot-starter-security</artifactId>
      </dependency>
      <!-- druid数据库连接池 -->
      <dependency>
         <groupId>com.alibaba</groupId>
         <artifactId>druid</artifactId>
         <version>1.2.3</version>
         <groupId>org.springframework.boot</groupId>
         <artifactId>spring-boot-starter-jdbc</artifactId>
      </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>
         <version>8.0.30</version>
      </dependency>
      <!--Mybatis分页插件 -->
      <dependency>
         <groupId>com.github.pagehelper</groupId>
         <artifactId>pagehelper-spring-boot-starter</artifactId>
         <version>1.2.10</version>
         <version>1.4.3</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>
         <groupId>org.springdoc</groupId>
         <artifactId>springdoc-openapi-ui</artifactId>
         <version>1.6.10</version>
      </dependency>
      <dependency>
         <groupId>com.github.xiaoymin</groupId>
         <artifactId>knife4j-springdoc-ui</artifactId>
         <version>3.0.3</version>
      </dependency>
      <!--参数校验 -->
      <dependency>
@@ -141,10 +174,11 @@
         <version>1.3.0-91</version>
      </dependency>
      <!-- 取代log4j -->
      <dependency>
         <groupId>log4j</groupId>
         <artifactId>log4j</artifactId>
         <version>1.2.17</version>
         <groupId>org.slf4j</groupId>
         <artifactId>log4j-over-slf4j</artifactId>
         <version>1.7.36</version>
      </dependency>
      <!-- xml解析库 -->
@@ -154,46 +188,77 @@
         <version>2.1.3</version>
      </dependency>
      <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
      <!-- json解析库fastjson2 -->
      <dependency>
         <groupId>com.alibaba</groupId>
         <artifactId>fastjson</artifactId>
         <version>1.2.73</version>
         <groupId>com.alibaba.fastjson2</groupId>
         <artifactId>fastjson2</artifactId>
         <version>2.0.17</version>
      </dependency>
      <!--Guava是一种基于开源的Java库-->
      <dependency>
         <groupId>com.google.guava</groupId>
         <artifactId>guava</artifactId>
         <version>30.0-jre</version>
         <groupId>com.alibaba.fastjson2</groupId>
         <artifactId>fastjson2-extension</artifactId>
         <version>2.0.17</version>
      </dependency>
      <!-- okhttp -->
      <dependency>
         <groupId>com.squareup.okhttp3</groupId>
         <artifactId>okhttp</artifactId>
         <version>4.9.0</version>
         <version>4.10.0</version>
      </dependency>
      <!-- okhttp 调试日志 -->
      <dependency>
         <groupId>com.squareup.okhttp3</groupId>
         <artifactId>logging-interceptor</artifactId>
         <version>4.10.0</version>
      </dependency>
      <!-- okhttp-digest -->
      <dependency>
         <groupId>com.burgstaller</groupId>
         <groupId>io.github.rburgst</groupId>
         <artifactId>okhttp-digest</artifactId>
         <version>2.1</version>
         <version>2.7</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>-->
      <!-- jwt实现 -->
      <dependency>
         <groupId>net.sf.kxml</groupId>
         <artifactId>kxml2</artifactId>
         <version>2.3.0</version>
         <groupId>org.bitbucket.b_c</groupId>
         <artifactId>jose4j</artifactId>
         <version>0.9.3</version>
      </dependency>
      <!--反向代理-->
      <dependency>
         <groupId>org.mitre.dsmiley.httpproxy</groupId>
         <artifactId>smiley-http-proxy-servlet</artifactId>
         <version>1.12</version>
         <version>1.12.1</version>
      </dependency>
      <!--excel解析库-->
      <dependency>
         <groupId>com.alibaba</groupId>
         <artifactId>easyexcel</artifactId>
         <version>3.1.1</version>
      </dependency>
      <!-- 获取系统信息 -->
      <dependency>
         <groupId>com.github.oshi</groupId>
         <artifactId>oshi-core</artifactId>
         <version>6.2.2</version>
      </dependency>
      <dependency>
         <groupId>org.springframework.session</groupId>
         <artifactId>spring-session-core</artifactId>
      </dependency>
<!--      &lt;!&ndash; 检测文件编码 &ndash;&gt;-->
@@ -204,26 +269,30 @@
<!--         <version>1.0.8</version>-->
<!--      </dependency>-->
      <!-- onvif协议栈 -->
      <!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
      <dependency>
         <groupId>be.teletask</groupId>
         <artifactId>onvif-java</artifactId>
         <version>1.0.2</version>
         <scope>system</scope>
         <systemPath>${project.basedir}/libs/onvif-java-1.0.2.jar</systemPath>
         <groupId>com.google.guava</groupId>
         <artifactId>guava</artifactId>
         <version>31.1-jre</version>
      </dependency>
      <dependency>
         <groupId>org.springframework.boot</groupId>
         <artifactId>spring-boot-starter-test</artifactId>
<!--         <scope>test</scope>-->
      </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>
            <version>2.7.2</version>
            <configuration>
               <includeSystemScope>true</includeSystemScope>
            </configuration>
@@ -231,6 +300,7 @@
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <version>3.8.1</version>
            <configuration>
               <source>1.8</source>
               <target>1.8</target>
@@ -238,10 +308,36 @@
         </plugin>
         <plugin>
            <groupId>pl.project13.maven</groupId>
            <artifactId>git-commit-id-plugin</artifactId>
            <version>3.0.1</version>
            <configuration>
               <offline>true</offline>
               <failOnNoGitDirectory>false</failOnNoGitDirectory>
               <dateFormat>yyyyMMdd</dateFormat>
            </configuration>
         </plugin>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
            <version>2.22.2</version>
            <configuration>
               <skipTests>true</skipTests>
            </configuration>
         </plugin>
      </plugins>
      <resources>
         <resource>
            <directory>src/main/resources</directory>
         </resource>
         <resource>
            <directory>src/main/java</directory>
            <includes>
               <include>**/*.xml</include>
            </includes>
         </resource>
      </resources>
   </build>
</project>