فهرست منبع

添加Netty模块,以及依赖

wanggaokun 1 سال پیش
والد
کامیت
7effada75a
5فایلهای تغییر یافته به همراه66 افزوده شده و 1 حذف شده
  1. 5 1
      PHM-admin/phm-admin/pom.xml
  2. 5 0
      PHM-admin/phm-common/pom.xml
  3. 4 0
      PHM-admin/phm-manage/pom.xml
  4. 33 0
      PHM-admin/phm-netty/pom.xml
  5. 19 0
      PHM-admin/pom.xml

+ 5 - 1
PHM-admin/phm-admin/pom.xml

@@ -16,7 +16,6 @@
     </description>
 
     <dependencies>
-
         <!-- spring-boot-devtools -->
         <dependency>
             <groupId>org.springframework.boot</groupId>
@@ -66,6 +65,11 @@
             <artifactId>phm-manage</artifactId>
         </dependency>
 
+        <dependency>
+            <groupId>com.phm</groupId>
+            <artifactId>phm-netty</artifactId>
+        </dependency>
+
     </dependencies>
 
     <build>

+ 5 - 0
PHM-admin/phm-common/pom.xml

@@ -17,6 +17,11 @@
 
     <dependencies>
 
+        <dependency>
+            <groupId>cn.hutool</groupId>
+            <artifactId>hutool-all</artifactId>
+        </dependency>
+
         <!-- Spring框架基本的核心工具 -->
         <dependency>
             <groupId>org.springframework</groupId>

+ 4 - 0
PHM-admin/phm-manage/pom.xml

@@ -25,6 +25,10 @@
             <groupId>com.phm</groupId>
             <artifactId>phm-system</artifactId>
         </dependency>
+        <dependency>
+            <groupId>com.phm</groupId>
+            <artifactId>phm-netty</artifactId>
+        </dependency>
     </dependencies>
 
 </project>

+ 33 - 0
PHM-admin/phm-netty/pom.xml

@@ -0,0 +1,33 @@
+<?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>com.phm</groupId>
+        <artifactId>phm</artifactId>
+        <version>1.0.0</version>
+    </parent>
+
+    <artifactId>phm-netty</artifactId>
+
+    <properties>
+        <maven.compiler.source>8</maven.compiler.source>
+        <maven.compiler.target>8</maven.compiler.target>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>io.netty</groupId>
+            <artifactId>netty-all</artifactId>
+        </dependency>
+
+        <!-- 通用工具-->
+        <dependency>
+            <groupId>com.phm</groupId>
+            <artifactId>phm-common</artifactId>
+        </dependency>
+    </dependencies>
+
+</project>

+ 19 - 0
PHM-admin/pom.xml

@@ -30,12 +30,24 @@
         <velocity.version>2.3</velocity.version>
         <jwt.version>0.9.1</jwt.version>
         <lombok.version>1.18.28</lombok.version>
+        <netty-all.version>4.1.86.Final</netty-all.version>
+        <hutool.version>4.6.0</hutool.version>
     </properties>
 	
     <!-- 依赖声明 -->
     <dependencyManagement>
         <dependencies>
 
+            <dependency>
+                <groupId>cn.hutool</groupId>
+                <artifactId>hutool-all</artifactId>
+                <version>${hutool.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>io.netty</groupId>
+                <artifactId>netty-all</artifactId>
+                <version>${netty-all.version}</version>
+            </dependency>
             <dependency>
                 <groupId>org.projectlombok</groupId>
                 <artifactId>lombok</artifactId>
@@ -181,6 +193,12 @@
                 <artifactId>phm-manage</artifactId>
                 <version>${phm.version}</version>
             </dependency>
+
+            <dependency>
+                <groupId>com.phm</groupId>
+                <artifactId>phm-netty</artifactId>
+                <version>${phm.version}</version>
+            </dependency>
         </dependencies>
     </dependencyManagement>
 
@@ -192,6 +210,7 @@
         <module>phm-generator</module>
         <module>phm-common</module>
         <module>phm-manage</module>
+        <module>phm-netty</module>
     </modules>
     <packaging>pom</packaging>