Skip to content

Commit

Permalink
feat: init mdtp modules
Browse files Browse the repository at this point in the history
Signed-off-by: ZhangJian He <[email protected]>
  • Loading branch information
ZhangJian He committed Sep 4, 2024
1 parent 5f692e5 commit cc22299
Show file tree
Hide file tree
Showing 8 changed files with 67 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/java_checkstyle.yml

This file was deleted.

21 changes: 21 additions & 0 deletions mdtp-client/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?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>mdtp-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>

<artifactId>mdtp-client</artifactId>

<dependencies>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-handler</artifactId>
</dependency>
</dependencies>

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

public class MdtpClient {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package io.github.protocol.mdtp.client;
21 changes: 21 additions & 0 deletions mdtp-server/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?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>mdtp-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>

<artifactId>mdtp-server</artifactId>

<dependencies>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-handler</artifactId>
</dependency>
</dependencies>

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

public class MdtpServer {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package io.github.protocol.mdtp.server;
15 changes: 15 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
<packaging>pom</packaging>

<modules>
<module>mdtp-client</module>
<module>mdtp-server</module>
</modules>

<properties>
Expand All @@ -21,6 +23,7 @@
<junit.version>5.11.0</junit.version>
<log4j.version>2.20.0</log4j.version>
<lombok.version>1.18.34</lombok.version>
<netty.version>4.1.112.Final</netty.version>
<slf4j.version>2.0.16</slf4j.version>
<!-- plugin -->
<lombok-maven-plugin.version>1.18.20.0</lombok-maven-plugin.version>
Expand All @@ -38,6 +41,18 @@
<spotless-maven-plugi.version>2.43.0</spotless-maven-plugi.version>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-bom</artifactId>
<version>${netty.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
Expand Down

0 comments on commit cc22299

Please sign in to comment.