~testplan-team/testplan/source-collection

« back to all changes in this revision

Viewing changes to selenium-core-1.0.1/META-INF/maven/org.seleniumhq.selenium.core/selenium-core/pom.xml

  • Committer: edA-qa mort-ora-y
  • Date: 2009-07-02 09:23:56 UTC
  • Revision ID: eda-qa@disemia.com-20090702092356-w9rxifuvlva3bk31
upgradingĀ selenium

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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>
 
10
    <repositories>
 
11
        <repository>
 
12
            <id>openqa-releases</id>
 
13
            <name>OpenQA Releases</name>
 
14
            <url>http://nexus.openqa.org/content/repositories/releases</url>
 
15
            <releases>
 
16
                <enabled>true</enabled>
 
17
            </releases>
 
18
            <snapshots>
 
19
                <enabled>false</enabled>
 
20
            </snapshots>
 
21
        </repository>
 
22
        <repository>
 
23
            <id>openqa-snapshots</id>
 
24
            <name>OpenQA Snapshots</name>
 
25
            <url>http://nexus.openqa.org/content/repositories/snapshots</url>
 
26
            <releases>
 
27
                <enabled>false</enabled>
 
28
            </releases>
 
29
            <snapshots>
 
30
                <enabled>true</enabled>
 
31
            </snapshots>
 
32
        </repository>
 
33
        <repository>
 
34
            <id>openqa-thirdparty</id>
 
35
            <name>OpenQA Third Party</name>
 
36
            <url>http://nexus.openqa.org/content/repositories/thirdparty</url>
 
37
            <releases>
 
38
                <enabled>true</enabled>
 
39
            </releases>
 
40
            <snapshots>
 
41
                <enabled>false</enabled>
 
42
            </snapshots>
 
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
        <repository>
 
58
                        <id>laughing-panda</id>
 
59
                        <name>Laughing Panda</name>
 
60
                        <url>http://www.laughingpanda.org/maven2/</url>
 
61
                </repository>
 
62
    </repositories>
 
63
    <build>
 
64
        <resources>
 
65
          <resource>
 
66
            <directory>src/main/resources</directory>
 
67
          </resource>
 
68
          <resource>
 
69
            <directory>target/generated-resources</directory>
 
70
          </resource>
 
71
        </resources>
 
72
        <plugins>
 
73
            <plugin>
 
74
                <artifactId>maven-surefire-plugin</artifactId>
 
75
                <configuration>
 
76
                    <skip>true</skip>
 
77
                </configuration>
 
78
            </plugin>
 
79
            <plugin>
 
80
                <artifactId>maven-antrun-plugin</artifactId>
 
81
                <version>1.3</version>
 
82
                <executions>
 
83
                    <execution>
 
84
                        <id>generate-resources</id>
 
85
                        <phase>generate-resources</phase>
 
86
                        <configuration>
 
87
                            <tasks>
 
88
                                <exec executable="svnversion" outputProperty="svn-revision" failOnError="true">
 
89
                                    <arg value="."/>
 
90
                                </exec>
 
91
 
 
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"/>
 
96
                                    </fileset>
 
97
                                    <filterset>
 
98
                                        <filter token="VERSION" value="${project.version}"/>
 
99
                                        <filter token="REVISION" value="${svn-revision}"/>
 
100
                                    </filterset>
 
101
                                </copy>
 
102
                                
 
103
                                <copy file="src/main/resources/core/TestRunner.html" tofile="target/generated-resources/core/TestRunner.hta" />
 
104
 
 
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"/>
 
110
                                </java>
 
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"/>
 
116
                                </java>
 
117
                                <!--<xmlvalidate file="target/generated-resources/core/iedoc-core.xml" lenient="true"/>-->
 
118
 
 
119
                                <xslt in="target/generated-resources/core/iedoc-core.xml" out="target/generated-resources/reference.html" style="src/main/resources/doctool/doc2html.xml"/>
 
120
                            </tasks>
 
121
                        </configuration>
 
122
                        <goals>
 
123
                            <goal>run</goal>
 
124
                        </goals>
 
125
                    </execution>
 
126
                </executions>
 
127
                <dependencies>
 
128
                    <dependency>
 
129
                        <groupId>org.apache.ant</groupId>
 
130
                        <artifactId>ant-trax</artifactId>
 
131
                        <version>1.7.1</version>
 
132
                    </dependency>
 
133
                    <dependency>
 
134
                        <groupId>org.apache.ant</groupId>
 
135
                        <artifactId>ant-nodeps</artifactId>
 
136
                        <version>1.7.1</version>
 
137
                    </dependency>
 
138
                    <dependency>
 
139
                        <groupId>org.apache.ant</groupId>
 
140
                        <artifactId>ant-junit</artifactId>
 
141
                        <version>1.7.1</version>
 
142
                    </dependency>
 
143
                    <dependency>
 
