2021-08-27 17:43:55 +08:00
|
|
|
|
<?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.5.4</version>
|
|
|
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
|
|
|
</parent>
|
|
|
|
|
<groupId>com.qgs</groupId>
|
|
|
|
|
<artifactId>dc</artifactId>
|
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
|
<name>dc</name>
|
|
|
|
|
<description>data collection</description>
|
|
|
|
|
<properties>
|
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
|
</properties>
|
|
|
|
|
<dependencies>
|
|
|
|
|
<!-- OPC UA 模块依赖 开始 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.eclipse.milo</groupId>
|
|
|
|
|
<artifactId>sdk-client</artifactId>
|
2022-03-20 09:19:25 +08:00
|
|
|
|
<version>0.6.4</version>
|
2021-08-27 17:43:55 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.eclipse.milo</groupId>
|
|
|
|
|
<artifactId>stack-client</artifactId>
|
2022-03-20 09:19:25 +08:00
|
|
|
|
<version>0.6.4</version>
|
2021-08-27 17:43:55 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.eclipse.milo</groupId>
|
|
|
|
|
<artifactId>stack-server</artifactId>
|
2022-03-20 09:19:25 +08:00
|
|
|
|
<version>0.6.4</version>
|
2021-08-27 17:43:55 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.eclipse.milo</groupId>
|
|
|
|
|
<artifactId>sdk-server</artifactId>
|
2022-03-20 09:19:25 +08:00
|
|
|
|
<version>0.6.4</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
|
<version>30.1.1-jre</version>
|
2021-08-27 17:43:55 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
<!-- OPC UA 模块依赖 结束 -->
|
|
|
|
|
|
|
|
|
|
<!-- 日志(logback+slf4j) 开始 -->
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
|
<version>1.7.32</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/ch.qos.logback/logback-core -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
|
<artifactId>logback-core</artifactId>
|
|
|
|
|
<version>1.2.5</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/ch.qos.logback/logback-classic -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
|
|
<version>1.2.5</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 日志 结束 -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- websocket 开始 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-websocket</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- websocket 结束 -->
|
|
|
|
|
|
|
|
|
|
<!-- fastjson 开始 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
|
<version>1.2.78</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- fastjson 结束 -->
|
|
|
|
|
<!-- hutool 开始 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
|
<artifactId>hutool-all</artifactId>
|
|
|
|
|
<version>5.7.9</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- hutool 结束 -->
|
|
|
|
|
|
2022-07-04 09:20:39 +08:00
|
|
|
|
|
|
|
|
|
|
2021-08-27 17:43:55 +08:00
|
|
|
|
<!-- rabbitmq 依赖 开始 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-amqp</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- rabbitmq 依赖 结束 -->
|
|
|
|
|
|
|
|
|
|
<!-- fastjson 开始 -->
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
|
<version>1.2.75</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- fastjson 结束 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- jackson依赖 开始 -->
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
|
<version>2.12.2</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-core -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
|
<artifactId>jackson-core</artifactId>
|
|
|
|
|
<version>2.12.2</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-annotations -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
|
<artifactId>jackson-annotations</artifactId>
|
|
|
|
|
<version>2.12.2</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- jackson依赖 结束 -->
|
|
|
|
|
|
2021-09-25 14:25:08 +08:00
|
|
|
|
<!-- 西门子S7 驱动 开始 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.plc4x</groupId>
|
|
|
|
|
<artifactId>plc4j-api</artifactId>
|
|
|
|
|
<version>0.9.0</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.plc4x</groupId>
|
|
|
|
|
<artifactId>plc4j-connection-cache</artifactId>
|
|
|
|
|
<version>0.9.0</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.apache.plc4x/plc4j-connection-pool -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.plc4x</groupId>
|
|
|
|
|
<artifactId>plc4j-connection-pool</artifactId>
|
|
|
|
|
<version>0.9.0</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.plc4x</groupId>
|
|
|
|
|
<artifactId>plc4j-driver-s7</artifactId>
|
|
|
|
|
<version>0.9.0</version>
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- 西门子S7 驱动 结束 -->
|
|
|
|
|
|
2021-08-27 17:43:55 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
<optional>true</optional>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2022-07-04 09:20:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
|
|
|
</dependency>
|
2022-11-25 15:00:33 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
|
|
<optional>true</optional>
|
|
|
|
|
</dependency>
|
2022-07-04 09:20:39 +08:00
|
|
|
|
<!-- influx begin -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.influxdb</groupId>
|
|
|
|
|
<artifactId>influxdb-client-java</artifactId>
|
2022-11-25 15:00:33 +08:00
|
|
|
|
<version>6.7.0</version>
|
2022-07-04 09:20:39 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- influx end -->
|
|
|
|
|
|
|
|
|
|
|
2021-08-27 17:43:55 +08:00
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
<version>2.5.4</version>
|
2021-09-14 19:53:47 +08:00
|
|
|
|
|
2021-08-27 17:43:55 +08:00
|
|
|
|
<configuration>
|
2021-09-14 19:53:47 +08:00
|
|
|
|
|
2021-08-27 17:43:55 +08:00
|
|
|
|
<excludes>
|
|
|
|
|
<exclude>
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
</exclude>
|
|
|
|
|
</excludes>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
</project>
|