diff --git a/template/pom.xml b/template/pom.xml
index c1dcd14..42a2da2 100644
--- a/template/pom.xml
+++ b/template/pom.xml
@@ -242,11 +242,6 @@
transmittable-thread-local
2.12.3
-
- {{ .groupId }}
- {{ .artifactId }}-client
- ${revision}
-
{{- if and (eq .microserviceFrameworkType "DUBBO") .microserviceFrameworkVersion }}
org.apache.dubbo
@@ -287,6 +282,31 @@
+
+ org.codehaus.mojo
+ flatten-maven-plugin
+ 1.7.3
+
+ true
+ resolveCiFriendliesOnly
+
+
+
+ flatten
+ process-resources
+
+ flatten
+
+
+
+ flatten.clean
+ clean
+
+ clean
+
+
+
+
org.apache.maven.plugins
maven-enforcer-plugin
diff --git a/template/public_api/dist/pom.xml b/template/public_api/dist/pom.xml
index 5d534f4..049f75d 100644
--- a/template/public_api/dist/pom.xml
+++ b/template/public_api/dist/pom.xml
@@ -8,12 +8,12 @@
${revision}
../pom.xml
- {{ .artifactId }}-public-api-dist
+ {{ .artifactId }}-api
{{ .groupId }}
- {{ .artifactId }}-public-api-api
+ {{ .artifactId }}-public-interfaces
${revision}
@@ -26,13 +26,6 @@
{{ .artifactId }}-api
-
- org.apache.maven.plugins
- maven-jar-plugin
-
- true
-
-
org.apache.maven.plugins
maven-shade-plugin
@@ -62,13 +55,12 @@
-
- ${project.build.directory}/${project.build.finalName}.jar
- false
+ false
+ true
-
\ No newline at end of file
+
diff --git a/template/public_api/api/pom.xml b/template/public_api/interfaces/pom.xml
similarity index 91%
rename from template/public_api/api/pom.xml
rename to template/public_api/interfaces/pom.xml
index e797d21..420e076 100644
--- a/template/public_api/api/pom.xml
+++ b/template/public_api/interfaces/pom.xml
@@ -8,7 +8,7 @@
${revision}
../pom.xml
- {{ .artifactId }}-public-api-api
+ {{ .artifactId }}-public-api-interfaces
diff --git a/template/public_api/pom.xml b/template/public_api/pom.xml
index 8fbeb5f..1c6fc71 100644
--- a/template/public_api/pom.xml
+++ b/template/public_api/pom.xml
@@ -13,7 +13,7 @@
types
- api
+ interfaces
dist