Compare commits

..

17 Commits

Author SHA1 Message Date
ycl
2f9d5fa591 更新 template/persist/pom.xml 2025-10-15 09:59:01 +08:00
ycl
239add455d 更新 template/service/pom.xml 2025-10-14 18:15:03 +08:00
ycl
20baf8c7ae 更新 template/persist/pom.xml 2025-10-14 18:14:48 +08:00
ycl
66bedca00d 更新 template/manager/pom.xml 2025-10-14 18:14:34 +08:00
ycl
f6f32e694b 更新 template/entrance/web/pom.xml 2025-10-14 18:14:12 +08:00
ycl
22968ccd51 更新 template/entrance/rpc/pom.xml 2025-10-14 18:13:55 +08:00
ycl
cd1ffceef5 更新 template/entrance/mq/pom.xml 2025-10-14 18:13:42 +08:00
ycl
a96034c149 更新 template/entrance/job/pom.xml 2025-10-14 18:13:25 +08:00
ycl
44943c182d 更新 template/entrance/pom.xml 2025-10-14 18:13:10 +08:00
ycl
b402d5eeb4 更新 template/common/pom.xml 2025-10-14 18:12:46 +08:00
ycl
3ffe900f35 更新 template/pom.xml 2025-10-14 18:12:20 +08:00
ycl
691c21450d 更新 values.yml 2025-10-14 17:53:56 +08:00
ycl
89e547a1b7 更新 template/pom.xml 2025-10-14 16:10:04 +08:00
ycl
ae9529101a 更新 template/pom.xml 2025-10-14 16:08:41 +08:00
ycl
eff4950e1e #init commit 2025-06-15 15:48:56 +08:00
ycl
4cd255fc3a #init commit 2025-06-15 15:47:02 +08:00
ycl
3ca5e42fca #init commit 2025-06-15 15:45:44 +08:00
13 changed files with 257 additions and 0 deletions

15
template/common/pom.xml Normal file
View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}</artifactId>
<version>${revision}</version>
</parent>
<artifactId>{{ .artifactId }}-common</artifactId>
<dependencies>
</dependencies>
</project>

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-entrance</artifactId>
<version>${revision}</version>
</parent>
<artifactId>{{ .artifactId }}-entrance-job</artifactId>
</project>

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-entrance</artifactId>
<version>${revision}</version>
</parent>
<artifactId>{{ .artifactId }}-entrance-mq</artifactId>
<dependencies>
<dependency>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-service</artifactId>
</dependency>
</dependencies>
</project>

27
template/entrance/pom.xml Normal file
View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}</artifactId>
<version>${revision}</version>
</parent>
<artifactId>{{ .artifactId }}-entrance</artifactId>
<packaging>pom</packaging>
<dependencies>
<dependency>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-common</artifactId>
</dependency>
<dependency>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .parentArtifactId }}-common</artifactId>
</dependency>
</dependencies>
<modules>
<module>job</module>
<module>mq</module>
<module>web</module>
<module>rpc</module>
</modules>
</project>

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-entrance</artifactId>
<version>${revision}</version>
</parent>
<artifactId>{{ .artifactId }}-entrance-rpc</artifactId>
<dependencies>
<dependency>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-service</artifactId>
</dependency>
</dependencies>
</project>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-entrance</artifactId>
<version>${revision}</version>
</parent>
<artifactId>{{ .artifactId }}-entrance-web</artifactId>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-service</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
</dependency>
</dependencies>
</project>

27
template/manager/pom.xml Normal file
View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}</artifactId>
<version>${revision}</version>
</parent>
<artifactId>{{ .artifactId }}-manager</artifactId>
<dependencies>
<dependency>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-persist</artifactId>
</dependency>
<dependency>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-common</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
</dependencies>
</project>

5
template/module Normal file
View File

@@ -0,0 +1,5 @@
id={{ .moduleId }}
name={{ .moduleName | replace "-" "_" }}
projectId={{ .projectId }}
projectName={{ .projectName }}
applicationName={{ .applicationName }}

20
template/persist/pom.xml Normal file
View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}</artifactId>
<version>${revision}</version>
</parent>
<artifactId>{{ .artifactId }}-persist</artifactId>
<dependencies>
<dependency>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-common</artifactId>
</dependency>
</dependencies>
</project>

49
template/pom.xml Normal file
View File

@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}</artifactId>
<packaging>pom</packaging>
<parent>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .parentArtifactId }}</artifactId>
<relativePath>../../pom.xml</relativePath>
<version>${revision}</version>
</parent>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .parentArtifactId }}-common</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-common</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-service</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-persist</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-manager</artifactId>
<version>${revision}</version>
</dependency>
</dependencies>
</dependencyManagement>
<modules>
<module>persist</module>
<module>service</module>
<module>common</module>
<module>manager</module>
<module>entrance</module>
</modules>
</project>

25
template/service/pom.xml Normal file
View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}</artifactId>
<version>${revision}</version>
</parent>
<artifactId>{{ .artifactId }}-service</artifactId>
<dependencies>
<dependency>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-common</artifactId>
</dependency>
<dependency>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-manager</artifactId>
</dependency>
</dependencies>
</project>

View File

@@ -0,0 +1 @@
## 具体业务逻辑层定义包括对api等实现以Servcie为后缀

11
values.yml Normal file
View File

@@ -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"