<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>com.qianwen</groupId>
|
<artifactId>mdc-parent</artifactId>
|
<version>1.0.0-SNAPSHOT</version>
|
</parent>
|
<artifactId>mdc-collect</artifactId>
|
|
<name>mdc-collect</name>
|
<description>Mdc collect</description>
|
|
<properties>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<java.version>1.8</java.version>
|
<druid.version>1.1.18</druid.version>
|
<fastjson.version>1.2.58</fastjson.version>
|
<commons-io.version>2.10.0</commons-io.version>
|
<commons-codec.version>1.10</commons-codec.version>
|
<mysql-connector.version>8.0.17</mysql-connector.version>
|
<jedis.version>3.1.0</jedis.version>
|
<commons-pool2.version>2.6.2</commons-pool2.version>
|
<jna.version>5.14.0</jna.version>
|
<skipTests>false</skipTests>
|
|
<localLibPath>D:/yangys/mdm/locallib</localLibPath>
|
</properties>
|
|
<dependencies>
|
<!-- spring boot begin -->
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>com.alibaba</groupId>
|
<artifactId>druid-spring-boot-starter</artifactId>
|
<version>${druid.version}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>com.baomidou</groupId>
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-web</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-test</artifactId>
|
<scope>test</scope>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.apache.commons</groupId>
|
<artifactId>commons-pool2</artifactId>
|
</dependency>
|
|
<!-- spring boot end -->
|
<!-- commons-io -->
|
<dependency>
|
<groupId>commons-io</groupId>
|
<artifactId>commons-io</artifactId>
|
</dependency>
|
|
<!--json-->
|
<dependency>
|
<groupId>com.alibaba</groupId>
|
<artifactId>fastjson</artifactId>
|
<version>${fastjson.version}</version>
|
</dependency>
|
|
<!--commons-codec-->
|
<dependency>
|
<groupId>commons-codec</groupId>
|
<artifactId>commons-codec</artifactId>
|
</dependency>
|
|
<!--mysql-->
|
<dependency>
|
<groupId>mysql</groupId>
|
<artifactId>mysql-connector-java</artifactId>
|
<version>${mysql-connector.version}</version>
|
</dependency>
|
|
<!--mybatis-->
|
<dependency>
|
<groupId>io.github.lmlx66</groupId>
|
<artifactId>yitter-idgenerator-spring-boot-starter</artifactId>
|
</dependency>
|
|
<!-- <dependency>
|
<groupId>org.opcfoundation</groupId>
|
<artifactId>opc-ua</artifactId>
|
<version>1.0.0</version>
|
</dependency> -->
|
<!--jna-->
|
<dependency>
|
<groupId>net.java.dev.jna</groupId>
|
<artifactId>jna</artifactId>
|
<version>${jna.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>net.java.dev.jna</groupId>
|
<artifactId>jna-platform</artifactId>
|
<version>${jna.version}</version>
|
</dependency>
|
|
|
<dependency>
|
<groupId>com.github.zengfr</groupId>
|
<artifactId>easymodbus4j</artifactId>
|
<version>0.0.5</version>
|
</dependency>
|
<dependency>
|
<groupId>com.github.zengfr</groupId>
|
<artifactId>easymodbus4j-extension</artifactId>
|
<version>0.0.5</version>
|
</dependency>
|
<dependency>
|
<groupId>com.github.zengfr</groupId>
|
<artifactId>easymodbus4j-client</artifactId>
|
<version>0.0.5</version>
|
</dependency>
|
<dependency>
|
<groupId>com.github.zengfr</groupId>
|
<artifactId>easymodbus4j-server</artifactId>
|
<version>0.0.5</version>
|
</dependency>
|
<dependency>
|
<groupId>com.github.s7connector</groupId>
|
<artifactId>s7connector</artifactId>
|
<version>2.1</version>
|
</dependency>
|
<dependency>
|
<groupId>net.sf.jni4net</groupId>
|
<artifactId>jni4net.j</artifactId>
|
<version>0.8.8.0</version>
|
</dependency>
|
<dependency>
|
<groupId>org.apache.httpcomponents</groupId>
|
<artifactId>httpclient</artifactId>
|
<version>4.5.13</version>
|
</dependency>
|
<dependency>
|
<groupId>org.eclipse.swt</groupId>
|
<artifactId>org.eclipse.swt.win32.win32.x86</artifactId>
|
<version>4.3</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.eclipse.milo</groupId>
|
<artifactId>sdk-client</artifactId>
|
<version>0.6.10</version>
|
</dependency>
|
<dependency>
|
<groupId>org.bouncycastle</groupId>
|
<artifactId>bcpkix-jdk15on</artifactId>
|
<version>1.70</version>
|
</dependency>
|
<dependency>
|
<groupId>org.eclipse.milo</groupId>
|
<artifactId>sdk-server</artifactId>
|
<version>0.6.10</version>
|
</dependency>
|
|
<dependency>
|
<groupId>SIEMENS_LIB</groupId>
|
<artifactId>j4n</artifactId>
|
<version>1.0</version>
|
<scope>system</scope>
|
<systemPath>${localLibPath}/SIEMENS_LIB.j4n.jar</systemPath>
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
<plugins>
|
<plugin>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
<configuration>
|
<mainClass>com.qianwen.mdc.MdcCollectApplication</mainClass>
|
<layout>ZIP</layout>
|
<includes>
|
<!-- 打包时包含核心模块依赖包,需手动指定 -->
|
<include>
|
<groupId>nothing</groupId>
|
<artifactId>nothing</artifactId>
|
</include>
|
<!--
|
<include>
|
<groupId>com.xxx</groupId>
|
<artifactId>common</artifactId>
|
</include>
|
-->
|
</includes>
|
</configuration>
|
</plugin>
|
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
<configuration>
|
<source>1.8</source>
|
<target>1.8</target>
|
<encoding>UTF-8</encoding>
|
<compilerArguments>
|
<extdirs>${project.basedir}/src/main/resources/lib/opcua</extdirs>
|
</compilerArguments>
|
</configuration>
|
</plugin>
|
</plugins>
|
</build>
|
</project>
|