fix:打包插件添加版本号
parent
3d8e7ef524
commit
a7483c0ae8
|
@ -52,6 +52,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.gitee.starblues</groupId>
|
<groupId>com.gitee.starblues</groupId>
|
||||||
<artifactId>spring-brick-maven-packager</artifactId>
|
<artifactId>spring-brick-maven-packager</artifactId>
|
||||||
|
<version>${spring-brick.version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<mode>${plugin.build.mode}</mode>
|
<mode>${plugin.build.mode}</mode>
|
||||||
<pluginInfo>
|
<pluginInfo>
|
||||||
|
|
|
@ -45,6 +45,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.gitee.starblues</groupId>
|
<groupId>com.gitee.starblues</groupId>
|
||||||
<artifactId>spring-brick-maven-packager</artifactId>
|
<artifactId>spring-brick-maven-packager</artifactId>
|
||||||
|
<version>${spring-brick.version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<mode>${plugin.build.mode}</mode>
|
<mode>${plugin.build.mode}</mode>
|
||||||
<pluginInfo>
|
<pluginInfo>
|
||||||
|
|
|
@ -56,6 +56,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.gitee.starblues</groupId>
|
<groupId>com.gitee.starblues</groupId>
|
||||||
<artifactId>spring-brick-maven-packager</artifactId>
|
<artifactId>spring-brick-maven-packager</artifactId>
|
||||||
|
<version>${spring-brick.version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<mode>${plugin.build.mode}</mode>
|
<mode>${plugin.build.mode}</mode>
|
||||||
<pluginInfo>
|
<pluginInfo>
|
||||||
|
|
1
pom.xml
1
pom.xml
|
@ -8,6 +8,7 @@
|
||||||
<module>http-plugin</module>
|
<module>http-plugin</module>
|
||||||
<module>modbus-plugin</module>
|
<module>modbus-plugin</module>
|
||||||
<module>tcp-plugin</module>
|
<module>tcp-plugin</module>
|
||||||
|
<module>tcp-plugin2</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
|
|
|
@ -57,6 +57,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.gitee.starblues</groupId>
|
<groupId>com.gitee.starblues</groupId>
|
||||||
<artifactId>spring-brick-maven-packager</artifactId>
|
<artifactId>spring-brick-maven-packager</artifactId>
|
||||||
|
<version>${spring-brick.version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<mode>${plugin.build.mode}</mode>
|
<mode>${plugin.build.mode}</mode>
|
||||||
<pluginInfo>
|
<pluginInfo>
|
||||||
|
|
|
@ -5,7 +5,6 @@ import com.fasterxml.jackson.core.JsonGenerator;
|
||||||
import com.fasterxml.jackson.databind.JsonSerializer;
|
import com.fasterxml.jackson.databind.JsonSerializer;
|
||||||
import com.fasterxml.jackson.databind.SerializerProvider;
|
import com.fasterxml.jackson.databind.SerializerProvider;
|
||||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||||
import io.vertx.core.buffer.Buffer;
|
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Builder;
|
import lombok.Builder;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
|
@ -79,8 +79,12 @@ public class TcpServerVerticle extends AbstractVerticle {
|
||||||
@Override
|
@Override
|
||||||
public void start() {
|
public void start() {
|
||||||
tcpServer = new VertxTcpServer();
|
tcpServer = new VertxTcpServer();
|
||||||
initConfig();
|
try {
|
||||||
initTcpServer();
|
initConfig();
|
||||||
|
initTcpServer();
|
||||||
|
} catch (Exception e) {
|
||||||
|
log.error("init tcp server failed", e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue