Commit b370dca2d1094d71afe83823ed325fb14f8c7670
1 parent
c05c4f3ed2
Exists in
master
and in
8 other branches
增加配置
Showing 2 changed files with 54 additions and 0 deletions
platform-job-index/pom.xml
View file @
b370dca
... | ... | @@ -135,6 +135,33 @@ |
135 | 135 | </dependency> |
136 | 136 | </dependencies> |
137 | 137 | <build> |
138 | + <resources> | |
139 | + <resource> | |
140 | + <directory>../platform-resource/resources</directory> | |
141 | + <excludes> | |
142 | + <exclude> | |
143 | + **/* | |
144 | + </exclude> | |
145 | + </excludes> | |
146 | + <filtering>true</filtering> | |
147 | + </resource> | |
148 | + <resource> | |
149 | + <directory>src/main/resources</directory> | |
150 | + <includes> | |
151 | + <include>**/*</include> | |
152 | + </includes> | |
153 | + | |
154 | + </resource> | |
155 | + <!-- 设置对auto-config.properties,jdbc.properties进行过虑,即这些文件中的${key}会被替换掉为真正的值 --> | |
156 | + <!-- --> | |
157 | + <resource> | |
158 | + <directory>src/main/resources</directory> | |
159 | + <includes> | |
160 | + <include>database.properties</include> | |
161 | + </includes> | |
162 | + <filtering>true</filtering> | |
163 | + </resource> | |
164 | + </resources> | |
138 | 165 | <plugins> |
139 | 166 | <plugin> |
140 | 167 | <groupId>org.apache.maven.plugins</groupId> |
platform-operate-api/pom.xml
View file @
b370dca
... | ... | @@ -39,6 +39,33 @@ |
39 | 39 | <!----> |
40 | 40 | </dependencies> |
41 | 41 | <build> |
42 | + <resources> | |
43 | + <resource> | |
44 | + <directory>../platform-resource/resources</directory> | |
45 | + <excludes> | |
46 | + <exclude> | |
47 | + **/* | |
48 | + </exclude> | |
49 | + </excludes> | |
50 | + <filtering>true</filtering> | |
51 | + </resource> | |
52 | + <resource> | |
53 | + <directory>src/main/resources</directory> | |
54 | + <includes> | |
55 | + <include>**/*</include> | |
56 | + </includes> | |
57 | + | |
58 | + </resource> | |
59 | + <!-- 设置对auto-config.properties,jdbc.properties进行过虑,即这些文件中的${key}会被替换掉为真正的值 --> | |
60 | + <!-- --> | |
61 | + <resource> | |
62 | + <directory>src/main/resources</directory> | |
63 | + <includes> | |
64 | + <include>database.properties</include> | |
65 | + </includes> | |
66 | + <filtering>true</filtering> | |
67 | + </resource> | |
68 | + </resources> | |
42 | 69 | <plugins> |
43 | 70 | <plugin> |
44 | 71 | <groupId>org.apache.maven.plugins</groupId> |