diff --git a/template/entrance/pom.xml b/template/entrance/pom.xml
index 5a229eb..72c6d88 100644
--- a/template/entrance/pom.xml
+++ b/template/entrance/pom.xml
@@ -17,6 +17,7 @@
+ rpc
web
-
\ No newline at end of file
+
diff --git a/template/pom.xml b/template/pom.xml
index 3cc5fd3..c7e0e33 100644
--- a/template/pom.xml
+++ b/template/pom.xml
@@ -300,9 +300,12 @@
+ public_api/types
+ public_api/api
+ public_service
+ modules
entrance
common
- public_service
client
-
\ No newline at end of file
+
diff --git a/template/public_api/api/pom.xml b/template/public_api/api/pom.xml
new file mode 100644
index 0000000..e797d21
--- /dev/null
+++ b/template/public_api/api/pom.xml
@@ -0,0 +1,20 @@
+
+
+ 4.0.0
+
+
+ {{ .groupId }}
+ {{ .artifactId }}-public-api
+ ${revision}
+ ../pom.xml
+
+ {{ .artifactId }}-public-api-api
+
+
+
+ {{ .groupId }}
+ {{ .artifactId }}-public-api-types
+ ${revision}
+
+
+
diff --git a/template/public_api/pom.xml b/template/public_api/pom.xml
new file mode 100644
index 0000000..0f3d664
--- /dev/null
+++ b/template/public_api/pom.xml
@@ -0,0 +1,19 @@
+
+
+ 4.0.0
+
+
+ {{ .groupId }}
+ {{ .artifactId }}
+ ${revision}
+ ../pom.xml
+
+ {{ .artifactId }}-public-api
+ pom
+
+
+ types
+ api
+ jar
+
+
diff --git a/template/public_api/types/pom.xml b/template/public_api/types/pom.xml
new file mode 100644
index 0000000..e7f70ee
--- /dev/null
+++ b/template/public_api/types/pom.xml
@@ -0,0 +1,12 @@
+
+
+ 4.0.0
+
+
+ {{ .groupId }}
+ {{ .artifactId }}-public-api
+ ${revision}
+ ../pom.xml
+
+ {{ .artifactId }}-public-api-types
+
diff --git a/template/public_service/pom.xml b/template/public_service/pom.xml
index 1b97851..02c1fd7 100644
--- a/template/public_service/pom.xml
+++ b/template/public_service/pom.xml
@@ -8,4 +8,12 @@
${revision}
{{ .artifactId }}-public-service
+
+
+
+ {{ .groupId }}
+ {{ .artifactId }}-public-api-types
+ ${revision}
+
+