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>
4
<groupId>org.seleniumhq.selenium.core</groupId>
5
<artifactId>selenium-core</artifactId>
6
<version>1.0.1</version>
7
<name>Selenium Core</name>
8
<packaging>jar</packaging>
9
<url>http://selenium.seleniumhq.org/projects/core</url>
12
<id>openqa-releases</id>
13
<name>OpenQA Releases</name>
14
<url>http://nexus.openqa.org/content/repositories/releases</url>
16
<enabled>true</enabled>
19
<enabled>false</enabled>
23
<id>openqa-snapshots</id>
24
<name>OpenQA Snapshots</name>
25
<url>http://nexus.openqa.org/content/repositories/snapshots</url>
27
<enabled>false</enabled>
30
<enabled>true</enabled>
34
<id>openqa-thirdparty</id>
35
<name>OpenQA Third Party</name>
36
<url>http://nexus.openqa.org/content/repositories/thirdparty</url>
38
<enabled>true</enabled>
41
<enabled>false</enabled>
45
<id>apache.snapshots</id>
46
<name>Maven Snapshot Repository</name>
47
<url>http://people.apache.org/maven-snapshot-repository</url>
49
<enabled>true</enabled>
50
<updatePolicy>daily</updatePolicy>
53
<enabled>false</enabled>
54
<updatePolicy>never</updatePolicy>
58
<id>laughing-panda</id>
59
<name>Laughing Panda</name>
60
<url>http://www.laughingpanda.org/maven2/</url>
66
<directory>src/main/resources</directory>
69
<directory>target/generated-resources</directory>
74
<artifactId>maven-surefire-plugin</artifactId>
80
<artifactId>maven-antrun-plugin</artifactId>
81
<version>1.3</version>
84
<id>generate-resources</id>
85
<phase>generate-resources</phase>
88
<exec executable="svnversion" outputProperty="svn-revision" failOnError="true">
92
<copy todir="target/generated-resources" overwrite="true">
93
<fileset dir="src/main/resources">
94
<include name="core/scripts/selenium-version.js"/>
95
<include name="VERSION.txt"/>
98
<filter token="VERSION" value="${project.version}"/>
99
<filter token="REVISION" value="${svn-revision}"/>
103
<copy file="src/main/resources/core/TestRunner.html" tofile="target/generated-resources/core/TestRunner.hta" />
105
<mkdir dir="target/generated-resources/core"/>
106
<java jar="${maven.dependency.rhino.js.jar.path}" output="target/generated-resources/core/iedoc.xml" failonerror="true" fork="true">
107
<arg file="src/main/resources/doctool/doc.js"/>
108
<arg file="src/main/resources/core/scripts/selenium-api.js"/>
109
<arg file="src/main/resources/core/scripts/selenium-remoterunner.js"/>
111
<!--<xmlvalidate file="target/generated-resources/core/iedoc.xml" lenient="true"/>-->
112
<java jar="${maven.dependency.rhino.js.jar.path}" output="target/generated-resources/core/iedoc-core.xml" failonerror="true" fork="true">
113
<arg file="src/main/resources/doctool/doc.js"/>
114
<arg file="src/main/resources/core/scripts/selenium-api.js"/>
115
<arg file="src/main/resources/core/scripts/selenium-testrunner.js"/>
117
<!--<xmlvalidate file="target/generated-resources/core/iedoc-core.xml" lenient="true"/>-->
119
<xslt in="target/generated-resources/core/iedoc-core.xml" out="target/generated-resources/reference.html" style="src/main/resources/doctool/doc2html.xml"/>
129
<groupId>org.apache.ant</groupId>
130
<artifactId>ant-trax</artifactId>
131
<version>1.7.1</version>
134
<groupId>org.apache.ant</groupId>
135
<artifactId>ant-nodeps</artifactId>
136
<version>1.7.1</version>
139
<groupId>org.apache.ant</groupId>
140
<artifactId>ant-junit</artifactId>
141
<version>1.7.1</version>
144
<groupId>junit</groupId>
145
<artifactId>junit</artifactId>
146
<version>4.4</version>
151
<artifactId>maven-clean-plugin</artifactId>
155
<directory>.</directory>
157
<include>results-*.html</include>
170
<name>!skipTests</name>
176
<groupId>de.berlios.jsunit</groupId>
177
<artifactId>jsunit-maven2-plugin</artifactId>
178
<version>1.3</version>
181
<groupId>rhino</groupId>
182
<artifactId>js</artifactId>
183
<version>1.7R1</version>
190
<sourceDirectory>src/main/resources</sourceDirectory>
192
<source>unittest/fake-browser.js</source>
193
<source>unittest/dummy-logging.js</source>
194
<source>unittest/jsmock/mock.js</source>
195
<source>core/lib/prototype.js</source>
196
<source>core/scripts/htmlutils.js</source>
197
<source>core/scripts/selenium-api.js</source>
198
<source>core/scripts/selenium-browserbot.js</source>
199
<source>core/scripts/selenium-browserdetect.js</source>
200
<source>core/scripts/selenium-commandhandlers.js</source>
201
<source>core/scripts/selenium-executionloop.js</source>
202
<source>core/scripts/selenium-logging.js</source>
203
<source>core/scripts/selenium-remoterunner.js</source>
204
<source>core/scripts/selenium-testrunner.js</source>
205
<source>core/scripts/ui-element.js</source>
206
<source>core/xpath/xmltoken.js</source>
207
<source>core/xpath/util.js</source>
208
<source>core/xpath/dom.js</source>
209
<source>core/xpath/xpath.js</source>
211
<testSourceDirectory>src/test/resources</testSourceDirectory>
212
<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
215
<name>TestSuite</name>
216
<type>TESTCASES</type>
218
<include>*.js</include>
224
<goal>jsunit-test</goal>
234
<id>integration-test-firefox</id>
236
<!-- Reqire manual activation of this profile with -Pintegration-test-firefox
238
<name>!skipTests</name>
242
<slowResources>false</slowResources>
243
<multiWindow>true</multiWindow>
244
<browser>*firefoxproxy</browser>
245
<seleneseSuite>TestSuite</seleneseSuite>
250
<artifactId>maven-antrun-plugin</artifactId>
251
<version>1.3</version>
254
<id>integration-test</id>
255
<phase>integration-test</phase>
258
<taskdef resource="selenium-ant.properties">
259
<classpath refid="maven.test.classpath" />
261
<echo>Shutting down any existing Remote Control...</echo>
262
<get src="http://localhost:4444/selenium-server/driver/?cmd=shutDownSeleniumServer" dest="shutdown.log" ignoreerrors="true"/>
265
suite="src/main/resources/tests/${seleneseSuite}.html"
267
slowResources="${slowResources}"
268
multiWindow="${multiWindow}"
269
startURL="http://localhost:4444/selenium-server/tests/" />
279
<groupId>org.apache.ant</groupId>
280
<artifactId>ant-trax</artifactId>
281
<version>1.7.1</version>
284
<groupId>org.apache.ant</groupId>
285
<artifactId>ant-junit</artifactId>
286
<version>1.7.1</version>
289
<groupId>junit</groupId>
290
<artifactId>junit</artifactId>
291
<version>4.4</version>
300
<id>integration-test-iexplore</id>
302
<!-- Reqire manual activation of this profile with -Pintegration-test-firefox
304
<name>!skipTests</name>
308
<slowResources>false</slowResources>
309
<multiWindow>true</multiWindow>
310
<browser>*iexplore</browser>
311
<seleneseSuite>TestSuite-InternetExplorer</seleneseSuite>
316
<artifactId>maven-antrun-plugin</artifactId>
317
<version>1.3</version>
320
<id>integration-test</id>
321
<phase>integration-test</phase>
324
<taskdef resource="selenium-ant.properties">
325
<classpath refid="maven.test.classpath" />
329
suite="src/main/resources/tests/${seleneseSuite}.html"
331
slowResources="${slowResources}"
332
multiWindow="${multiWindow}"
333
startURL="http://localhost:4444" />
343
<groupId>org.apache.ant</groupId>
344
<artifactId>ant-trax</artifactId>
345
<version>1.7.1</version>
348
<groupId>org.apache.ant</groupId>
349
<artifactId>ant-junit</artifactId>
350
<version>1.7.1</version>
353
<groupId>junit</groupId>
354
<artifactId>junit</artifactId>
355
<version>4.4</version>
367
<name>Maven Plugin Snapshot Repository</name>
368
<url>http://people.apache.org/maven-snapshot-repository</url>
369
<layout>default</layout>
371
<enabled>true</enabled>
372
<updatePolicy>daily</updatePolicy>
375
<enabled>false</enabled>
376
<updatePolicy>never</updatePolicy>
379
</pluginRepositories>
380
<distributionManagement>
382
<id>openqa-releases</id>
383
<url>http://nexus.openqa.org/content/repositories/releases</url>
386
<id>openqa-snapshots</id>
387
<url>http://nexus.openqa.org/content/repositories/snapshots</url>
388
</snapshotRepository>
389
</distributionManagement>
391
<connection>scm:svn:http://svn.openqa.org/svn/selenium-core/trunk</connection>
392
<developerConnection>scm:svn:https://svn.openqa.org/svn/selenium-core/trunk</developerConnection>
393
<url>http://svn.openqa.org/svn/selenium-core/trunk</url>
397
<groupId>org.seleniumhq.selenium.server</groupId>
398
<artifactId>selenium-server-coreless</artifactId>
399
<version>1.0.1</version>
403
<groupId>rhino</groupId>
404
<artifactId>js</artifactId>
405
<version>1.7R1</version>
409
<groupId>junit</groupId>
410
<artifactId>junit</artifactId>
411
<version>4.4</version>