2023-09-18 00:35:00 +00: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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<parent>
|
|
|
|
<artifactId>iot-iita-plugins</artifactId>
|
|
|
|
<groupId>cc.iotkit.plugins</groupId>
|
2024-02-08 16:16:50 +00:00
|
|
|
<version>1.0.1</version>
|
2023-09-18 00:35:00 +00:00
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<artifactId>modbus-plugin</artifactId>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.digitalpetri.modbus</groupId>
|
|
|
|
<artifactId>modbus-master-tcp</artifactId>
|
|
|
|
<version>1.2.0</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>dev</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<plugin.build.mode>dev</plugin.build.mode>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>prod</id>
|
|
|
|
<properties>
|
|
|
|
<plugin.build.mode>prod</plugin.build.mode>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.gitee.starblues</groupId>
|
|
|
|
<artifactId>spring-brick-maven-packager</artifactId>
|
2024-01-11 23:52:15 +00:00
|
|
|
<version>${spring-brick.version}</version>
|
2023-09-18 00:35:00 +00:00
|
|
|
<configuration>
|
|
|
|
<mode>${plugin.build.mode}</mode>
|
|
|
|
<pluginInfo>
|
|
|
|
<id>modbus-plugin</id>
|
|
|
|
<bootstrapClass>cc.iotkit.plugins.modbus.Application</bootstrapClass>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<provider>iita</provider>
|
|
|
|
<description>modbus示例插件</description>
|
|
|
|
<configFileName>application.yml</configFileName>
|
|
|
|
</pluginInfo>
|
|
|
|
<prodConfig>
|
|
|
|
<packageType>jar</packageType>
|
|
|
|
</prodConfig>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>repackage</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|