From 7c849abf29dd848ee04c61f0074ae1d84705a9cf Mon Sep 17 00:00:00 2001 From: Awen <39176130+yu1183688986@users.noreply.github.com> Date: 星期五, 30 四月 2021 10:42:59 +0800 Subject: [PATCH] 修复集合遍历删除元素的java.util.ConcurrentModificationException 异常问题 --- pom.xml | 63 ++++++++++++++++++++++++------- 1 files changed, 48 insertions(+), 15 deletions(-) diff --git a/pom.xml b/pom.xml index c2f5d82..1b82c43 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,8 @@ </parent> <groupId>com.genersoft</groupId> - <artifactId>wvp</artifactId> + <artifactId>wvp-gb28181</artifactId> + <version>2.0.0</version> <name>web video platform</name> <repositories> @@ -43,6 +44,8 @@ <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format> + <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version> <!-- 渚濊禆鐗堟湰 --> <pagehelper.version>5.2.0</pagehelper.version> @@ -66,6 +69,10 @@ <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> <!-- druid鏁版嵁搴撹繛鎺ユ睜 --> @@ -96,24 +103,21 @@ <version>1.2.10</version> </dependency> -<!-- <dependency>--> -<!-- <groupId>org.apache.commons</groupId>--> -<!-- <artifactId>commons-lang3</artifactId>--> -<!-- <version>3.11</version>--> -<!-- </dependency>--> - - <!--Swagger2 --> + <!--Swagger3 --> <!--鍦ㄧ嚎鏂囨。 --> <dependency> <groupId>io.springfox</groupId> - <artifactId>springfox-swagger2</artifactId> - <version>2.9.2</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> @@ -165,14 +169,43 @@ <artifactId>okhttp</artifactId> <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> + + + <!-- 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> + </dependencies> + + <build> - <finalName>wvp-2.5.8</finalName> + <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> -- Gitblit v1.8.0