fix:打包插件添加版本号

master
xiwa 2023-10-25 18:37:39 +08:00
parent 3d8e7ef524
commit a7483c0ae8
7 changed files with 11 additions and 3 deletions

View File

@ -52,6 +52,7 @@
<plugin>
<groupId>com.gitee.starblues</groupId>
<artifactId>spring-brick-maven-packager</artifactId>
<version>${spring-brick.version}</version>
<configuration>
<mode>${plugin.build.mode}</mode>
<pluginInfo>

View File

@ -45,6 +45,7 @@
<plugin>
<groupId>com.gitee.starblues</groupId>
<artifactId>spring-brick-maven-packager</artifactId>
<version>${spring-brick.version}</version>
<configuration>
<mode>${plugin.build.mode}</mode>
<pluginInfo>

View File

@ -56,6 +56,7 @@
<plugin>
<groupId>com.gitee.starblues</groupId>
<artifactId>spring-brick-maven-packager</artifactId>
<version>${spring-brick.version}</version>
<configuration>
<mode>${plugin.build.mode}</mode>
<pluginInfo>

View File

@ -8,6 +8,7 @@
<module>http-plugin</module>
<module>modbus-plugin</module>
<module>tcp-plugin</module>
<module>tcp-plugin2</module>
</modules>
<parent>

View File

@ -57,6 +57,7 @@
<plugin>
<groupId>com.gitee.starblues</groupId>
<artifactId>spring-brick-maven-packager</artifactId>
<version>${spring-brick.version}</version>
<configuration>
<mode>${plugin.build.mode}</mode>
<pluginInfo>

View File

@ -5,7 +5,6 @@ import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jackson.databind.SerializerProvider;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.vertx.core.buffer.Buffer;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

View File

@ -79,8 +79,12 @@ public class TcpServerVerticle extends AbstractVerticle {
@Override
public void start() {
tcpServer = new VertxTcpServer();
try {
initConfig();
initTcpServer();
} catch (Exception e) {
log.error("init tcp server failed", e);
}
}
@Override