Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 358 lines (352 sloc) 16.689 kB
67507a7 reshuffling to be more "maven compliant"
plightbo authored
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/maven-v4_0_0.xsd">
3 <modelVersion>4.0.0</modelVersion>
f5e3649 * Changed URL's, variables, names, etc. from openqa/OpenQA to seleniu…
andras.hatvani authored
4 <groupId>org.seleniumhq.selenium.core</groupId>
67507a7 reshuffling to be more "maven compliant"
plightbo authored
5 <artifactId>selenium-core</artifactId>
437a629 It ends where most projects begin: 1.0-SNAPSHOT
dfabulich authored
6 <version>1.0-SNAPSHOT</version>
67507a7 reshuffling to be more "maven compliant"
plightbo authored
7 <name>Selenium Core</name>
8 <packaging>jar</packaging>
f5e3649 * Changed URL's, variables, names, etc. from openqa/OpenQA to seleniu…
andras.hatvani authored
9 <url>http://selenium.seleniumhq.org/projects/core</url>
67507a7 reshuffling to be more "maven compliant"
plightbo authored
10 <repositories>
11 <repository>
e6f0987 * Adapted POM to Nexus
andras.hatvani authored
12 <id>openqa-releases</id>
13 <name>OpenQA Releases</name>
14 <url>http://nexus.openqa.org/content/repositories/releases</url>
1b32a43 using new repos
plightbo authored
15 <releases>
16 <enabled>true</enabled>
17 </releases>
18 <snapshots>
19 <enabled>false</enabled>
20 </snapshots>
21 </repository>
22 <repository>
e6f0987 * Adapted POM to Nexus
andras.hatvani authored
23 <id>openqa-snapshots</id>
24 <name>OpenQA Snapshots</name>
25 <url>http://nexus.openqa.org/content/repositories/snapshots</url>
1b32a43 using new repos
plightbo authored
26 <releases>
27 <enabled>false</enabled>
28 </releases>
29 <snapshots>
30 <enabled>true</enabled>
31 </snapshots>
32 </repository>
33 <repository>
e6f0987 * Adapted POM to Nexus
andras.hatvani authored
34 <id>openqa-thirdparty</id>
35 <name>OpenQA Third Party</name>
36 <url>http://nexus.openqa.org/content/repositories/thirdparty</url>
1b32a43 using new repos
plightbo authored
37 <releases>
38 <enabled>true</enabled>
39 </releases>
40 <snapshots>
41 <enabled>false</enabled>
42 </snapshots>
67507a7 reshuffling to be more "maven compliant"
plightbo authored
43 </repository>
44 <repository>
45 <id>apache.snapshots</id>
46 <name>Maven Snapshot Repository</name>
47 <url>http://people.apache.org/maven-snapshot-repository</url>
48 <snapshots>
49 <enabled>true</enabled>
50 <updatePolicy>daily</updatePolicy>
51 </snapshots>
52 <releases>
53 <enabled>false</enabled>
54 <updatePolicy>never</updatePolicy>
55 </releases>
56 </repository>
57 </repositories>
58 <build>
020a410 treat iedoc as a "generated resource" in Maven so Eclipse will be abl…
dfabulich authored
59 <resources>
60 <resource>
61 <directory>src/main/resources</directory>
62 </resource>
63 <resource>
64 <directory>target/generated-resources</directory>
65 </resource>
66 </resources>
e6f0987 * Adapted POM to Nexus
andras.hatvani authored
67 <!-- extensions>
1b32a43 using new repos
plightbo authored
68 <extension>
69 <groupId>org.apache.maven.wagon</groupId>
70 <artifactId>wagon-webdav</artifactId>
71 <version>1.0-beta-2</version>
72 </extension>
e6f0987 * Adapted POM to Nexus
andras.hatvani authored
73 </extensions -->
67507a7 reshuffling to be more "maven compliant"
plightbo authored
74 <plugins>
75 <plugin>
76 <artifactId>maven-surefire-plugin</artifactId>
77 <configuration>
78 <skip>true</skip>
79 </configuration>
80 </plugin>
80aea8c removing unused build.xml; basic build w/ jsunit tests works now (hav…
plightbo authored
81 <plugin>
82 <artifactId>maven-antrun-plugin</artifactId>
83 <version>1.2-SNAPSHOT</version>
84 <executions>
85 <execution>
020a410 treat iedoc as a "generated resource" in Maven so Eclipse will be abl…
dfabulich authored
86 <id>generate-resources</id>
87 <phase>generate-resources</phase>
80aea8c removing unused build.xml; basic build w/ jsunit tests works now (hav…
plightbo authored
88 <configuration>
89 <tasks>
ddca649 let's set the VERSION and REVISION tokens in selenium-version.js
plightbo authored
90 <exec executable="svnversion" outputProperty="svn-revision" failOnError="true">
91 <arg value="."/>
92 </exec>
93
020a410 treat iedoc as a "generated resource" in Maven so Eclipse will be abl…
dfabulich authored
94 <copy todir="target/generated-resources" overwrite="true">
ddca649 let's set the VERSION and REVISION tokens in selenium-version.js
plightbo authored
95 <fileset dir="src/main/resources">
96 <include name="core/scripts/selenium-version.js"/>
97 <include name="VERSION.txt"/>
98 </fileset>
99 <filterset>
100 <filter token="VERSION" value="${project.version}"/>
101 <filter token="REVISION" value="${svn-revision}"/>
102 </filterset>
103 </copy>
605dd4a Resume generating HTA file, and running firefox integration tests
dfabulich authored
104
020a410 treat iedoc as a "generated resource" in Maven so Eclipse will be abl…
dfabulich authored
105 <copy file="src/main/resources/core/TestRunner.html" tofile="target/generated-resources/core/TestRunner.hta" />
ddca649 let's set the VERSION and REVISION tokens in selenium-version.js
plightbo authored
106
020a410 treat iedoc as a "generated resource" in Maven so Eclipse will be abl…
dfabulich authored
107 <mkdir dir="target/generated-resources/core"/>
108 <java jar="${maven.dependency.rhino.js.jar.path}" output="target/generated-resources/core/iedoc.xml" failonerror="true" fork="true">
80aea8c removing unused build.xml; basic build w/ jsunit tests works now (hav…
plightbo authored
109 <arg file="src/main/resources/doctool/doc.js"/>
110 <arg file="src/main/resources/core/scripts/selenium-api.js"/>
bf1c434 Adding hook for screenshot feature
dfabulich authored
111 <arg file="src/main/resources/core/scripts/selenium-remoterunner.js"/>
80aea8c removing unused build.xml; basic build w/ jsunit tests works now (hav…
plightbo authored
112 </java>
020a410 treat iedoc as a "generated resource" in Maven so Eclipse will be abl…
dfabulich authored
113 <!--<xmlvalidate file="target/generated-resources/core/iedoc.xml" lenient="true"/>-->
114 <java jar="${maven.dependency.rhino.js.jar.path}" output="target/generated-resources/core/iedoc-core.xml" failonerror="true" fork="true">
80aea8c removing unused build.xml; basic build w/ jsunit tests works now (hav…
plightbo authored
115 <arg file="src/main/resources/doctool/doc.js"/>
116 <arg file="src/main/resources/core/scripts/selenium-api.js"/>
117 <arg file="src/main/resources/core/scripts/selenium-testrunner.js"/>
118 </java>
020a410 treat iedoc as a "generated resource" in Maven so Eclipse will be abl…
dfabulich authored
119 <!--<xmlvalidate file="target/generated-resources/core/iedoc-core.xml" lenient="true"/>-->
80aea8c removing unused build.xml; basic build w/ jsunit tests works now (hav…
plightbo authored
120
020a410 treat iedoc as a "generated resource" in Maven so Eclipse will be abl…
dfabulich authored
121 <xslt in="target/generated-resources/core/iedoc-core.xml" out="target/generated-resources/reference.html" style="src/main/resources/doctool/doc2html.xml"/>
80aea8c removing unused build.xml; basic build w/ jsunit tests works now (hav…
plightbo authored
122 </tasks>
123 </configuration>
124 <goals>
125 <goal>run</goal>
126 </goals>
127 </execution>
128 </executions>
129 <dependencies>
130 <dependency>
131 <groupId>ant</groupId>
132 <artifactId>ant-trax</artifactId>
133 <version>1.6.5</version>
134 </dependency>
135 <dependency>
136 <groupId>ant</groupId>
94b99a3 Fixing multi-module build when you run mvn -Pcore in Selenium RC
dfabulich authored
137 <artifactId>ant-nodeps</artifactId>
80aea8c removing unused build.xml; basic build w/ jsunit tests works now (hav…
plightbo authored
138 <version>1.6.5</version>
139 </dependency>
140 <dependency>
e55ca3a Fixing core build. Not allowed to just remove ant-junit like that, e…
dfabulich authored
141 <groupId>ant</groupId>
142 <artifactId>ant-junit</artifactId>
143 <version>1.6.5</version>
144 </dependency>
145 <dependency>
80aea8c removing unused build.xml; basic build w/ jsunit tests works now (hav…
plightbo authored
146 <groupId>junit</groupId>
147 <artifactId>junit</artifactId>
148 <version>3.8.1</version>
149 </dependency>
150 </dependencies>
151 </plugin>
f92e08a Don't forget to clean up results after the run
dfabulich authored
152 <plugin>
153 <artifactId>maven-clean-plugin</artifactId>
154 <configuration>
155 <filesets>
156 <fileset>
157 <directory>.</directory>
158 <includes>
159 <include>results-*.html</include>
160 </includes>
161 </fileset>
162 </filesets>
163 </configuration>
164 </plugin>
67507a7 reshuffling to be more "maven compliant"
plightbo authored
165 </plugins>
166 </build>
f6a0130 adding the ability to skip tests with -Dnotest just like Selenium RC
plightbo authored
167 <profiles>
168 <profile>
169 <id>test</id>
170 <activation>
171 <property>
05ebcb1 Use more standardized "skipTests" property instead of "notests"
dfabulich authored
172 <name>!skipTests</name>
f6a0130 adding the ability to skip tests with -Dnotest just like Selenium RC
plightbo authored
173 </property>
174 </activation>
175 <build>
176 <plugins>
177 <plugin>
6c6b0f0 Beginning work on replacing unit tests with headless tests
dfabulich authored
178 <groupId>de.berlios.jsunit</groupId>
179 <artifactId>jsunit-maven2-plugin</artifactId>
180 <version>1.3</version>
181 <dependencies>
182 <dependency>
183 <groupId>rhino</groupId>
184 <artifactId>js</artifactId>
185 <version>1.7R1</version>
186 </dependency>
187 </dependencies>
188 <executions>
189 <execution>
190 <id>test</id>
191 <configuration>
192 <sourceDirectory>src/main/resources</sourceDirectory>
193 <sources>
194 <source>unittest/fake-browser.js</source>
195 <source>unittest/dummy-logging.js</source>
196 <source>unittest/jsmock/mock.js</source>
197 <source>core/lib/prototype.js</source>
198 <source>core/scripts/htmlutils.js</source>
199 <source>core/scripts/selenium-api.js</source>
200 <source>core/scripts/selenium-browserbot.js</source>
201 <source>core/scripts/selenium-browserdetect.js</source>
202 <source>core/scripts/selenium-commandhandlers.js</source>
203 <source>core/scripts/selenium-executionloop.js</source>
204 <source>core/scripts/selenium-logging.js</source>
205 <source>core/scripts/selenium-remoterunner.js</source>
206 <source>core/scripts/selenium-testrunner.js</source>
207 <source>core/scripts/ui-element.js</source>
208 <source>core/xpath/xmltoken.js</source>
209 <source>core/xpath/util.js</source>
210 <source>core/xpath/dom.js</source>
a568c97 require manual activation of integration-test profile
dfabulich authored
211 <source>core/xpath/xpath.js</source>
6c6b0f0 Beginning work on replacing unit tests with headless tests
dfabulich authored
212 </sources>
213 <testSourceDirectory>src/test/resources</testSourceDirectory>
214 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
215 <testSuites>
216 <testSuite>
217 <name>TestSuite</name>
218 <type>TESTCASES</type>
219 <includes>
220 <include>*.js</include>
221 </includes>
222 </testSuite>
223 </testSuites>
224 </configuration>
225 <goals>
226 <goal>jsunit-test</goal>
227 </goals>
228 </execution>
229 </executions>
230 </plugin>
f6a0130 adding the ability to skip tests with -Dnotest just like Selenium RC
plightbo authored
231 </plugins>
232 </build>
233 </profile>
605dd4a Resume generating HTA file, and running firefox integration tests
dfabulich authored
234
235 <profile>
236 <id>integration-test-firefox</id>
a568c97 require manual activation of integration-test profile
dfabulich authored
237 <activation>
238 <!-- Reqire manual activation of this profile with -Pintegration-test-firefox
239 <property>
05ebcb1 Use more standardized "skipTests" property instead of "notests"
dfabulich authored
240 <name>!skipTests</name>
a568c97 require manual activation of integration-test profile
dfabulich authored
241 </property>-->
605dd4a Resume generating HTA file, and running firefox integration tests
dfabulich authored
242 </activation>
243 <properties>
244 <slowResources>false</slowResources>
245 <multiWindow>true</multiWindow>
246 <browser>*firefox</browser>
9a3e4a0 Make it easy to run the dogfood suite
dfabulich authored
247 <seleneseSuite>TestSuite</seleneseSuite>
605dd4a Resume generating HTA file, and running firefox integration tests
dfabulich authored
248 </properties>
249 <build>
250 <plugins>
251 <plugin>
252 <artifactId>maven-antrun-plugin</artifactId>
253 <version>1.2-SNAPSHOT</version>
254 <executions>
255 <execution>
256 <id>integration-test</id>
257 <phase>integration-test</phase>
258 <configuration>
259 <tasks>
260 <taskdef resource="selenium-ant.properties">
18cd603 changing scopes to test
plightbo authored
261 <classpath refid="maven.test.classpath" />
605dd4a Resume generating HTA file, and running firefox integration tests
dfabulich authored
262 </taskdef>
263 <selenese
264 browser="${browser}"
9a3e4a0 Make it easy to run the dogfood suite
dfabulich authored
265 suite="src/main/resources/tests/${seleneseSuite}.html"
605dd4a Resume generating HTA file, and running firefox integration tests
dfabulich authored
266 port="4444"
267 slowResources="${slowResources}"
268 multiWindow="${multiWindow}"
269 startURL="http://localhost:4444" />
270 </tasks>
271 </configuration>
272 <goals>
273 <goal>run</goal>
274 </goals>
275 </execution>
276 </executions>
277 <dependencies>
278 <dependency>
279 <groupId>ant</groupId>
280 <artifactId>ant-trax</artifactId>
281 <version>1.6.5</version>
282 </dependency>
283 <dependency>
284 <groupId>ant</groupId>
285 <artifactId>ant-junit</artifactId>
286 <version>1.6.5</version>
287 </dependency>
288 <dependency>
289 <groupId>junit</groupId>
290 <artifactId>junit</artifactId>
291 <version>3.8.1</version>
292 </dependency>
5890195 Fixing Hudson build by commenting out Andras' change 2264/2265
dfabulich authored
293 <!-- DGF commenting out Andras' change 2264/2265, fixing Hudson build
7e8cb0e * Added jetty as dependency to maven-antrun
andras.hatvani authored
294 <dependency>
295 <groupId>jetty</groupId>
296 <artifactId>org.mortbay.jetty</artifactId>
0b41485 * Added 5.1.10 as jetty version
andras.hatvani authored
297 <version>5.1.10</version>
7e8cb0e * Added jetty as dependency to maven-antrun
andras.hatvani authored
298 </dependency>
5890195 Fixing Hudson build by commenting out Andras' change 2264/2265
dfabulich authored
299 -->
605dd4a Resume generating HTA file, and running firefox integration tests
dfabulich authored
300 </dependencies>
301 </plugin>
302 </plugins>
303 </build>
304 </profile>
f6a0130 adding the ability to skip tests with -Dnotest just like Selenium RC
plightbo authored
305 </profiles>
67507a7 reshuffling to be more "maven compliant"
plightbo authored
306 <pluginRepositories>
307 <pluginRepository>
308 <id>snapshots</id>
309 <name>Maven Plugin Snapshot Repository</name>
310 <url>http://people.apache.org/maven-snapshot-repository</url>
311 <layout>default</layout>
312 <snapshots>
313 <enabled>true</enabled>
314 <updatePolicy>daily</updatePolicy>
315 </snapshots>
316 <releases>
317 <enabled>false</enabled>
318 <updatePolicy>never</updatePolicy>
319 </releases>
320 </pluginRepository>
321 </pluginRepositories>
322 <distributionManagement>
323 <repository>
e6f0987 * Adapted POM to Nexus
andras.hatvani authored
324 <id>openqa-releases</id>
325 <url>http://nexus.openqa.org/content/repositories/releases</url>
67507a7 reshuffling to be more "maven compliant"
plightbo authored
326 </repository>
1b32a43 using new repos
plightbo authored
327 <snapshotRepository>
e6f0987 * Adapted POM to Nexus
andras.hatvani authored
328 <id>openqa-snapshots</id>
329 <url>http://nexus.openqa.org/content/repositories/snapshots</url>
1b32a43 using new repos
plightbo authored
330 </snapshotRepository>
67507a7 reshuffling to be more "maven compliant"
plightbo authored
331 </distributionManagement>
1b32a43 using new repos
plightbo authored
332 <scm>
e6f0987 * Adapted POM to Nexus
andras.hatvani authored
333 <connection>scm:svn:http://svn.seleniumhq.org/svn/selenium-core/trunk</connection>
f5e3649 * Changed URL's, variables, names, etc. from openqa/OpenQA to seleniu…
andras.hatvani authored
334 <developerConnection>scm:svn:https://svn.seleniumhq.org/svn/selenium-core/trunk</developerConnection>
e6f0987 * Adapted POM to Nexus
andras.hatvani authored
335 <url>http://svn.seleniumhq.org/svn/selenium-core/trunk</url>
1b32a43 using new repos
plightbo authored
336 </scm>
80aea8c removing unused build.xml; basic build w/ jsunit tests works now (hav…
plightbo authored
337 <dependencies>
338 <dependency>
f5e3649 * Changed URL's, variables, names, etc. from openqa/OpenQA to seleniu…
andras.hatvani authored
339 <groupId>org.seleniumhq.selenium.server</groupId>
605dd4a Resume generating HTA file, and running firefox integration tests
dfabulich authored
340 <artifactId>selenium-server-coreless</artifactId>
56e93f0 Use more up-to-date Selenium Coreless so we can launch FF3
dfabulich authored
341 <version>1.0-SNAPSHOT</version>
e54f6ed changing scopes to test
plightbo authored
342 <scope>test</scope>
605dd4a Resume generating HTA file, and running firefox integration tests
dfabulich authored
343 </dependency>
344 <dependency>
80aea8c removing unused build.xml; basic build w/ jsunit tests works now (hav…
plightbo authored
345 <groupId>rhino</groupId>
346 <artifactId>js</artifactId>
347 <version>1.6R5</version>
e54f6ed changing scopes to test
plightbo authored
348 <scope>test</scope>
80aea8c removing unused build.xml; basic build w/ jsunit tests works now (hav…
plightbo authored
349 </dependency>
350 <dependency>
351 <groupId>junit</groupId>
352 <artifactId>junit</artifactId>
353 <version>3.8.1</version>
e54f6ed changing scopes to test
plightbo authored
354 <scope>test</scope>
80aea8c removing unused build.xml; basic build w/ jsunit tests works now (hav…
plightbo authored
355 </dependency>
356 </dependencies>
67507a7 reshuffling to be more "maven compliant"
plightbo authored
357 </project>
Something went wrong with that request. Please try again.