File tree 4 files changed +112
-16
lines changed
test/java/com/amigoscode/demo
4 files changed +112
-16
lines changed Original file line number Diff line number Diff line change 139
139
</plugin >
140
140
</plugins >
141
141
</build >
142
+ <properties >
143
+ <spring .profiles.active>
144
+ demo
145
+ </spring .profiles.active>
146
+ </properties >
147
+ </profile >
148
+ <profile >
149
+ <id >demo-compile-to-java-8</id >
150
+ <build >
151
+ <plugins >
152
+ <plugin >
153
+ <groupId >com.github.eirslett</groupId >
154
+ <artifactId >frontend-maven-plugin</artifactId >
155
+ <version >${frontend-maven-plugin.version} </version >
156
+ <configuration >
157
+ <workingDirectory >src/js</workingDirectory >
158
+ </configuration >
159
+ <executions >
160
+ <execution >
161
+ <id >install node</id >
162
+ <goals >
163
+ <goal >install-node-and-yarn</goal >
164
+ </goals >
165
+ <configuration >
166
+ <nodeVersion >${node.version} </nodeVersion >
167
+ <yarnVersion >${yarn.version} </yarnVersion >
168
+ </configuration >
169
+ </execution >
170
+ <execution >
171
+ <id >yarn install</id >
172
+ <goals >
173
+ <goal >yarn</goal >
174
+ </goals >
175
+ <phase >generate-resources</phase >
176
+ </execution >
177
+ <execution >
178
+ <id >yarn test</id >
179
+ <goals >
180
+ <goal >yarn</goal >
181
+ </goals >
182
+ <phase >test</phase >
183
+ <configuration >
184
+ <arguments >test</arguments >
185
+ <environmentVariables >
186
+ <CI >true</CI >
187
+ </environmentVariables >
188
+ </configuration >
189
+ </execution >
190
+ <execution >
191
+ <id >yarn build</id >
192
+ <goals >
193
+ <goal >yarn</goal >
194
+ </goals >
195
+ <phase >compile</phase >
196
+ <configuration >
197
+ <arguments >build</arguments >
198
+ </configuration >
199
+ </execution >
200
+ </executions >
201
+ </plugin >
202
+ <plugin >
203
+ <artifactId >maven-resources-plugin</artifactId >
204
+ <executions >
205
+ <execution >
206
+ <id >copy-resources</id >
207
+ <phase >process-classes</phase >
208
+ <goals >
209
+ <goal >copy-resources</goal >
210
+ </goals >
211
+ <configuration >
212
+ <outputDirectory >${basedir} /target/classes/static</outputDirectory >
213
+ <resources >
214
+ <resource >
215
+ <directory >src/js/build</directory >
216
+ </resource >
217
+ </resources >
218
+ </configuration >
219
+ </execution >
220
+ </executions >
221
+ </plugin >
222
+ <plugin >
223
+ <groupId >org.apache.maven.plugins</groupId >
224
+ <artifactId >maven-compiler-plugin</artifactId >
225
+ <configuration >
226
+ <source >1.8</source >
227
+ <target >1.8</target >
228
+ </configuration >
229
+ </plugin >
230
+ </plugins >
231
+ </build >
232
+ <properties >
233
+ <spring .profiles.active>
234
+ demo
235
+ </spring .profiles.active>
236
+ </properties >
142
237
</profile >
143
238
</profiles >
144
239
Original file line number Diff line number Diff line change
1
+ spring :
2
+ profiles :
3
+ active : @spring.profiles.active@
4
+
5
+ server :
6
+ port : 5000
7
+
8
+ app :
9
+ datasource :
10
+ jdbc-url : jdbc:postgresql://fullstackspringbootdb.celswdmxhcr1.eu-west-1.rds.amazonaws.com:5432/amigoscodedemo
11
+ username : amigoscode
12
+ password : 123456789
13
+ pool-size : 30
Original file line number Diff line number Diff line change
1
+ spring :
2
+ profiles :
3
+ active : @spring.profiles.active@
4
+
1
5
app :
2
6
datasource :
3
7
jdbc-url : jdbc:postgresql://localhost:5432/amigoscodedemo
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments