-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathcomponentConfig.xml
More file actions
53 lines (53 loc) · 2.21 KB
/
Copy pathcomponentConfig.xml
File metadata and controls
53 lines (53 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0" encoding="UTF-8"?>
<component id="config-server">
<generator>
<templateData>
<templateName>ConfigApplication.java.ftl</templateName>
<templateDir>templates/config/java/</templateDir>
<templateConfigEncode>UTF-8</templateConfigEncode>
</templateData>
<variableData>
<templateVariable key="packageName" value="${basePackage}.config"/>
</variableData>
<fileData>
<packageName>${basePackage}.config</packageName>
<fileType>java</fileType>
<fileName>ConfigApplication</fileName>
<isJavaOrResourcesOrOtherCode>CodeOutType.JAVA</isJavaOrResourcesOrOtherCode>
</fileData>
</generator>
<generator>
<templateData>
<templateName>application.properties.ftl</templateName>
<templateDir>templates/config/resources/</templateDir>
<templateConfigEncode>UTF-8</templateConfigEncode>
</templateData>
<variableData>
<templateVariable key="serviceName" value="${projectName}"/>
</variableData>
<fileData>
<fileType>properties</fileType>
<fileName>application</fileName>
<isJavaOrResourcesOrOtherCode>CodeOutType.RESOURCES</isJavaOrResourcesOrOtherCode>
</fileData>
</generator>
<generator>
<templateData>
<templateName>pom.xml.ftl</templateName>
<templateDir>templates/config/</templateDir>
<templateConfigEncode>UTF-8</templateConfigEncode>
</templateData>
<variableData>
<templateVariable key="pomArtifactId" value="${pomArtifactId}"/>
<templateVariable key="projectName" value="${projectName}"/>
<templateVariable key="springBootVersion" value="${springBootVersion}"/>
<templateVariable key="javaVersion" value="${javaVersion}"/>
<templateVariable key="groupId" value="${groupId}"/>
</variableData>
<fileData>
<fileType>xml</fileType>
<fileName>pom</fileName>
<isJavaOrResourcesOrOtherCode>CodeOutType.NONE</isJavaOrResourcesOrOtherCode>
</fileData>
</generator>
</component>