| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- <?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.18</version>
- <relativePath/>
- </parent>
- <groupId>com.mes</groupId>
- <artifactId>mesclient-xiaochong</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <name>mesclient-xiaochong</name>
- <description>MES 小冲客户端(按 client-id 拆 XC1=6 / XC2=5 / XC3=4,Modbus TCP + Swing)</description>
- <packaging>jar</packaging>
- <properties>
- <java.version>1.8</java.version>
- <maven.compiler.source>1.8</maven.compiler.source>
- <maven.compiler.target>1.8</maven.compiler.target>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
- <dependencies>
- <!-- Spring Boot:仅作启动/依赖管理,关闭 Web -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter</artifactId>
- </dependency>
- <!-- 日志:保留原 logback.xml 行为;starter 已带 logback,排除冲突的旧版由 parent 统一管理 -->
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- <!-- JSON / HTTP / 工具(原 lib 中有 Maven 坐标的改走中央仓库) -->
- <dependency>
- <groupId>com.alibaba.fastjson2</groupId>
- <artifactId>fastjson2</artifactId>
- <version>2.0.16</version>
- </dependency>
- <dependency>
- <groupId>com.squareup.okhttp3</groupId>
- <artifactId>okhttp</artifactId>
- <version>4.10.0</version>
- </dependency>
- <dependency>
- <groupId>com.google.code.gson</groupId>
- <artifactId>gson</artifactId>
- <version>2.10</version>
- </dependency>
- <dependency>
- <groupId>commons-codec</groupId>
- <artifactId>commons-codec</artifactId>
- <version>1.15</version>
- </dependency>
- <dependency>
- <groupId>org.xerial</groupId>
- <artifactId>sqlite-jdbc</artifactId>
- <version>3.36.0.3</version>
- </dependency>
- <dependency>
- <groupId>org.jfree</groupId>
- <artifactId>jfreechart</artifactId>
- <version>1.5.4</version>
- </dependency>
- <dependency>
- <groupId>com.fazecast</groupId>
- <artifactId>jSerialComm</artifactId>
- <version>2.6.2</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-all</artifactId>
- <version>4.1.48.Final</version>
- </dependency>
- <!-- 本地 jar:保持与原 lib 完全一致,避免升级 API 不兼容 -->
- <dependency>
- <groupId>com.github.xingshuangs</groupId>
- <artifactId>iot-communication</artifactId>
- <version>1.4.4</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/lib/iot-communication-1.4.4.jar</systemPath>
- </dependency>
- <dependency>
- <groupId>com.github.s7connector</groupId>
- <artifactId>s7connector</artifactId>
- <version>2.1</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/lib/s7connector-2.1.jar</systemPath>
- </dependency>
- <dependency>
- <groupId>net.sourceforge</groupId>
- <artifactId>jshortcut</artifactId>
- <version>0.4</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/lib/jshortcut-0.4-oberzalek.jar</systemPath>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <configuration>
- <!-- 桌面入口;打包时把 system 依赖也打进 fat jar -->
- <mainClass>com.mes.MesClientApplication</mainClass>
- <includeSystemScope>true</includeSystemScope>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </project>
|