74 lines
2.4 KiB
XML
Executable File
74 lines
2.4 KiB
XML
Executable File
<?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>
|
|
<version>1.0.0</version>
|
|
</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>
|
|
<version>${spring-brick-package.version}</version>
|
|
<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> |