123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- <?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>com.gct.driver</groupId>
- <artifactId>driver-modbus-siemens</artifactId>
- <version>1.0-SNAPSHOT</version>
- <dependencies>
- <dependency>
- <groupId>com.gct.common.driver</groupId>
- <artifactId>data-engine-driver</artifactId>
- <version>1.0-SNAPSHOT</version>
- </dependency>
- </dependencies>
- <properties>
- <maven.compiler.source>8</maven.compiler.source>
- <maven.compiler.target>8</maven.compiler.target>
- <jdk.version>8</jdk.version>
- <lombok.version>1.16.18</lombok.version>
- <lombok-maven-plugin.version>1.16.6.1</lombok-maven-plugin.version>
- <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
- </properties>
- <profiles>
- <profile>
- <id>gct-maven-profile</id>
- <activation>
- <!-- 默认激活此 profile -->
- <activeByDefault>true</activeByDefault>
- </activation>
- <repositories>
- <repository>
- <id>nexus</id>
- <name>Nexus Repository</name>
- <url>http://114.115.206.163:8081/repository/maven-public/</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- </repository>
- <repository>
- <id>central</id>
- <name>Nexus Central Repository</name>
- <url>http://114.115.206.163:8081/repository/maven-central/</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>release</id>
- <name>Nexus Release Repository</name>
- <url>http://114.115.206.163:8081/repository/maven-releases/</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>snapshots</id>
- <name>Nexus Snapshots Repository</name>
- <url>http://114.115.206.163:8081/repository/maven-snapshots/</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- <checksumPolicy>warn</checksumPolicy>
- </snapshots>
- </repository>
- </repositories>
- <pluginRepositories>
- <pluginRepository>
- <id>plugins</id>
- <name>Nexus Plugin Repositories</name>
- <url>http://114.115.206.163:8081/repository/maven-public/</url>
- </pluginRepository>
- </pluginRepositories>
- </profile>
- </profiles>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <appendAssemblyId>false</appendAssemblyId>
- <descriptorRefs>
- <descriptorRef>jar-with-dependencies</descriptorRef>
- </descriptorRefs>
- <archive>
- <manifest>
- <!-- 此处指定main方法入口的class -->
- <mainClass>com.gct.driver.Main</mainClass>
- </manifest>
- </archive>
- </configuration>
- <executions>
- <execution>
- <id>make-assembly</id>
- <phase>package</phase>
- <goals>
- <goal>assembly</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </project>
|