From 3ca5e42fcaea8e8624e7b9b8e482c49e196588bd Mon Sep 17 00:00:00 2001 From: ycl Date: Sun, 15 Jun 2025 15:45:44 +0800 Subject: [PATCH] #init commit --- template/common/pom.xml | 16 +++++++++++ template/entrance/job/pom.xml | 13 +++++++++ template/entrance/mq/pom.xml | 19 +++++++++++++ template/entrance/pom.xml | 28 ++++++++++++++++++++ template/entrance/rpc/pom.xml | 20 ++++++++++++++ template/entrance/web/pom.xml | 26 ++++++++++++++++++ template/manager/pom.xml | 28 ++++++++++++++++++++ template/persist/pom.xml | 25 ++++++++++++++++++ template/pom.xml | 50 +++++++++++++++++++++++++++++++++++ values.yml | 11 ++++++++ 10 files changed, 236 insertions(+) create mode 100644 template/common/pom.xml create mode 100644 template/entrance/job/pom.xml create mode 100644 template/entrance/mq/pom.xml create mode 100644 template/entrance/pom.xml create mode 100644 template/entrance/rpc/pom.xml create mode 100644 template/entrance/web/pom.xml create mode 100644 template/manager/pom.xml create mode 100644 template/persist/pom.xml create mode 100644 template/pom.xml create mode 100644 values.yml diff --git a/template/common/pom.xml b/template/common/pom.xml new file mode 100644 index 0000000..5c51870 --- /dev/null +++ b/template/common/pom.xml @@ -0,0 +1,16 @@ + + + 4.0.0 + + + {{ .groupId }} + {{ .artifactId }} + {{ .version }} + + + {{ .artifactId }}-common + {{ .version }} + + + + diff --git a/template/entrance/job/pom.xml b/template/entrance/job/pom.xml new file mode 100644 index 0000000..cb1dd2b --- /dev/null +++ b/template/entrance/job/pom.xml @@ -0,0 +1,13 @@ + + + 4.0.0 + + + {{ .groupId }} + {{ .artifactId }}-entrance + {{ .version }} + + + {{ .artifactId }}-entrance-job + + diff --git a/template/entrance/mq/pom.xml b/template/entrance/mq/pom.xml new file mode 100644 index 0000000..0d3eff1 --- /dev/null +++ b/template/entrance/mq/pom.xml @@ -0,0 +1,19 @@ + + + 4.0.0 + + + {{ .groupId }} + {{ .artifactId }}-entrance + {{ .version }} + + + {{ .artifactId }}-entrance-mq + + + + {{ .groupId }} + {{ .artifactId }}-service + + + diff --git a/template/entrance/pom.xml b/template/entrance/pom.xml new file mode 100644 index 0000000..9ae56c2 --- /dev/null +++ b/template/entrance/pom.xml @@ -0,0 +1,28 @@ + + + 4.0.0 + + {{ .groupId }} + {{ .artifactId }} + {{ .version }} + + {{ .artifactId }}-entrance + {{ .version }} + 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..aa1d512 --- /dev/null +++ b/template/entrance/rpc/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + + {{ .groupId }} + {{ .artifactId }}-entrance + {{ .version }} + + + {{ .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..ffac703 --- /dev/null +++ b/template/entrance/web/pom.xml @@ -0,0 +1,26 @@ + + + 4.0.0 + + + {{ .groupId }} + {{ .artifactId }}-entrance + {{ .version }} + + + {{ .artifactId }}-entrance-web + {{ .version }} + 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..801120b --- /dev/null +++ b/template/manager/pom.xml @@ -0,0 +1,28 @@ + + + 4.0.0 + + + {{ .groupId }} + {{ .artifactId }} + {{ .version }} + + + {{ .artifactId }}-manager + {{ .version }} + + + + {{ .groupId }} + {{ .artifactId }}-persist + + + {{ .groupId }} + {{ .artifactId }}-common + + + junit + junit + + + diff --git a/template/persist/pom.xml b/template/persist/pom.xml new file mode 100644 index 0000000..7a2c488 --- /dev/null +++ b/template/persist/pom.xml @@ -0,0 +1,25 @@ + + + 4.0.0 + + + {{ .groupId }} + {{ .artifactId }} + {{ .version }} + + + {{ .artifactId }}-persist + {{ .version }} + + + + {{ .groupId }} + {{ .artifactId }}-common + + + org.flywaydb + flyway-core + + + + diff --git a/template/pom.xml b/template/pom.xml new file mode 100644 index 0000000..a609cfd --- /dev/null +++ b/template/pom.xml @@ -0,0 +1,50 @@ + + + 4.0.0 + {{ .groupId }} + {{ .artifactId }} + {{ .version }} + pom + + {{ .groupId }} + {{ .parentArtifactId }} + ${revision} + ../../pom.xml + + + + + {{ .groupId }} + {{ .parentArtifactId }}-common + ${revision} + + + {{ .groupId }} + {{ .artifactId }}-common + {{ .version }} + + + {{ .groupId }} + {{ .artifactId }}-service + {{ .version }} + + + {{ .groupId }} + {{ .artifactId }}-persist + {{ .version }} + + + {{ .groupId }} + {{ .artifactId }}-manager + {{ .version }} + + + + + persist + service + common + manager + entrance + + diff --git a/values.yml b/values.yml new file mode 100644 index 0000000..93cb4bb --- /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: 3.0-SNAPSHOT +package: "{{ .groupId }}.{{ .artifactId }}" +packagePath: '{{ .package | replace "." "/" }}' +projectName: volunteer-bank +applicationName: "{{ .projectName }}-server" \ No newline at end of file