1
- <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" >
1
+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
2
+ xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
2
3
<modelVersion >4.0.0</modelVersion >
3
4
4
5
<artifactId >um-webapp</artifactId >
291
292
<includes >
292
293
<include >**/*ReadOnly*LiveTest.java</include >
293
294
</includes >
294
- <!-- <systemPropertyVariables> <secWebTarget>smoke_staging</secWebTarget> </systemPropertyVariables> -->
295
+ <!-- <systemPropertyVariables> <secWebTarget>smoke_staging</secWebTarget>
296
+ </systemPropertyVariables> -->
295
297
</configuration >
296
298
</execution >
297
299
</executions >
301
303
</build >
302
304
</profile >
303
305
306
+ <profile >
307
+ <id >deploy</id >
308
+ <build >
309
+ <plugins >
310
+
311
+ <plugin >
312
+ <groupId >org.codehaus.cargo</groupId >
313
+ <artifactId >cargo-maven2-plugin</artifactId >
314
+ <configuration >
315
+ <!-- Container configuration -->
316
+ <container >
317
+ <containerId >tomcat8x</containerId >
318
+ <type >remote</type >
319
+ </container >
320
+
321
+ <!-- Configuration to use with the container -->
322
+ <configuration >
323
+ <type >runtime</type >
324
+ <properties >
325
+ <cargo .hostname>ec2-52-91-215-181.compute-1.amazonaws.com</cargo .hostname>
326
+ <cargo .servlet.port>8080</cargo .servlet.port>
327
+ <cargo .remote.username>manager</cargo .remote.username>
328
+ <cargo .remote.password>manager</cargo .remote.password>
329
+ <cargo .jvmargs>-Xmx1024m -server</cargo .jvmargs>
330
+ </properties >
331
+ </configuration >
332
+
333
+ <!-- Deployer configuration -->
334
+ <deployer >
335
+ <type >remote</type >
336
+ </deployer >
337
+
338
+ <!-- Deployables configuration -->
339
+ <deployables >
340
+ <deployable >
341
+ <groupId >${project.groupId} </groupId >
342
+ <artifactId >${project.artifactId}</artifactId >
343
+ <type >war</type >
344
+ <properties >
345
+ <context >/${project.artifactId} </context >
346
+ </properties >
347
+ </deployable >
348
+ </deployables >
349
+ </configuration >
350
+ </plugin >
351
+
352
+ </plugins >
353
+ </build >
354
+ </profile >
355
+
304
356
</profiles >
305
357
306
358
</project >
0 commit comments