From 4ac63a158d16a0d2bce63f8fbadb9b7896397cd1 Mon Sep 17 00:00:00 2001 From: 648540858 <456panlinlin> Date: 星期五, 01 四月 2022 17:13:11 +0800 Subject: [PATCH] 使用getHostAddress代替getHostName避免经过DNS时间过久 --- pom.xml | 91 +++++++++++++++++++++++++++++++++------------ 1 files changed, 66 insertions(+), 25 deletions(-) diff --git a/pom.xml b/pom.xml index a1ac15a..7ad53db 100644 --- a/pom.xml +++ b/pom.xml @@ -11,8 +11,9 @@ <groupId>com.genersoft</groupId> <artifactId>wvp-pro</artifactId> - <version>2.0</version> + <version>2.0.2</version> <name>web video platform</name> + <description>鍥芥爣28181瑙嗛骞冲彴</description> <repositories> <repository> @@ -49,7 +50,6 @@ <jedis-version>3.1.0</jedis-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> @@ -90,8 +90,8 @@ <!-- druid鏁版嵁搴撹繛鎺ユ睜 --> <dependency> <groupId>com.alibaba</groupId> - <artifactId>druid</artifactId> - <version>1.2.3</version> + <artifactId>druid-spring-boot-starter</artifactId> + <version>1.1.22</version> </dependency> <!-- mysql鏁版嵁搴� --> @@ -112,7 +112,7 @@ <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper-spring-boot-starter</artifactId> - <version>1.2.10</version> + <version>1.4.1</version> </dependency> <!--Swagger3 --> @@ -148,10 +148,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.35</version> </dependency> <!-- xml瑙f瀽搴� --> @@ -161,18 +162,11 @@ <version>2.1.3</version> </dependency> - <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson --> + <!-- json瑙f瀽搴揻astjson --> <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 --> @@ -181,6 +175,15 @@ <artifactId>okhttp</artifactId> <version>4.9.0</version> </dependency> + + <!-- okhttp 璋冭瘯鏃ュ織 --> + <dependency> + <groupId>com.squareup.okhttp3</groupId> + <artifactId>logging-interceptor</artifactId> + <version>4.9.0</version> + </dependency> + + <!-- okhttp-digest --> <dependency> @@ -203,6 +206,25 @@ <version>1.12</version> </dependency> + <!--excel瑙f瀽搴�--> + <dependency> + <groupId>com.alibaba</groupId> + <artifactId>easyexcel</artifactId> + <version>3.0.4</version> + </dependency> + + <!-- 鑾峰彇绯荤粺淇℃伅 --> + <dependency> + <groupId>com.github.oshi</groupId> + <artifactId>oshi-core</artifactId> + <version>6.1.0</version> + </dependency> + + <dependency> + <groupId>org.springframework.session</groupId> + <artifactId>spring-session-core</artifactId> + </dependency> + <!-- <!– 妫�娴嬫枃浠剁紪鐮� –>--> <!-- <!– https://mvnrepository.com/artifact/cpdetector/cpdetector –>--> <!-- <dependency>--> @@ -211,16 +233,13 @@ <!-- <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.0.1-jre</version> </dependency> + <dependency> <groupId>org.springframework.boot</groupId> @@ -230,7 +249,7 @@ </dependencies> - + <build> <finalName>${project.artifactId}-${project.version}-${maven.build.timestamp}</finalName> <plugins> @@ -251,10 +270,32 @@ </plugin> <plugin> + <groupId>pl.project13.maven</groupId> + <artifactId>git-commit-id-plugin</artifactId> + <configuration> + <offline>true</offline> + </configuration> + </plugin> + + <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> + <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> -- Gitblit v1.8.0