commit 1ac2e603fc35e0cf7d3e1f51a9975e3a6d47aa59 Author: ycl Date: Mon May 18 14:34:47 2026 +0800 init commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8cd0df3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.vscode +.idea \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/template/common/pom.xml b/template/common/pom.xml new file mode 100644 index 0000000..d287aea --- /dev/null +++ b/template/common/pom.xml @@ -0,0 +1,15 @@ + + + 4.0.0 + + + {{ .groupId }} + {{ .artifactId }} + ${revision} + + + {{ .artifactId }}-common + + + + diff --git a/template/entrance/job/pom.xml b/template/entrance/job/pom.xml new file mode 100644 index 0000000..d0384a8 --- /dev/null +++ b/template/entrance/job/pom.xml @@ -0,0 +1,13 @@ + + + 4.0.0 + + + {{ .groupId }} + {{ .artifactId }}-entrance + ${revision} + + + {{ .artifactId }}-entrance-job + + diff --git a/template/entrance/mq/pom.xml b/template/entrance/mq/pom.xml new file mode 100644 index 0000000..37eb570 --- /dev/null +++ b/template/entrance/mq/pom.xml @@ -0,0 +1,19 @@ + + + 4.0.0 + + + {{ .groupId }} + {{ .artifactId }}-entrance + ${revision} + + + {{ .artifactId }}-entrance-mq + + + + {{ .groupId }} + {{ .artifactId }}-service + + + diff --git a/template/entrance/pom.xml b/template/entrance/pom.xml new file mode 100644 index 0000000..06c1af2 --- /dev/null +++ b/template/entrance/pom.xml @@ -0,0 +1,27 @@ + + + 4.0.0 + + {{ .groupId }} + {{ .artifactId }} + ${revision} + + {{ .artifactId }}-entrance + pom + + + {{ .groupId }} + {{ .artifactId }}-common + + + {{ .groupId }} + {{ .parentArtifactId }}-common + + + + job + mq + web + rpc + + diff --git a/template/entrance/rpc/pom.xml b/template/entrance/rpc/pom.xml new file mode 100644 index 0000000..5bfa6ec --- /dev/null +++ b/template/entrance/rpc/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + + {{ .groupId }} + {{ .artifactId }}-entrance + ${revision} + + + {{ .artifactId }}-entrance-rpc + + + + {{ .groupId }} + {{ .artifactId }}-service + + + + diff --git a/template/entrance/web/pom.xml b/template/entrance/web/pom.xml new file mode 100644 index 0000000..a7725ed --- /dev/null +++ b/template/entrance/web/pom.xml @@ -0,0 +1,25 @@ + + + 4.0.0 + + + {{ .groupId }} + {{ .artifactId }}-entrance + ${revision} + + + {{ .artifactId }}-entrance-web + jar + + + + {{ .groupId }} + {{ .artifactId }}-service + + + org.springframework + spring-webmvc + + + + diff --git a/template/manager/pom.xml b/template/manager/pom.xml new file mode 100644 index 0000000..ba61a27 --- /dev/null +++ b/template/manager/pom.xml @@ -0,0 +1,27 @@ + + + 4.0.0 + + + {{ .groupId }} + {{ .artifactId }} + ${revision} + + + {{ .artifactId }}-manager + + + + {{ .groupId }} + {{ .artifactId }}-persist + + + {{ .groupId }} + {{ .artifactId }}-common + + + junit + junit + + + diff --git a/template/module b/template/module new file mode 100644 index 0000000..ad93bc6 --- /dev/null +++ b/template/module @@ -0,0 +1,5 @@ +id={{ .moduleId }} +name={{ .moduleName | replace "-" "_" }} +projectId={{ .projectId }} +projectName={{ .projectName }} +applicationName={{ .applicationName }} diff --git a/template/persist/pom.xml b/template/persist/pom.xml new file mode 100644 index 0000000..58d3eda --- /dev/null +++ b/template/persist/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + + {{ .groupId }} + {{ .artifactId }} + ${revision} + + + {{ .artifactId }}-persist + + + + {{ .groupId }} + {{ .artifactId }}-common + + + + diff --git a/template/pom.xml b/template/pom.xml new file mode 100644 index 0000000..bd1c45a --- /dev/null +++ b/template/pom.xml @@ -0,0 +1,49 @@ + + + 4.0.0 + {{ .groupId }} + {{ .artifactId }} + pom + + {{ .groupId }} + {{ .parentArtifactId }} + ../../pom.xml + ${revision} + + + + + {{ .groupId }} + {{ .parentArtifactId }}-common + ${revision} + + + {{ .groupId }} + {{ .artifactId }}-common + ${revision} + + + {{ .groupId }} + {{ .artifactId }}-service + ${revision} + + + {{ .groupId }} + {{ .artifactId }}-persist + ${revision} + + + {{ .groupId }} + {{ .artifactId }}-manager + ${revision} + + + + + persist + service + common + manager + entrance + + diff --git a/template/service/pom.xml b/template/service/pom.xml new file mode 100644 index 0000000..1fefcae --- /dev/null +++ b/template/service/pom.xml @@ -0,0 +1,25 @@ + + + 4.0.0 + + + {{ .groupId }} + {{ .artifactId }} + ${revision} + + + {{ .artifactId }}-service + + + + {{ .groupId }} + {{ .artifactId }}-common + + + {{ .groupId }} + {{ .artifactId }}-manager + + + + + diff --git a/template/service/readme.md b/template/service/readme.md new file mode 100644 index 0000000..a85ecea --- /dev/null +++ b/template/service/readme.md @@ -0,0 +1 @@ +## 具体业务逻辑层定义,包括对api等实现,以Servcie为后缀 \ No newline at end of file diff --git a/values.yml b/values.yml new file mode 100644 index 0000000..2b1fc1d --- /dev/null +++ b/values.yml @@ -0,0 +1,11 @@ +moduleName: his_to +groupId: com.volunteerBank +artifactId: '{{ .moduleName | replace "-" "_" }}' +parentArtifactId: '{{ .projectName | replace "-" "_" }}' +projectId: 5faf4e3e-48e6-44b1-a7c5-79a0312aabe4 +moduleId: 27325654-a00a-44f1-a2db-245336f5b47e +version: 1.0-SNAPSHOT +package: "{{ .groupId }}.{{ .artifactId }}" +packagePath: '{{ .package | replace "." "/" }}' +projectName: volunteer-bank +applicationName: "{{ .projectName }}-server" \ No newline at end of file