File tree 4 files changed +61
-96
lines changed
spring-boot-deployment-tests
spring-boot-deployment-test-tomcat
spring-boot-deployment-test-tomee
spring-boot-deployment-test-wildfly
4 files changed +61
-96
lines changed Original file line number Diff line number Diff line change 19
19
<properties >
20
20
<main .basedir>${basedir} /..</main .basedir>
21
21
<java .version>1.7</java .version>
22
+
23
+ <cargo .timeout>300000</cargo .timeout>
24
+ <cargo .container.download-dir>${user.home} /.cargo/installs</cargo .container.download-dir>
22
25
</properties >
23
26
<modules >
24
27
<module >spring-boot-deployment-test-tomee</module >
25
28
<module >spring-boot-deployment-test-tomcat</module >
26
29
<module >spring-boot-deployment-test-wildfly</module >
27
30
</modules >
31
+
32
+ <build >
33
+ <pluginManagement >
34
+ <plugins >
35
+ <plugin >
36
+ <groupId >org.codehaus.cargo</groupId >
37
+ <artifactId >cargo-maven2-plugin</artifactId >
38
+ <configuration >
39
+ <container >
40
+ <containerId >${cargo.container.id} </containerId >
41
+ <timeout >${cargo.timeout} </timeout >
42
+ <zipUrlInstaller >
43
+ <url >${cargo.container.url} </url >
44
+ <downloadDir >${cargo.container.download-dir} </downloadDir >
45
+ </zipUrlInstaller >
46
+ </container >
47
+ <deployables >
48
+ <deployable >
49
+ <properties >
50
+ <context >/bootapp</context >
51
+ </properties >
52
+ <pingURL >http://localhost:${appserver.port} /bootapp</pingURL >
53
+ <pingTimeout >30000</pingTimeout >
54
+ </deployable >
55
+ </deployables >
56
+ </configuration >
57
+ <executions >
58
+ <execution >
59
+ <id >start-cargo</id >
60
+ <phase >pre-integration-test</phase >
61
+ <goals >
62
+ <goal >start</goal >
63
+ </goals >
64
+ </execution >
65
+ <execution >
66
+ <id >stop-cargo</id >
67
+ <phase >post-integration-test</phase >
68
+ <goals >
69
+ <goal >stop</goal >
70
+ </goals >
71
+ </execution >
72
+ </executions >
73
+ </plugin >
74
+ </plugins >
75
+ </pluginManagement >
76
+ </build >
77
+
28
78
</project >
Original file line number Diff line number Diff line change 17
17
</organization >
18
18
<properties >
19
19
<main .basedir>${basedir} /../..</main .basedir>
20
+ <cargo .container.id>tomcat8x</cargo .container.id>
21
+ <cargo .container.url>
22
+ http://mirrors.ibiblio.org/apache/tomcat/tomcat-8/v${tomcat.version} /bin/apache-tomcat-${tomcat.version} .zip
23
+ </cargo .container.url>
20
24
</properties >
21
25
<dependencies >
22
26
<dependency >
60
64
<groupId >org.codehaus.cargo</groupId >
61
65
<artifactId >cargo-maven2-plugin</artifactId >
62
66
<configuration >
63
- <container >
64
- <containerId >tomcat8x</containerId >
65
- <timeout >300000</timeout >
66
- <zipUrlInstaller >
67
- <url >http://www.us.apache.org/dist/tomcat/tomcat-8/v${tomcat.version} /bin/apache-tomcat-${tomcat.version} .zip</url >
68
- </zipUrlInstaller >
69
- </container >
70
67
<configuration >
71
68
<properties >
72
69
<cargo .servlet.port>${appserver.port} </cargo .servlet.port>
73
70
<cargo .tomcat.ajp.port>${appserver.ajp.port} </cargo .tomcat.ajp.port>
74
71
</properties >
75
72
</configuration >
76
- <deployables >
77
- <deployable >
78
- <properties >
79
- <context >/bootapp</context >
80
- </properties >
81
- <pingURL >http://localhost:${appserver.port} /bootapp</pingURL >
82
- <pingTimeout >30000</pingTimeout >
83
- </deployable >
84
- </deployables >
85
73
</configuration >
86
- <executions >
87
- <execution >
88
- <id >start-cargo</id >
89
- <phase >pre-integration-test</phase >
90
- <goals >
91
- <goal >start</goal >
92
- </goals >
93
- </execution >
94
- <execution >
95
- <id >stop-cargo</id >
96
- <phase >post-integration-test</phase >
97
- <goals >
98
- <goal >stop</goal >
99
- </goals >
100
- </execution >
101
- </executions >
102
74
</plugin >
103
75
<plugin >
104
76
<groupId >org.apache.maven.plugins</groupId >
Original file line number Diff line number Diff line change 18
18
<properties >
19
19
<main .basedir>${basedir} /../..</main .basedir>
20
20
<tomee .version>1.7.1</tomee .version>
21
+ <cargo .container.id>tomee1x</cargo .container.id>
22
+ <cargo .container.url>
23
+ http://mirrors.ibiblio.org/apache/tomee/tomee-${tomee.version} /apache-tomee-${tomee.version} -webprofile.zip
24
+ </cargo .container.url>
21
25
</properties >
22
26
<dependencies >
23
27
<dependency >
65
69
<groupId >org.codehaus.cargo</groupId >
66
70
<artifactId >cargo-maven2-plugin</artifactId >
67
71
<configuration >
68
- <container >
69
- <containerId >tomee1x</containerId >
70
- <timeout >300000</timeout >
71
- <zipUrlInstaller >
72
- <url >http://www.us.apache.org/dist/tomee/tomee-${tomee.version} /apache-tomee-${tomee.version} -webprofile.zip</url >
73
- </zipUrlInstaller >
74
- </container >
75
72
<configuration >
76
73
<properties >
77
74
<cargo .servlet.port>${appserver.port} </cargo .servlet.port>
78
75
<cargo .tomcat.ajp.port>${appserver.ajp.port} </cargo .tomcat.ajp.port>
79
76
</properties >
80
77
</configuration >
81
- <deployables >
82
- <deployable >
83
- <properties >
84
- <context >/bootapp</context >
85
- </properties >
86
- <pingURL >http://localhost:${appserver.port} /bootapp</pingURL >
87
- <pingTimeout >30000</pingTimeout >
88
- </deployable >
89
- </deployables >
90
78
</configuration >
91
- <executions >
92
- <execution >
93
- <id >start-cargo</id >
94
- <phase >pre-integration-test</phase >
95
- <goals >
96
- <goal >start</goal >
97
- </goals >
98
- </execution >
99
- <execution >
100
- <id >stop-cargo</id >
101
- <phase >post-integration-test</phase >
102
- <goals >
103
- <goal >stop</goal >
104
- </goals >
105
- </execution >
106
- </executions >
107
79
</plugin >
108
80
<plugin >
109
81
<groupId >org.apache.maven.plugins</groupId >
Original file line number Diff line number Diff line change 18
18
<properties >
19
19
<main .basedir>${basedir} /../..</main .basedir>
20
20
<wildfly .version>8.2.0.Final</wildfly .version>
21
+ <cargo .container.id>wildfly8x</cargo .container.id>
22
+ <cargo .container.url>http://download.jboss.org/wildfly/${wildfly.version} /wildfly-${wildfly.version} .zip
23
+ </cargo .container.url>
21
24
</properties >
22
25
<dependencies >
23
26
<dependency >
62
65
<groupId >org.codehaus.cargo</groupId >
63
66
<artifactId >cargo-maven2-plugin</artifactId >
64
67
<configuration >
65
- <container >
66
- <containerId >wildfly8x</containerId >
67
- <timeout >300000</timeout >
68
- <zipUrlInstaller >
69
- <url >http://download.jboss.org/wildfly/${wildfly.version} /wildfly-${wildfly.version} .zip</url >
70
- </zipUrlInstaller >
71
- </container >
72
68
<configuration >
73
69
<properties >
74
70
<cargo .servlet.port>${appserver.port} </cargo .servlet.port>
79
75
<cargo .jboss.configuration>standalone-full</cargo .jboss.configuration>
80
76
</properties >
81
77
</configuration >
82
- <deployables >
83
- <deployable >
84
- <properties >
85
- <context >/bootapp</context >
86
- </properties >
87
- <pingURL >http://localhost:${appserver.port} /bootapp</pingURL >
88
- <pingTimeout >30000</pingTimeout >
89
- </deployable >
90
- </deployables >
91
78
</configuration >
92
- <executions >
93
- <execution >
94
- <id >start-cargo</id >
95
- <phase >pre-integration-test</phase >
96
- <goals >
97
- <goal >start</goal >
98
- </goals >
99
- </execution >
100
- <execution >
101
- <id >stop-cargo</id >
102
- <phase >post-integration-test</phase >
103
- <goals >
104
- <goal >stop</goal >
105
- </goals >
106
- </execution >
107
- </executions >
108
79
</plugin >
109
80
<plugin >
110
81
<groupId >org.apache.maven.plugins</groupId >
You can’t perform that action at this time.
0 commit comments