diff --git a/template/entrance/rpc/pom.xml b/template/entrance/rpc/pom.xml
index 6408400..471d9de 100644
--- a/template/entrance/rpc/pom.xml
+++ b/template/entrance/rpc/pom.xml
@@ -16,11 +16,14 @@
{{ .groupId }}
{{ .artifactId }}-service
+
+ {{ if hasKey . "microserviceFrameworkType" }}
{{ .groupId }}
{{ .parentArtifactId }}-remote-contract-interfaces
${revision}
+ {{ end }}
diff --git a/template/pom.xml b/template/pom.xml
index d8d1210..55c6ce9 100644
--- a/template/pom.xml
+++ b/template/pom.xml
@@ -50,6 +50,7 @@
{{ .parentArtifactId }}-public-service
${revision}
+ {{ if hasKey . "microserviceFrameworkType" }}
{{ .groupId }}
{{ .parentArtifactId }}-remote-contract-types
@@ -60,6 +61,7 @@
{{ .parentArtifactId }}-client
${revision}
+ {{ end }}
{{ .groupId }}
{{ .parentArtifactId }}-common