From cb213f4417def6ea7b3cc07d8b4a3534c3e971c2 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期三, 17 十一月 2021 18:13:05 +0800 Subject: [PATCH] 修复 #223与去除警告 --- pom.xml | 240 +++++++++++++++++++++++++++++++++++++++--------------------- 1 files changed, 156 insertions(+), 84 deletions(-) diff --git a/pom.xml b/pom.xml index ebb4e80..5cd5f04 100644 --- a/pom.xml +++ b/pom.xml @@ -6,111 +6,134 @@ <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> - <version>1.5.10.RELEASE</version> + <version>2.3.5.RELEASE</version> </parent> <groupId>com.genersoft</groupId> - <artifactId>wvp</artifactId> + <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> - <hystrix.version>1.5.12</hystrix.version> <!-- 渚濊禆鐗堟湰 --> - <mapper.version>3.4.0</mapper.version> - <mybatis.version>3.3.1</mybatis.version> - <mybatis.spring.version>1.2.4</mybatis.spring.version> - <pagehelper.version>4.1.1</pagehelper.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> - <gson.version>2.8.0</gson.version> - <jedis.version>3.0.1</jedis.version> - <jsonlib.version>2.4</jsonlib.version> </properties> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-jdbc</artifactId> - </dependency> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-tomcat</artifactId> + <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</groupId> - <artifactId>spring-context</artifactId> + <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 --> + <!-- druid鏁版嵁搴撹繛鎺ユ睜 --> <dependency> <groupId>com.alibaba</groupId> <artifactId>druid</artifactId> - <version>1.0.11</version> + <version>1.2.3</version> </dependency> + + <!-- mysql鏁版嵁搴� --> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> - <version>5.1.30</version> + <version>8.0.22</version> </dependency> - <!--Mybatis --> + <!-- 娣诲姞sqlite-jdbc鏁版嵁搴撻┍鍔� --> <dependency> - <groupId>org.mybatis</groupId> - <artifactId>mybatis</artifactId> - <version>${mybatis.version}</version> - </dependency> - <dependency> - <groupId>org.mybatis</groupId> - <artifactId>mybatis-spring</artifactId> - <version>${mybatis.spring.version}</version> + <groupId>org.xerial</groupId> + <artifactId>sqlite-jdbc</artifactId> + <version>3.32.3.2</version> </dependency> - <!--鍒嗛〉鎻掍欢 --> + <!--Mybatis鍒嗛〉鎻掍欢 --> <dependency> <groupId>com.github.pagehelper</groupId> - <artifactId>pagehelper</artifactId> - <version>${pagehelper.version}</version> + <artifactId>pagehelper-spring-boot-starter</artifactId> + <version>1.2.10</version> </dependency> - <!--閫氱敤Mapper --> - <dependency> - <groupId>tk.mybatis</groupId> - <artifactId>mapper</artifactId> - <version>${mapper.version}</version> - </dependency> - <dependency> - <groupId>org.apache.commons</groupId> - <artifactId>commons-lang3</artifactId> - <version>3.4</version> - </dependency> - <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson --> - <dependency> - <groupId>com.alibaba</groupId> - <artifactId>fastjson</artifactId> - <version>1.2.33</version> - </dependency> - - <!--Swagger2 --> + <!--Swagger3 --> <!--鍦ㄧ嚎鏂囨。 --> <dependency> <groupId>io.springfox</groupId> - <artifactId>springfox-swagger2</artifactId> - <version>2.6.1</version> + <artifactId>springfox-boot-starter</artifactId> + <version>3.0.0</version> </dependency> <dependency> - <groupId>io.springfox</groupId> - <artifactId>springfox-swagger-ui</artifactId> - <version>2.6.1</version> + <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> <!-- 鏃ュ織鐩稿叧 --> @@ -119,37 +142,38 @@ <artifactId>spring-boot-starter-aop</artifactId> </dependency> + <!-- sip鍗忚鏍� --> <dependency> <groupId>javax.sip</groupId> <artifactId>jain-sip-ri</artifactId> - <version>1.3.0-92</version> - <!-- <scope>system</scope> - <systemPath>${project.basedir}/libs/jain-sip-ri-1.3.0-91.jar</systemPath> --> + <version>1.3.0-91</version> </dependency> + + <dependency> + <groupId>log4j</groupId> + <artifactId>log4j</artifactId> + <version>1.2.17</version> + </dependency> + + <!-- xml瑙f瀽搴� --> <dependency> <groupId>org.dom4j</groupId> <artifactId>dom4j</artifactId> <version>2.1.3</version> </dependency> + + <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson --> <dependency> - <groupId>com.google.code.gson</groupId> - <artifactId>gson</artifactId> - </dependency> - <dependency> - <groupId>org.springframework.data</groupId> - <artifactId>spring-data-redis</artifactId> - <version>1.8.4.RELEASE</version> - </dependency> - <dependency> - <groupId>redis.clients</groupId> - <artifactId>jedis</artifactId> - <version>2.9.0</version> + <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>18.0</version> + <version>30.0-jre</version> </dependency> <!-- okhttp --> @@ -159,14 +183,64 @@ <version>4.9.0</version> </dependency> - </dependencies> + <!-- 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> + + <!--鍙嶅悜浠g悊--> + <dependency> + <groupId>org.mitre.dsmiley.httpproxy</groupId> + <artifactId>smiley-http-proxy-servlet</artifactId> + <version>1.12</version> + </dependency> + +<!-- <!– 妫�娴嬫枃浠剁紪鐮� –>--> +<!-- <!– https://mvnrepository.com/artifact/cpdetector/cpdetector –>--> +<!-- <dependency>--> +<!-- <groupId>cpdetector</groupId>--> +<!-- <artifactId>cpdetector</artifactId>--> +<!-- <version>1.0.8</version>--> +<!-- </dependency>--> + + + + <!-- onvif鍗忚鏍� --> + <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> + </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> + <configuration> + <includeSystemScope>true</includeSystemScope> + </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> @@ -174,22 +248,20 @@ <configuration> <source>1.8</source> <target>1.8</target> - <webResources> - <resource> - <directory>${project.basedir}/libs</directory> - <targetPath>WEB-INF/lib</targetPath> - <filtering>true</filtering> - <includes> - <include>**/*.jar</include> - </includes> - </resource> - </webResources> </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> -- Gitblit v1.8.0