Используется библеотека j2mod. pom.xml добавлен для того, что бы эта библиотека работала. Сборка на maven SDK проекта: openjdk-20
49 lines
1.5 KiB
XML
49 lines
1.5 KiB
XML
<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>org.example</groupId>
|
|
<artifactId>ModbusV3</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
<properties>
|
|
<maven.compiler.source>20</maven.compiler.source>
|
|
<maven.compiler.target>20</maven.compiler.target>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.ghgande</groupId>
|
|
<artifactId>j2mod</artifactId>
|
|
<version>3.1.1</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>1.7.5</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-simple</artifactId>
|
|
<version>1.6.4</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.wimpi</groupId>
|
|
<artifactId>jamod</artifactId>
|
|
<version>1.2</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.intelligt.modbus</groupId>
|
|
<artifactId>jlibmodbus</artifactId>
|
|
<version>1.2.9.7</version>
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
</project> |