From 8e0b2b23294ac1fdce43b9076b93e29e9aa51530 Mon Sep 17 00:00:00 2001 From: ‘liusuyi’ <1951119284@qq.com> Date: 星期二, 12 三月 2024 09:37:25 +0800 Subject: [PATCH] 配置文件增加自定义tcp重连间隔时间 --- pom.xml | 320 +++++++++++++++++++++++++--------------------------- 1 files changed, 155 insertions(+), 165 deletions(-) diff --git a/pom.xml b/pom.xml index 6ac5930..4ddcd2e 100644 --- a/pom.xml +++ b/pom.xml @@ -1,165 +1,155 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-parent</artifactId> - <version>2.7.12</version> - <relativePath/> <!-- lookup parent from repository --> - </parent> - <groupId>com.ard</groupId> - <artifactId>ard-alarm</artifactId> - <version>0.0.1-SNAPSHOT</version> - <name>ard-alarm</name> - <description>ard-alarm</description> - <properties> - <java.version>1.8</java.version> - <docker.image.prefix>ard</docker.image.prefix> - </properties> - <dependencies> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter</artifactId> - </dependency> - <!-- netty渚濊禆 springboot2.x鑷姩瀵煎叆鐗堟湰 --> - <dependency> - <groupId>io.netty</groupId> - <artifactId>netty-all</artifactId> - </dependency> - <!--mqtt--> - <dependency> - <groupId>org.springframework.integration</groupId> - <artifactId>spring-integration-mqtt</artifactId> - <version>6.0.3</version> - </dependency> - <dependency> - <groupId>com.alibaba.fastjson2</groupId> - <artifactId>fastjson2</artifactId> - <version>2.0.23</version> - </dependency> - <dependency> - <groupId>org.projectlombok</groupId> - <artifactId>lombok</artifactId> - <optional>true</optional> - </dependency> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-web</artifactId> - </dependency> - - <!--娴峰悍褰曞儚鏈轰簩娆″紑鍙戜緷璧杍ar鍖�--> - <dependency> - <groupId>net.java.jna</groupId> - <artifactId>jna</artifactId> - <version>1.0.0</version> - </dependency> - <dependency> - <groupId>net.java.examples</groupId> - <artifactId>examples</artifactId> - <version>1.0.0</version> - </dependency> - <!--MP浠g爜鐢熸垚鍣ㄤ緷璧�--> - <dependency> - <groupId>com.baomidou</groupId> - <artifactId>mybatis-plus-generator</artifactId> - <version>3.5.3.1</version> - </dependency> - <!--velocity妯℃澘寮曟搸--> - <dependency> - <groupId>org.apache.velocity</groupId> - <artifactId>velocity-engine-core</artifactId> - <version>2.0</version> - </dependency> - <!--mybatis-plus渚濊禆--> - <dependency> - <groupId>com.baomidou</groupId> - <artifactId>mybatis-plus-boot-starter</artifactId> - <version>3.5.1</version> - </dependency> - <!--Oracle jdbc--> - <!--杩欓噷娉ㄦ剰锛屾煇浜沷jdbc鐨勭増鏈笉鏀寔jdk1.8锛岄亣鍒拌繃锛岀綉涓婅杩欎釜ojdbc8鏀寔锛屾墍浠ヨ繖閲屼娇鐢ㄥ畠--> - <dependency> - <groupId>com.oracle.ojdbc</groupId> - <artifactId>ojdbc8</artifactId> - <version>19.3.0.0</version> - </dependency> - <dependency> - <groupId>com.oracle.database.nls</groupId> - <artifactId>orai18n</artifactId> - <version>21.1.0.0</version> - </dependency> - <!--minio渚濊禆--> - <dependency> - <groupId>io.minio</groupId> - <artifactId>minio</artifactId> - <version>8.3.5</version> - </dependency> - <dependency> - <groupId>org.apache.commons</groupId> - <artifactId>commons-lang3</artifactId> - <version>3.12.0</version> - </dependency> - <dependency> - <groupId>org.gavaghan</groupId> - <artifactId>geodesy</artifactId> - <version>1.1.3</version> - </dependency> - <!--druid渚濊禆--> - <dependency> - <groupId>com.alibaba</groupId> - <artifactId>druid-spring-boot-starter</artifactId> - <version>1.2.14</version> - </dependency> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-jdbc</artifactId> - </dependency> - <dependency> - <groupId>org.postgresql</groupId> - <artifactId>postgresql</artifactId> - </dependency> - </dependencies> - - <build> - <!-- 椤圭洰鎵撳寘鍚嶇О --> - <finalName>ard_alarm</finalName> - <plugins> - <plugin> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-maven-plugin</artifactId> - <configuration> - <excludes> - <exclude> - <groupId>org.projectlombok</groupId> - <artifactId>lombok</artifactId> - </exclude> - </excludes> - </configuration> - </plugin> - <plugin> - <groupId>com.spotify</groupId> - <artifactId>dockerfile-maven-plugin</artifactId> - <version>1.3.6</version> - <configuration> - <repository>${docker.image.prefix}/${project.artifactId}</repository> - <buildArgs> - <JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE> - </buildArgs> - </configuration> - </plugin> - <plugin> - <groupId>org.mybatis.generator</groupId> - <artifactId>mybatis-generator-maven-plugin</artifactId> - <version>1.4.1</version> - <configuration> - <!--閰嶇疆鏂囦欢浣嶇疆--> - <configurationFile>src/main/resources/GeneratorMapper.xml</configurationFile> - <verbose>true</verbose> - <overwrite>true</overwrite> - </configuration> - </plugin> - </plugins> - </build> - -</project> +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-parent</artifactId> + <version>2.7.12</version> + <relativePath/> <!-- lookup parent from repository --> + </parent> + <groupId>com.ard</groupId> + <artifactId>ard-alarm</artifactId> + <version>0.0.1-SNAPSHOT</version> + <name>ard-alarm</name> + <description>ard-alarm</description> + <properties> + <java.version>1.8</java.version> + <docker.image.prefix>ard</docker.image.prefix> + </properties> + <dependencies> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter</artifactId> + </dependency> + <!-- netty渚濊禆 springboot2.x鑷姩瀵煎叆鐗堟湰 --> + <dependency> + <groupId>io.netty</groupId> + <artifactId>netty-all</artifactId> + </dependency> + <!--mqtt--> + <dependency> + <groupId>org.springframework.integration</groupId> + <artifactId>spring-integration-mqtt</artifactId> + <version>6.0.3</version> + </dependency> + <dependency> + <groupId>com.alibaba.fastjson2</groupId> + <artifactId>fastjson2</artifactId> + <version>2.0.23</version> + </dependency> + <dependency> + <groupId>org.projectlombok</groupId> + <artifactId>lombok</artifactId> + <optional>true</optional> + </dependency> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-web</artifactId> + </dependency> + + <!--娴峰悍褰曞儚鏈轰簩娆″紑鍙戜緷璧杍ar鍖�--> + <dependency> + <groupId>net.java.dev.jna</groupId> + <artifactId>jna</artifactId> + <version>5.4.0</version> + </dependency> + + <dependency> + <groupId>net.java.examples</groupId> + <artifactId>examples</artifactId> + <version>1.0.0</version> + </dependency> + <!--MP浠g爜鐢熸垚鍣ㄤ緷璧�--> + <dependency> + <groupId>com.baomidou</groupId> + <artifactId>mybatis-plus-generator</artifactId> + <version>3.5.3.1</version> + </dependency> + <!--velocity妯℃澘寮曟搸--> + <dependency> + <groupId>org.apache.velocity</groupId> + <artifactId>velocity-engine-core</artifactId> + <version>2.0</version> + </dependency> + <!--mybatis-plus渚濊禆--> + <dependency> + <groupId>com.baomidou</groupId> + <artifactId>mybatis-plus-boot-starter</artifactId> + <version>3.5.1</version> + </dependency> + <!--Oracle jdbc--> + <!--杩欓噷娉ㄦ剰锛屾煇浜沷jdbc鐨勭増鏈笉鏀寔jdk1.8锛岄亣鍒拌繃锛岀綉涓婅杩欎釜ojdbc8鏀寔锛屾墍浠ヨ繖閲屼娇鐢ㄥ畠--> + <dependency> + <groupId>com.oracle.ojdbc</groupId> + <artifactId>ojdbc8</artifactId> + <version>19.3.0.0</version> + </dependency> + <dependency> + <groupId>com.oracle.database.nls</groupId> + <artifactId>orai18n</artifactId> + <version>21.1.0.0</version> + </dependency> + <!--minio渚濊禆--> + <dependency> + <groupId>io.minio</groupId> + <artifactId>minio</artifactId> + <version>8.3.5</version> + </dependency> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-lang3</artifactId> + <version>3.12.0</version> + </dependency> + <dependency> + <groupId>org.gavaghan</groupId> + <artifactId>geodesy</artifactId> + <version>1.1.3</version> + </dependency> + <!--druid渚濊禆--> + <dependency> + <groupId>com.alibaba</groupId> + <artifactId>druid-spring-boot-starter</artifactId> + <version>1.2.14</version> + </dependency> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-jdbc</artifactId> + </dependency> + <dependency> + <groupId>org.postgresql</groupId> + <artifactId>postgresql</artifactId> + </dependency> + </dependencies> + + <build> + <!-- 椤圭洰鎵撳寘鍚嶇О --> + <finalName>ard_alarm</finalName> + <plugins> + <plugin> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-maven-plugin</artifactId> + <configuration> + <excludes> + <exclude> + <groupId>org.projectlombok</groupId> + <artifactId>lombok</artifactId> + </exclude> + </excludes> + </configuration> + </plugin> + <plugin> + <groupId>org.mybatis.generator</groupId> + <artifactId>mybatis-generator-maven-plugin</artifactId> + <version>1.4.1</version> + <configuration> + <!--閰嶇疆鏂囦欢浣嶇疆--> + <configurationFile>src/main/resources/GeneratorMapper.xml</configurationFile> + <verbose>true</verbose> + <overwrite>true</overwrite> + </configuration> + </plugin> + </plugins> + </build> + +</project> -- Gitblit v1.9.3