#支持微服务,添加rpc模块,添加对外层facade的依赖

This commit is contained in:
ycl
2026-05-11 12:00:51 +08:00
parent 3a2f297d93
commit 4ea853589d
3 changed files with 32 additions and 0 deletions

View File

@@ -16,5 +16,6 @@
</dependencies> </dependencies>
<modules> <modules>
<module>web</module> <module>web</module>
<module>rpc</module>
</modules> </modules>
</project> </project>

View File

@@ -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>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-entrance</artifactId>
<version>${revision}</version>
</parent>
<artifactId>{{ .artifactId }}-entrance-rpc</artifactId>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-service</artifactId>
</dependency>
</dependencies>
</project>

View File

@@ -17,6 +17,11 @@
<artifactId>{{ .parentArtifactId }}-common</artifactId> <artifactId>{{ .parentArtifactId }}-common</artifactId>
<version>${revision}</version> <version>${revision}</version>
</dependency> </dependency>
<dependency>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .parentArtifactId }}-facade</artifactId>
<version>${revision}</version>
</dependency>
<dependency> <dependency>
<groupId>{{ .groupId }}</groupId> <groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-common</artifactId> <artifactId>{{ .artifactId }}-common</artifactId>
@@ -50,6 +55,11 @@
<artifactId>{{ .parentArtifactId }}-common</artifactId> <artifactId>{{ .parentArtifactId }}-common</artifactId>
<version>${revision}</version> <version>${revision}</version>
</dependency> </dependency>
<dependency>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .parentArtifactId }}-facade</artifactId>
<version>${revision}</version>
</dependency>
</dependencies> </dependencies>
<modules> <modules>
<module>persist</module> <module>persist</module>