144
                        <groupId>junit</groupId>
 
145
                        <artifactId>junit</artifactId>
 
146
                        <version>4.4</version>
 
147
                    </dependency>
 
148
                </dependencies>
 
149
            </plugin>
 
150
            <plugin>
 
151
                <artifactId>maven-clean-plugin</artifactId>
 
152
                <configuration>
 
153
                    <filesets>
 
154
                        <fileset>
 
155
                            <directory>.</directory>
 
156
                            <includes>
 
157
                                <include>results-*.html</include>
 
158
                            </includes>
 
159
                        </fileset>
 
160
                    </filesets>
 
161
                </configuration>
 
162
            </plugin>
 
163
        </plugins>
 
164
    </build>
 
165
    <profiles>
 
166
        <profile>
 
167
            <id>test</id>
 
168
            <activation>
 
169
                <property>
 
170
                    <name>!skipTests</name>
 
171
                </property>
 
172
            </activation>
 
173
            <build>
 
174
                <plugins>
 
175
                    <plugin>
 
176
                        <groupId>de.berlios.jsunit</groupId>
 
177
                        <artifactId>jsunit-maven2-plugin</artifactId>
 
178
                        <version>1.3</version>
 
179
                        <dependencies>
 
180
                          <dependency>
 
181
                            <groupId>rhino</groupId>
 
182
                            <artifactId>js</artifactId>
 
183
                            <version>1.7R1</version>
 
184
                          </dependency>
 
185
                        </dependencies>
 
186
                        <executions>
 
187
                            <execution>
 
188
                                <id>test</id>
 
189
                                <configuration>
 
190
                                    <sourceDirectory>src/main/resources</sourceDirectory>
 
191
                                    <sources>
 
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> 
 
210
                                    </sources>
 
211
                                    <testSourceDirectory>src/test/resources</testSourceDirectory>
 
212
                                    <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
 
213
                                    <testSuites>
 
214
                                        <testSuite>
 
215
                                            <name>TestSuite</name>
 
216
                                            <type>TESTCASES</type>
 
217
                                            <includes>
 
218
                                                <include>*.js</include>
 
219
                                            </includes>
 
220
                                        </testSuite>
 
221
                                    </testSuites>
 
222
                                </configuration>
 
223
                                <goals>
 
224
                                    <goal>jsunit-test</goal>
 
225
                                </goals>
 
226
                            </execution>
 
227
                        </executions>
 
228
                    </plugin>
 
229
                </plugins>
 
230
            </build>
 
231
        </profile>
 
232
        
 
233
        <profile>
 
234
            <id>integration-test-firefox</id>
 
235
            <activation>
 
236
                <!-- Reqire manual activation of this profile with -Pintegration-test-firefox
 
237
                <property>
 
238
                    <name>!skipTests</name>
 
239
                </property>-->
 
240
            </activation>
 
241
            <properties>
 
242
                <slowResources>false</slowResources>
 
243
                <multiWindow>true</multiWindow>
 
244
                <browser>*firefoxproxy</browser>
 
245
                <seleneseSuite>TestSuite</seleneseSuite>
 
246
            </properties>
 
247
            <build>
 
248
                <plugins>
 
249
                    <plugin>
 
250
                        <artifactId>maven-antrun-plugin</artifactId>
 
251
                        <version>1.3</version>
 
252
                        <executions>
 
253
                            <execution>
 
254
                                <id>integration-test</id>
 
255
                                <phase>integration-test</phase>
 
256
                                <configuration>
 
257
                                    <tasks>
 
258
                                        <taskdef resource="selenium-ant.properties">
 
259
                                            <classpath refid="maven.test.classpath" />
 
260
                                        </taskdef>
 
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"/>
 
263
                                        <selenese 
 
264
                                            browser="${browser}"
 
265
                                            suite="src/main/resources/tests/${seleneseSuite}.html"
 
266
                                            port="4444"
 
267
                                            slowResources="${slowResources}"
 
268
                                            multiWindow="${multiWindow}"
 
269
                                            startURL="http://localhost:4444/selenium-server/tests/" />
 
270
                                    </tasks>
 
271
                                </configuration>
 
272
                                <goals>
 
273
                                    <goal>run</goal>
 
274
                                </goals>
 
275
                            </execution>
 
276
                        </executions>
 
277
                        <dependencies>
 
278
                            <dependency>
 
279
                                <groupId>org.apache.ant</groupId>
 
280
                                <artifactId>ant-trax</artifactId>
 
281
                                <version>1.7.1</version>
 
282
                            </dependency>
 
283
                            <dependency>
 
284
                                <groupId>org.apache.ant</groupId>
 
285
                                <artifactId>ant-junit</artifactId>
 
286
                                <version>1.7.1</version>
 
287
                            </dependency>
 
288
                            <dependency>
 
289
                                <groupId>junit</groupId>
 
