Skip to content

Commit

Permalink
feat: init mtconnect modules
Browse files Browse the repository at this point in the history
Signed-off-by: ZhangJian He <shoothzj@gmail.com>
  • Loading branch information
shoothzj committed Sep 4, 2024
1 parent e38882e commit efdc217
Show file tree
Hide file tree
Showing 14 changed files with 167 additions and 29 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/java_checkstyle.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[default.extend-words]
# keyword fp
"vertx" = "vertx"
14 changes: 14 additions & 0 deletions mtconnect-client-api/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?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>
<parent>
<groupId>io.github.protocol-laboratory</groupId>
<artifactId>mtconnect-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>

<artifactId>mtconnect-client-api</artifactId>

</project>
22 changes: 22 additions & 0 deletions mtconnect-client-reactive/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?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>
<parent>
<groupId>io.github.protocol-laboratory</groupId>
<artifactId>mtconnect-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>

<artifactId>mtconnect-client-reactive</artifactId>

<dependencies>
<dependency>
<groupId>io.projectreactor.netty</groupId>
<artifactId>reactor-netty-http</artifactId>
<version>${reactor-netty.version}</version>
</dependency>
</dependencies>

</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package io.github.protocol.mtconnect.client.reactive;

public class ReactiveMtConnectClient {
}
27 changes: 27 additions & 0 deletions mtconnect-client-vertx/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?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>
<parent>
<groupId>io.github.protocol-laboratory</groupId>
<artifactId>mtconnect-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>

<artifactId>mtconnect-client-vertx</artifactId>

<dependencies>
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-core</artifactId>
<version>${vertx.version}</version>
</dependency>
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-web-client</artifactId>
<version>${vertx.version}</version>
</dependency>
</dependencies>

</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package io.github.protocol.mtconnect.client.vertx;

import io.vertx.core.Vertx;

public class MtConnectClient {
private final Vertx vertx;

public MtConnectClient() {
this.vertx = Vertx.vertx();
}
}
8 changes: 0 additions & 8 deletions mtconnect-parent.iml

This file was deleted.

14 changes: 14 additions & 0 deletions mtconnect-server-api/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?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>
<parent>
<groupId>io.github.protocol-laboratory</groupId>
<artifactId>mtconnect-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>

<artifactId>mtconnect-server-api</artifactId>

</project>
22 changes: 22 additions & 0 deletions mtconnect-server-reactive/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?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>
<parent>
<groupId>io.github.protocol-laboratory</groupId>
<artifactId>mtconnect-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>

<artifactId>mtconnect-server-reactive</artifactId>

<dependencies>
<dependency>
<groupId>io.projectreactor.netty</groupId>
<artifactId>reactor-netty-http</artifactId>
<version>${reactor-netty.version}</version>
</dependency>
</dependencies>

</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package io.github.protocol.mtconnect.server.reactive;

public class ReactiveMtConnectServer {
}
27 changes: 27 additions & 0 deletions mtconnect-server-vertx/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?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>
<parent>
<groupId>io.github.protocol-laboratory</groupId>
<artifactId>mtconnect-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>

<artifactId>mtconnect-server-vertx</artifactId>

<dependencies>
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-core</artifactId>
<version>${vertx.version}</version>
</dependency>
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-web</artifactId>
<version>${vertx.version}</version>
</dependency>
</dependencies>

</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package io.github.protocol.mtconnect.server.vertx;

import io.vertx.core.Vertx;

public class MtConnectServer {
private final Vertx vertx;

public MtConnectServer() {
this.vertx = Vertx.vertx();
}
}
8 changes: 8 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
<packaging>pom</packaging>

<modules>
<module>mtconnect-client-api</module>
<module>mtconnect-client-reactive</module>
<module>mtconnect-client-vertx</module>
<module>mtconnect-server-api</module>
<module>mtconnect-server-reactive</module>
<module>mtconnect-server-vertx</module>
</modules>

<properties>
Expand All @@ -21,7 +27,9 @@
<junit.version>5.11.0</junit.version>
<log4j.version>2.20.0</log4j.version>
<lombok.version>1.18.34</lombok.version>
<reactor-netty.version>1.1.22</reactor-netty.version>
<slf4j.version>2.0.16</slf4j.version>
<vertx.version>4.5.9</vertx.version>
<!-- plugin -->
<lombok-maven-plugin.version>1.18.20.0</lombok-maven-plugin.version>
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
Expand Down

0 comments on commit efdc217

Please sign in to comment.