Compare commits
2 Commits
b02eae7198
...
4cd255fc3a
| Author | SHA1 | Date | |
|---|---|---|---|
| 4cd255fc3a | |||
| 3ca5e42fca |
16
template/common/pom.xml
Normal file
16
template/common/pom.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?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>{{ .version }}</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>{{ .artifactId }}-common</artifactId>
|
||||
<version>{{ .version }}</version>
|
||||
|
||||
<dependencies>
|
||||
</dependencies>
|
||||
</project>
|
||||
13
template/entrance/job/pom.xml
Normal file
13
template/entrance/job/pom.xml
Normal 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>{{ .version }}</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>{{ .artifactId }}-entrance-job</artifactId>
|
||||
|
||||
</project>
|
||||
19
template/entrance/mq/pom.xml
Normal file
19
template/entrance/mq/pom.xml
Normal 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>{{ .version }}</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>{{ .artifactId }}-entrance-mq</artifactId>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>{{ .groupId }}</groupId>
|
||||
<artifactId>{{ .artifactId }}-service</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
28
template/entrance/pom.xml
Normal file
28
template/entrance/pom.xml
Normal file
@@ -0,0 +1,28 @@
|
||||
<?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>{{ .version }}</version>
|
||||
</parent>
|
||||
<artifactId>{{ .artifactId }}-entrance</artifactId>
|
||||
<version>{{ .version }}</version>
|
||||
<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>
|
||||
20
template/entrance/rpc/pom.xml
Normal file
20
template/entrance/rpc/pom.xml
Normal 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>{{ .version }}</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>{{ .artifactId }}-entrance-rpc</artifactId>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>{{ .groupId }}</groupId>
|
||||
<artifactId>{{ .artifactId }}-service</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
26
template/entrance/web/pom.xml
Normal file
26
template/entrance/web/pom.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?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>{{ .version }}</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>{{ .artifactId }}-entrance-web</artifactId>
|
||||
<version>{{ .version }}</version>
|
||||
<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>
|
||||
28
template/manager/pom.xml
Normal file
28
template/manager/pom.xml
Normal file
@@ -0,0 +1,28 @@
|
||||
<?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>{{ .version }}</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>{{ .artifactId }}-manager</artifactId>
|
||||
<version>{{ .version }}</version>
|
||||
|
||||
<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
5
template/module
Normal file
@@ -0,0 +1,5 @@
|
||||
id={{ .moduleId }}
|
||||
name={{ .moduleName | replace "-" "_" }}
|
||||
projectId={{ .projectId }}
|
||||
projectName={{ .projectName }}
|
||||
applicationName={{ .applicationName }}
|
||||
25
template/persist/pom.xml
Normal file
25
template/persist/pom.xml
Normal 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>{{ .version }}</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>{{ .artifactId }}-persist</artifactId>
|
||||
<version>{{ .version }}</version>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>{{ .groupId }}</groupId>
|
||||
<artifactId>{{ .artifactId }}-common</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.flywaydb</groupId>
|
||||
<artifactId>flyway-core</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
50
template/pom.xml
Normal file
50
template/pom.xml
Normal file
@@ -0,0 +1,50 @@
|
||||
<?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>
|
||||
<version>{{ .version }}</version>
|
||||
<packaging>pom</packaging>
|
||||
<parent>
|
||||
<groupId>{{ .groupId }}</groupId>
|
||||
<artifactId>{{ .parentArtifactId }}</artifactId>
|
||||
<version>${revision}</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>{{ .groupId }}</groupId>
|
||||
<artifactId>{{ .parentArtifactId }}-common</artifactId>
|
||||
<version>${revision}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>{{ .groupId }}</groupId>
|
||||
<artifactId>{{ .artifactId }}-common</artifactId>
|
||||
<version>{{ .version }}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>{{ .groupId }}</groupId>
|
||||
<artifactId>{{ .artifactId }}-service</artifactId>
|
||||
<version>{{ .version }}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>{{ .groupId }}</groupId>
|
||||
<artifactId>{{ .artifactId }}-persist</artifactId>
|
||||
<version>{{ .version }}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>{{ .groupId }}</groupId>
|
||||
<artifactId>{{ .artifactId }}-manager</artifactId>
|
||||
<version>{{ .version }}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
<modules>
|
||||
<module>persist</module>
|
||||
<module>service</module>
|
||||
<module>common</module>
|
||||
<module>manager</module>
|
||||
<module>entrance</module>
|
||||
</modules>
|
||||
</project>
|
||||
11
values.yml
Normal file
11
values.yml
Normal 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: 3.0-SNAPSHOT
|
||||
package: "{{ .groupId }}.{{ .artifactId }}"
|
||||
packagePath: '{{ .package | replace "." "/" }}'
|
||||
projectName: volunteer-bank
|
||||
applicationName: "{{ .projectName }}-server"
|
||||
Reference in New Issue
Block a user