290
                                <artifactId>junit</artifactId>
 
291
                                <version>4.4</version>
 
292
                            </dependency>
 
293
                        </dependencies>
 
294
                    </plugin>
 
295
                </plugins>
 
296
            </build>
 
297
        </profile>
 
298
        
 
299
        <profile>
 
300
            <id>integration-test-iexplore</id>
 
301
            <activation>
 
302
                <!-- Reqire manual activation of this profile with -Pintegration-test-firefox
 
303
                <property>
 
304
                    <name>!skipTests</name>
 
305
                </property>-->
 
306
            </activation>
 
307
            <properties>
 
308
                <slowResources>false</slowResources>
 
309
                <multiWindow>true</multiWindow>
 
310
                <browser>*iexplore</browser>
 
311
                <seleneseSuite>TestSuite-InternetExplorer</seleneseSuite>
 
312
            </properties>
 
313
            <build>
 
314
                <plugins>
 
315
                    <plugin>
 
316
                        <artifactId>maven-antrun-plugin</artifactId>
 
317
                        <version>1.3</version>
 
318
                        <executions>
 
319
                            <execution>
 
320
                                <id>integration-test</id>
 
321
                                <phase>integration-test</phase>
 
322
                                <configuration>
 
323
                                    <tasks>
 
324
                                        <taskdef resource="selenium-ant.properties">
 
325
                                            <classpath refid="maven.test.classpath" />
 
326
                                        </taskdef>
 
327
                                        <selenese 
 
328
                                            browser="${browser}"
 
329
                                            suite="src/main/resources/tests/${seleneseSuite}.html"
 
330
                                            port="4444"
 
331
                                            slowResources="${slowResources}"
 
332
                                            multiWindow="${multiWindow}"
 
333
                                            startURL="http://localhost:4444" />
 
334
                                    </tasks>
 
335
                                </configuration>
 
336
                                <goals>
 
337
                                    <goal>run</goal>
 
338
                                </goals>
 
339
                            </execution>
 
340
                        </executions>
 
341
                        <dependencies>
 
342
                            <dependency>
 
343
                                <groupId>org.apache.ant</groupId>
 
344
                                <artifactId>ant-trax</artifactId>
 
345
                                <version>1.7.1</version>
 
346
                            </dependency>
 
347
                            <dependency>
 
348
                                <groupId>org.apache.ant</groupId>
 
349
                                <artifactId>ant-junit</artifactId>
 
350
                                <version>1.7.1</version>
 
351
                            </dependency>
 
352
                            <dependency>
 
353
                                <groupId>junit</groupId>
 
354
                                <artifactId>junit</artifactId>
 
355
                                <version>4.4</version>
 
356
                            </dependency>
 
357
                        </dependencies>
 
358
                    </plugin>
 
359
                </plugins>
 
360
            </build>
 
361
        </profile>
 
362
        
 
363
    </profiles>
 
364
    <pluginRepositories>
 
365
        <pluginRepository>
 
366
            <id>snapshots</id>
 
367
            <name>Maven Plugin Snapshot Repository</name>
 
368
            <url>http://people.apache.org/maven-snapshot-repository</url>
 
369
            <layout>default</layout>
 
370
            <snapshots>
 
371
                <enabled>true</enabled>
 
372
                <updatePolicy>daily</updatePolicy>
 
373
            </snapshots>
 
374
            <releases>
 
375
                <enabled>false</enabled>
 
376
                <updatePolicy>never</updatePolicy>
 
377
            </releases>
 
378
        </pluginRepository>
 
379
    </pluginRepositories>
 
380
    <distributionManagement>
 
381
        <repository>
 
382
            <id>openqa-releases</id>
 
383
            <url>http://nexus.openqa.org/content/repositories/releases</url>
 
384
        </repository>
 
385
        <snapshotRepository>
 
386
            <id>openqa-snapshots</id>
 
387
            <url>http://nexus.openqa.org/content/repositories/snapshots</url>
 
388
        </snapshotRepository>
 
389
    </distributionManagement>
 
390
    <scm>
 
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>
 
394
    </scm>
 
395
    <dependencies>
 
396
        <dependency>
 
397
            <groupId>org.seleniumhq.selenium.server</groupId>
 
398
            <artifactId>selenium-server-coreless</artifactId>
 
399
            <version>1.0.1</version>
 
400
            <scope>test</scope>
 
401
        </dependency>
 
402
        <dependency>
 
403
            <groupId>rhino</groupId>
 
404
            <artifactId>js</artifactId>
 
405
            <version>1.7R1</version>
 
406
            <scope>test</scope>
 
407
        </dependency>
 
408
        <dependency>
 
409
            <groupId>junit</groupId>
 
410
            <artifactId>junit</artifactId>
 
411
            <version>4.4</version>
 
412
            <scope>test</scope>
 
413
        </dependency>
 
414
    </dependencies>
 
415
</project>