View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-demos/hippo-go-green/trunk/integration-tests/pom.xml
Revision: 33226
Committed: Fri Mar 2 08:51:38 2012 UTC (10 years, 7 months ago) by svoortman
Content type: text/xml
File size: 12402 byte(s)
Log Message:
GOGREEN-911: raise timeout to 10 minutes, to see if the timeout was too low before

File Contents

# Content
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright 2011 Hippo Licensed under the Apache License, Version 2.0
4 (the "License"); you may not use this file except in compliance with
5 the License. You may obtain a copy of the License at
6
7 http://www.apache.org/licenses/LICENSE-2.0 Unless required by
8 applicable law or agreed to in writing, software distributed under
9 the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
10 OR CONDITIONS OF ANY KIND, either express or implied. See the
11 License for the specific language governing permissions and
12 limitations under the License.
13 -->
14 <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/maven-v4_0_0.xsd">
15 <modelVersion>4.0.0</modelVersion>
16
17 <parent>
18 <groupId>com.onehippo.gogreen</groupId>
19 <artifactId>hippogogreen</artifactId>
20 <version>3.06.02-SNAPSHOT</version>
21 <relativePath>../pom.xml</relativePath>
22 </parent>
23
24 <name>Hippo Go Green Integration Tests</name>
25 <description>Hippo Go Green Integration Tests</description>
26 <groupId>com.onehippo.gogreen</groupId>
27 <artifactId>hippogogreen-integration-tests</artifactId>
28 <packaging>pom</packaging>
29
30 <properties>
31 <selenium.version>2.12.0</selenium.version>
32 <buildPath>${project.build.directory}/${project.artifactId}-${project.version}</buildPath>
33 <display>:20</display>
34 </properties>
35
36 <dependencies>
37 <dependency>
38 <groupId>com.onehippo.gogreen</groupId>
39 <artifactId>hippogogreen-cms</artifactId>
40 <version>${project.version}</version>
41 <type>war</type>
42 </dependency>
43
44 <dependency>
45 <groupId>com.onehippo.gogreen</groupId>
46 <artifactId>hippogogreen-site</artifactId>
47 <version>${project.version}</version>
48 <type>war</type>
49 </dependency>
50 <dependency>
51 <groupId>org.testng</groupId>
52 <artifactId>testng</artifactId>
53 <version>5.14.1</version>
54 <scope>test</scope>
55 </dependency>
56
57 <dependency>
58 <groupId>org.seleniumhq.selenium</groupId>
59 <artifactId>selenium-api</artifactId>
60 <version>${selenium.version}</version>
61 <scope>test</scope>
62 </dependency>
63
64 <dependency>
65 <groupId>org.seleniumhq.selenium</groupId>
66 <artifactId>selenium-firefox-driver</artifactId>
67 <version>${selenium.version}</version>
68 <scope>test</scope>
69 </dependency>
70 <dependency>
71 <groupId>org.seleniumhq.selenium</groupId>
72 <artifactId>selenium-java</artifactId>
73 <version>${selenium.version}</version>
74 <scope>test</scope>
75 </dependency>
76
77 </dependencies>
78
79 <build>
80 <defaultGoal>package</defaultGoal>
81 </build>
82
83 <profiles>
84 <profile>
85 <id>debug</id>
86 <properties>
87 <display>:0</display>
88 </properties>
89 </profile>
90 <profile>
91 <id>headless</id>
92
93 <dependencies>
94 <dependency>
95 <groupId>log4j</groupId>
96 <artifactId>log4j</artifactId>
97 <scope>provided</scope>
98 </dependency>
99 <dependency>
100 <groupId>org.slf4j</groupId>
101 <artifactId>slf4j-log4j12</artifactId>
102 <scope>provided</scope>
103 </dependency>
104 <dependency>
105 <groupId>org.slf4j</groupId>
106 <artifactId>jcl-over-slf4j</artifactId>
107 <scope>provided</scope>
108 </dependency>
109 </dependencies>
110
111 <build>
112 <plugins>
113 <plugin>
114 <groupId>org.apache.maven.plugins</groupId>
115 <artifactId>maven-compiler-plugin</artifactId>
116 <executions>
117 <execution>
118 <goals>
119 <goal>testCompile</goal>
120 </goals>
121 </execution>
122 </executions>
123 <configuration>
124 <source>1.6</source>
125 <target>1.6</target>
126 </configuration>
127 </plugin>
128
129 <plugin>
130 <groupId>org.codehaus.cargo</groupId>
131 <artifactId>cargo-maven2-plugin</artifactId>
132 <executions>
133 <execution>
134 <id>cargo-start</id>
135 <phase>pre-integration-test</phase>
136 <goals>
137 <goal>start</goal>
138 </goals>
139 </execution>
140 <execution>
141 <id>cargo-stop</id>
142 <phase>post-integration-test</phase>
143 <goals>
144 <goal>stop</goal>
145 </goals>
146 </execution>
147 </executions>
148 <configuration>
149 <configuration>
150 <home>${project.build.directory}/tomcat6x</home>
151 <properties>
152 <cargo.remote.username>admin</cargo.remote.username>
153 <cargo.remote.password />
154 <cargo.servlet.port>18888</cargo.servlet.port>
155 <cargo.jvmargs>
156 <![CDATA[-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n -noverify ${javaagent}]]>
157 </cargo.jvmargs>
158 <catalina.servlet.uriencoding>UTF-8</catalina.servlet.uriencoding>
159 </properties>
160 <deployables>
161 <deployable>
162 <groupId>com.onehippo.gogreen</groupId>
163 <artifactId>hippogogreen-cms</artifactId>
164 <type>war</type>
165 <properties>
166 <context>/cms</context>
167 </properties>
168 </deployable>
169 <deployable>
170 <groupId>com.onehippo.gogreen</groupId>
171 <artifactId>hippogogreen-site</artifactId>
172 <type>war</type>
173 <properties>
174 <context>/site</context>
175 </properties>
176 </deployable>
177 </deployables>
178 </configuration>
179 <container>
180 <containerId>tomcat6x</containerId>
181 <systemProperties>
182 <repo.path>${project.build.directory}/storage</repo.path>
183 <log4j.configuration>file:${project.basedir}/../conf/log4j-dev.xml</log4j.configuration>
184 </systemProperties>
185 <zipUrlInstaller>
186 <url>http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.32/bin/apache-tomcat-6.0.32.tar.gz</url>
187 </zipUrlInstaller>
188 <timeout>600000</timeout>
189 <dependencies>
190 <dependency>
191 <groupId>org.apache.geronimo.specs</groupId>
192 <artifactId>geronimo-jta_1.1_spec</artifactId>
193 <classpath>extra</classpath>
194 </dependency>
195 <dependency>
196 <groupId>javax.jcr</groupId>
197 <artifactId>jcr</artifactId>
198 <classpath>extra</classpath>
199 </dependency>
200 <dependency>
201 <groupId>javax.jdo</groupId>
202 <artifactId>jdo2-api</artifactId>
203 <classpath>extra</classpath>
204 </dependency>
205 <dependency>
206 <groupId>javax.mail</groupId>
207 <artifactId>mail</artifactId>
208 <classpath>extra</classpath>
209 </dependency>
210 <dependency>
211 <groupId>org.onehippo.cms7</groupId>
212 <artifactId>hippo-commons</artifactId>
213 <classpath>shared</classpath>
214 </dependency>
215 <dependency>
216 <groupId>org.onehippo.cms7</groupId>
217 <artifactId>hippo-services</artifactId>
218 <classpath>shared</classpath>
219 </dependency>
220 <dependency>
221 <groupId>org.onehippo.cms7</groupId>
222 <artifactId>hippo-repository-api</artifactId>
223 <classpath>shared</classpath>
224 </dependency>
225 <dependency>
226 <groupId>org.onehippo.cms7</groupId>
227 <artifactId>hippo-cms-sso</artifactId>
228 <classpath>shared</classpath>
229 </dependency>
230 <dependency>
231 <groupId>org.onehippo.cms7</groupId>
232 <artifactId>hippo-repository-builtin</artifactId>
233 <classpath>shared</classpath>
234 </dependency>
235 <dependency>
236 <groupId>org.onehippo.cms7</groupId>
237 <artifactId>hippo-addon-publication-workflow-common</artifactId>
238 <classpath>shared</classpath>
239 </dependency>
240 <dependency>
241 <groupId>org.onehippo.cms7.hst</groupId>
242 <artifactId>hst-api</artifactId>
243 <classpath>shared</classpath>
244 </dependency>
245 <dependency>
246 <groupId>org.onehippo.cms7.hst</groupId>
247 <artifactId>hst-commons</artifactId>
248 <classpath>shared</classpath>
249 </dependency>
250 <dependency>
251 <groupId>log4j</groupId>
252 <artifactId>log4j</artifactId>
253 <classpath>shared</classpath>
254 </dependency>
255 <dependency>
256 <groupId>org.slf4j</groupId>
257 <artifactId>slf4j-api</artifactId>
258 <classpath>shared</classpath>
259 </dependency>
260 <dependency>
261 <groupId>org.slf4j</groupId>
262 <artifactId>jcl-over-slf4j</artifactId>
263 <classpath>shared</classpath>
264 </dependency>
265 <dependency>
266 <groupId>org.slf4j</groupId>
267 <artifactId>slf4j-log4j12</artifactId>
268 <classpath>shared</classpath>
269 </dependency>
270 </dependencies>
271 </container>
272 </configuration>
273 </plugin>
274
275 <plugin>
276 <groupId>org.codehaus.mojo</groupId>
277 <artifactId>selenium-maven-plugin</artifactId>
278 <version>2.1</version>
279 <executions>
280 <execution>
281 <phase>pre-integration-test</phase>
282 <goals>
283 <goal>xvfb</goal>
284 </goals>
285 </execution>
286 </executions>
287 <configuration>
288 <xauthEnabled>false</xauthEnabled>
289 </configuration>
290 </plugin>
291
292 <plugin>
293 <groupId>org.apache.maven.plugins</groupId>
294 <artifactId>maven-surefire-plugin</artifactId>
295 <configuration>
296 <skip>true</skip>
297 </configuration>
298 <executions>
299 <execution>
300 <phase>integration-test</phase>
301 <goals>
302 <goal>test</goal>
303 </goals>
304 <configuration>
305 <skip>false</skip>
306 <environmentVariables>
307 <DISPLAY>${display}</DISPLAY>
308 </environmentVariables>
309 <suiteXmlFiles>
310 <suiteXmlFile>src/test/resources/tests.xml</suiteXmlFile>
311 </suiteXmlFiles>
312 </configuration>
313 </execution>
314 </executions>
315 </plugin>
316 </plugins>
317 </build>
318 </profile>
319 </profiles>
320
321 <repositories>
322 <repository>
323 <id>openqa</id>
324 <url>http://nexus.openqa.org/content/repositories/releases</url>
325 </repository>
326 </repositories>
327
328 <pluginRepositories>
329 <pluginRepository>
330 <id>codehaus.snapshots</id>
331 <url>http://snapshots.repository.codehaus.org/</url>
332 <releases>
333 <enabled>true</enabled>
334 </releases>
335 </pluginRepository>
336
337 <pluginRepository>
338 <id>mortbay.repo</id>
339 <url>http://www.mortbay.org/maven2/snapshot</url>
340 </pluginRepository>
341 </pluginRepositories>
342
343 </project>

Properties

Name Value
svn:eol-style native
svn:keywords Id