Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 225 lines (220 sloc) 10.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>
4 <groupId>org.openqa.selenium.core</groupId>
5 <artifactId>selenium-core</artifactId>
ea0c2e3 whoops - version should have been 0.8.3-SNAPSHOT, not 0.8.2-SNAPSHOT …
plightbo authored
6 <version>0.8.3-SNAPSHOT</version>
67507a7 reshuffling to be more "maven compliant"
plightbo authored
7 <name>Selenium Core</name>
8 <packaging>jar</packaging>
9 <url>http://www.openqa.org/selenium-core</url>
10 <repositories>
11 <repository>
12 <id>openqa</id>
13 <name>OpenQA Maven Repository</name>
14 <url>http://maven.openqa.org</url>
15 </repository>
16 <repository>
17 <id>apache.snapshots</id>
18 <name>Maven Snapshot Repository</name>
19 <url>http://people.apache.org/maven-snapshot-repository</url>
20 <snapshots>
21 <enabled>true</enabled>
22 <updatePolicy>daily</updatePolicy>
23 </snapshots>
24 <releases>
25 <enabled>false</enabled>
26 <updatePolicy>never</updatePolicy>
27 </releases>
28 </repository>
29 </repositories>
30 <build>
31 <plugins>
32 <plugin>
33 <artifactId>maven-surefire-plugin</artifactId>
34 <configuration>
35 <skip>true</skip>
36 </configuration>
37 </plugin>
80aea8c removing unused build.xml; basic build w/ jsunit tests works now (hav…
plightbo authored
38 <plugin>
39 <artifactId>maven-antrun-plugin</artifactId>
40 <version>1.2-SNAPSHOT</version>
41 <executions>
42 <execution>
ddca649 let's set the VERSION and REVISION tokens in selenium-version.js
plightbo authored
43 <id>compile</id>
44 <phase>compile</phase>
80aea8c removing unused build.xml; basic build w/ jsunit tests works now (hav…
plightbo authored
45 <configuration>
46 <tasks>
ddca649 let's set the VERSION and REVISION tokens in selenium-version.js
plightbo authored
47 <exec executable="svnversion" outputProperty="svn-revision" failOnError="true">
48 <arg value="."/>
49 </exec>
50
51 <copy todir="target/classes" overwrite="true">
52 <fileset dir="src/main/resources">
53 <include name="core/scripts/selenium-version.js"/>
54 <include name="VERSION.txt"/>
55 </fileset>
56 <filterset>
57 <filter token="VERSION" value="${project.version}"/>
58 <filter token="REVISION" value="${svn-revision}"/>
59 </filterset>
60 </copy>
61
80aea8c removing unused build.xml; basic build w/ jsunit tests works now (hav…
plightbo authored
62 <mkdir dir="target/classes/core"/>
63 <java jar="${maven.dependency.rhino.js.jar.path}" output="target/classes/core/iedoc.xml" failonerror="true" fork="true">
64 <arg file="src/main/resources/doctool/doc.js"/>
65 <arg file="src/main/resources/core/scripts/selenium-api.js"/>
66 </java>
67 <!--<xmlvalidate file="target/classes/core/iedoc.xml" lenient="true"/>-->
68 <java jar="${maven.dependency.rhino.js.jar.path}" output="target/classes/core/iedoc-core.xml" failonerror="true" fork="true">
69 <arg file="src/main/resources/doctool/doc.js"/>
70 <arg file="src/main/resources/core/scripts/selenium-api.js"/>
71 <arg file="src/main/resources/core/scripts/selenium-testrunner.js"/>
72 </java>
73 <!--<xmlvalidate file="target/classes/core/iedoc-core.xml" lenient="true"/>-->
74
75 <xslt in="target/classes/core/iedoc-core.xml" out="target/reference.html" style="src/main/resources/doctool/doc2html.xml"/>
76 </tasks>
77 </configuration>
78 <goals>
79 <goal>run</goal>
80 </goals>
81 </execution>
82 <execution>
83 <id>test</id>
84 <phase>test</phase>
85 <configuration>
86 <tasks>
87 <condition property="browserFileNames" value="c:\program files\Mozilla Firefox\firefox.exe">
88 <os family="windows"/>
89 </condition>
90 <condition property="browserFileNames" value="/usr/bin/firefox">
91 <os family="unix"/>
92 </condition>
93 <condition property="browserFileNames" value="/Applications/Firefox.app/Contents/MacOS/firefox-bin">
94 <os family="mac"/>
95 </condition>
96 <property name="testRunnerLocation" location="src/main/resources/jsunit/testRunner.html"/>
97 <property name="testSuiteLocation" location="src/main/resources/unittest/browserbot/suite.html"/>
98 <property name="port" value="8281"/>
99 <property name="browserBotTestUrl"
100 value="file://${testRunnerLocation}?testPage=${testSuiteLocation}&amp;autoRun=true&amp;submitresults=localhost:${port}/jsunit/acceptor"/>
101 <property name="resourceBase" value=""/>
102 <property name="logsDirectory" value="target/logs"/>
103
104 <mkdir dir="target/logs"/>
105 <junit showoutput="true" errorproperty="tests.failed" failureproperty="tests.failed">
106 <classpath>
107 <fileset dir="code/java/lib">
108 <include name="*.jar"/>
109 </fileset>
110 </classpath>
111 <sysproperty key="browserFileNames" value="${browserFileNames}"/>
112 <sysproperty key="url" value="${browserBotTestUrl}"/>
113 <sysproperty key="port" value="${port}"/>
114 <sysproperty key="resourceBase" value="${resourceBase}"/>
115 <sysproperty key="logsDirectory" value="target/logs"/>
116 <test name="net.jsunit.StandaloneTest"/>
117 </junit>
118 <junitreport todir="target/logs">
119 <fileset dir="target/logs"/>
120 <report format="frames" todir="target/logs" />
121 </junitreport>
122 <fail if="tests.failed" message="JSUnit tests failed, see output for details: target/logs" />
123 </tasks>
124 </configuration>
125 <goals>
126 <goal>run</goal>
127 </goals>
128 </execution>
129 </executions>
130 <dependencies>
131 <dependency>
132 <groupId>ant</groupId>
133 <artifactId>ant-trax</artifactId>
134 <version>1.6.5</version>
135 </dependency>
136 <dependency>
137 <groupId>ant</groupId>
138 <artifactId>ant-junit</artifactId>
139 <version>1.6.5</version>
140 </dependency>
141 <dependency>
142 <groupId>junit</groupId>
143 <artifactId>junit</artifactId>
144 <version>3.8.1</version>
145 </dependency>
146 </dependencies>
147 </plugin>
67507a7 reshuffling to be more "maven compliant"
plightbo authored
148 </plugins>
149 </build>
150 <pluginRepositories>
151 <pluginRepository>
152 <id>snapshots</id>
153 <name>Maven Plugin Snapshot Repository</name>
154 <url>http://people.apache.org/maven-snapshot-repository</url>
155 <layout>default</layout>
156 <snapshots>
157 <enabled>true</enabled>
158 <updatePolicy>daily</updatePolicy>
159 </snapshots>
160 <releases>
161 <enabled>false</enabled>
162 <updatePolicy>never</updatePolicy>
163 </releases>
164 </pluginRepository>
165 </pluginRepositories>
166 <distributionManagement>
167 <repository>
168 <id>openqa</id>
169 <name>OpenQA Maven Repository</name>
170 <url>scp://maven.openqa.org/home/maven/maven.openqa.org/htdocs</url>
171 </repository>
172 </distributionManagement>
80aea8c removing unused build.xml; basic build w/ jsunit tests works now (hav…
plightbo authored
173 <dependencies>
174 <!--
175 <dependency>
176 <groupId>jsunit</groupId>
177 <artifactId>jsunit</artifactId>
178 <version>2.1</version>
179 <scope>test</scope>
180 </dependency>
181 <dependency>
182 <groupId>jetty</groupId>
183 <artifactId>org.mortbay.jetty</artifactId>
184 <version>5.1.10</version>
185 <scope>test</scope>
186 </dependency>
187 <dependency>
188 <groupId>commons-logging</groupId>
189 <artifactId>commons-logging</artifactId>
190 <version>1.0.4</version>
191 <scope>test</scope>
192 </dependency>
193 <dependency>
194 <groupId>javax.servlet</groupId>
195 <artifactId>servlet-api</artifactId>
196 <version>2.4</version>
197 <scope>test</scope>
198 </dependency>
199 <dependency>
200 <groupId>jdom</groupId>
201 <artifactId>jdom</artifactId>
202 <version>1.0</version>
203 <scope>test</scope>
204 </dependency>
205 <dependency>
206 <groupId>xerces</groupId>
207 <artifactId>xercesImpl</artifactId>
208 <version>2.8.0</version>
209 <scope>test</scope>
210 </dependency>
211 -->
212 <dependency>
213 <groupId>rhino</groupId>
214 <artifactId>js</artifactId>
215 <version>1.6R5</version>
216 <scope>provided</scope>
217 </dependency>
218 <dependency>
219 <groupId>junit</groupId>
220 <artifactId>junit</artifactId>
221 <version>3.8.1</version>
222 </dependency>
223 </dependencies>
67507a7 reshuffling to be more "maven compliant"
plightbo authored
224 </project>
Something went wrong with that request. Please try again.