Compare commits

7 Commits
main ... micro

Author SHA1 Message Date
oyo
d99f3e4e49 guard microservice dependencies by template flag 2026-06-16 18:43:30 +08:00
oyo
752a2f6c6f {{ .parentArtifactId }}-remote-contract-types 2026-06-01 10:54:11 +08:00
oyo
c44587b243 fix: correct public api dependency artifact 2026-05-27 19:01:48 +08:00
oyo
cab08f7bf0 {{ .parentArtifactId }}-public-api-types 2026-05-25 14:44:23 +08:00
oyo
4fb035b32c client 2026-05-21 17:28:28 +08:00
oyo
9feabc419c public-api-api 2026-05-21 16:36:48 +08:00
ycl
4ea853589d #支持微服务,添加rpc模块,添加对外层facade的依赖 2026-05-11 12:00:51 +08:00
3 changed files with 48 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,30 @@
<?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>
{{ if hasKey . "microserviceFrameworkType" }}
<dependency>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .parentArtifactId }}-remote-contract-interfaces</artifactId>
<version>${revision}</version>
</dependency>
{{ end }}
</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 }}-client</artifactId>
<version>${revision}</version>
</dependency>
<dependency> <dependency>
<groupId>{{ .groupId }}</groupId> <groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-common</artifactId> <artifactId>{{ .artifactId }}-common</artifactId>
@@ -45,6 +50,18 @@
<artifactId>{{ .parentArtifactId }}-public-service</artifactId> <artifactId>{{ .parentArtifactId }}-public-service</artifactId>
<version>${revision}</version> <version>${revision}</version>
</dependency> </dependency>
{{ if hasKey . "microserviceFrameworkType" }}
<dependency>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .parentArtifactId }}-remote-contract-types</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .parentArtifactId }}-client</artifactId>
<version>${revision}</version>
</dependency>
{{ end }}
<dependency> <dependency>
<groupId>{{ .groupId }}</groupId> <groupId>{{ .groupId }}</groupId>
<artifactId>{{ .parentArtifactId }}-common</artifactId> <artifactId>{{ .parentArtifactId }}-common</artifactId>