selenium-core
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.seleniumhq.selenium.core</groupId> <artifactId>selenium-core</artifactId> <version>1.0.1</version> </dependency>
<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"> <modelVersion>4.0.0</modelVersion> <groupId>org.seleniumhq.selenium.core</groupId> <artifactId>selenium-core</artifactId> <version>1.0.1</version> <name>Selenium Core</name> <packaging>jar</packaging> <url>http://selenium.seleniumhq.org/projects/core</url> <build> <resources> <resource> <directory>src/main/resources</directory> </resource> <resource> <directory>target/generated-resources</directory> </resource> </resources> <plugins> <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin> <plugin> <artifactId>maven-antrun-plugin</artifactId> <version>1.3</version> <executions> <execution> <id>generate-resources</id> <phase>generate-resources</phase> <configuration> <tasks> <exec executable="svnversion" outputProperty="svn-revision" failOnError="true"> <arg value="."/> </exec> <copy todir="target/generated-resources" overwrite="true"> <fileset dir="src/main/resources"> <include name="core/scripts/selenium-version.js"/> <include name="VERSION.txt"/> </fileset> <filterset> <filter token="VERSION" value="${project.version}"/> <filter token="REVISION" value="${svn-revision}"/> </filterset> </copy> <copy file="src/main/resources/core/TestRunner.html" tofile="target/generated-resources/core/TestRunner.hta" /> <mkdir dir="target/generated-resources/core"/> <java jar="${maven.dependency.rhino.js.jar.path}" output="target/generated-resources/core/iedoc.xml" failonerror="true" fork="true"> <arg file="src/main/resources/doctool/doc.js"/> <arg file="src/main/resources/core/scripts/selenium-api.js"/> <arg file="src/main/resources/core/scripts/selenium-remoterunner.js"/> </java> <!--<xmlvalidate file="target/generated-resources/core/iedoc.xml" lenient="true"/>--> <java jar="${maven.dependency.rhino.js.jar.path}" output="target/generated-resources/core/iedoc-core.xml" failonerror="true" fork="true"> <arg file="src/main/resources/doctool/doc.js"/> <arg file="src/main/resources/core/scripts/selenium-api.js"/> <arg file="src/main/resources/core/scripts/selenium-testrunner.js"/> </java> <!--<xmlvalidate file="target/generated-resources/core/iedoc-core.xml" lenient="true"/>--> <xslt in="target/generated-resources/core/iedoc-core.xml" out="target/generated-resources/reference.html" style="src/main/resources/doctool/doc2html.xml"/> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>org.apache.ant</groupId> <artifactId>ant-trax</artifactId> <version>1.7.1</version> </dependency> <dependency> <groupId>org.apache.ant</groupId> <artifactId>ant-nodeps</artifactId> <version>1.7.1</version> </dependency> <dependency> <groupId>org.apache.ant</groupId> <artifactId>ant-junit</artifactId> <version>1.7.1</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.4</version> </dependency> </dependencies> </plugin> <plugin> <artifactId>maven-clean-plugin</artifactId> <configuration> <filesets> <fileset> <directory>.</directory> <includes> <include>results-*.html</include> </includes> </fileset> </filesets> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>test</id> <activation> <property> <name>!skipTests</name> </property> </activation> <build> <plugins> <plugin> <groupId>de.berlios.jsunit</groupId> <artifactId>jsunit-maven2-plugin</artifactId> <version>1.3</version> <dependencies> <dependency> <groupId>rhino</groupId> <artifactId>js</artifactId> <version>1.7R1</version> </dependency> </dependencies> <executions> <execution> <id>test</id> <configuration> <sourceDirectory>src/main/resources</sourceDirectory> <sources> <source>unittest/fake-browser.js</source> <source>unittest/dummy-logging.js</source> <source>unittest/jsmock/mock.js</source> <source>core/lib/prototype.js</source> <source>core/scripts/htmlutils.js</source> <source>core/scripts/selenium-api.js</source> <source>core/scripts/selenium-browserbot.js</source> <source>core/scripts/selenium-browserdetect.js</source> <source>core/scripts/selenium-commandhandlers.js</source> <source>core/scripts/selenium-executionloop.js</source> <source>core/scripts/selenium-logging.js</source> <source>core/scripts/selenium-remoterunner.js</source> <source>core/scripts/selenium-testrunner.js</source> <source>core/scripts/ui-element.js</source> <source>core/xpath/xmltoken.js</source> <source>core/xpath/util.js</source> <source>core/xpath/dom.js</source> <source>core/xpath/xpath.js</source> </sources> <testSourceDirectory>src/test/resources</testSourceDirectory> <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory> <testSuites> <testSuite> <name>TestSuite</name> <type>TESTCASES</type> <includes> <include>*.js</include> </includes> </testSuite> </testSuites> </configuration> <goals> <goal>jsunit-test</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>integration-test-firefox</id> <activation> <!-- Reqire manual activation of this profile with -Pintegration-test-firefox <property> <name>!skipTests</name> </property>--> </activation> <properties> <slowResources>false</slowResources> <multiWindow>true</multiWindow> <browser>*firefoxproxy</browser> <seleneseSuite>TestSuite</seleneseSuite> </properties> <build> <plugins> <plugin> <artifactId>maven-antrun-plugin</artifactId> <version>1.3</version> <executions> <execution> <id>integration-test</id> <phase>integration-test</phase> <configuration> <tasks> <taskdef resource="selenium-ant.properties"> <classpath refid="maven.test.classpath" /> </taskdef> <echo>Shutting down any existing Remote Control...</echo> <get src="http://localhost:4444/selenium-server/driver/?cmd=shutDownSeleniumServer" dest="shutdown.log" ignoreerrors="true"/> <selenese browser="${browser}" suite="src/main/resources/tests/${seleneseSuite}.html" port="4444" slowResources="${slowResources}" multiWindow="${multiWindow}" startURL="http://localhost:4444/selenium-server/tests/" /> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>org.apache.ant</groupId> <artifactId>ant-trax</artifactId> <version>1.7.1</version> </dependency> <dependency> <groupId>org.apache.ant</groupId> <artifactId>ant-junit</artifactId> <version>1.7.1</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.4</version> </dependency> </dependencies> </plugin> </plugins> </build> </profile> <profile> <id>integration-test-iexplore</id> <activation> <!-- Reqire manual activation of this profile with -Pintegration-test-firefox <property> <name>!skipTests</name> </property>--> </activation> <properties> <slowResources>false</slowResources> <multiWindow>true</multiWindow> <browser>*iexplore</browser> <seleneseSuite>TestSuite-InternetExplorer</seleneseSuite> </properties> <build> <plugins> <plugin> <artifactId>maven-antrun-plugin</artifactId> <version>1.3</version> <executions> <execution> <id>integration-test</id> <phase>integration-test</phase> <configuration> <tasks> <taskdef resource="selenium-ant.properties"> <classpath refid="maven.test.classpath" /> </taskdef> <selenese browser="${browser}" suite="src/main/resources/tests/${seleneseSuite}.html" port="4444" slowResources="${slowResources}" multiWindow="${multiWindow}" startURL="http://localhost:4444" /> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>org.apache.ant</groupId> <artifactId>ant-trax</artifactId> <version>1.7.1</version> </dependency> <dependency> <groupId>org.apache.ant</groupId> <artifactId>ant-junit</artifactId> <version>1.7.1</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.4</version> </dependency> </dependencies> </plugin> </plugins> </build> </profile> </profiles> <pluginRepositories> <pluginRepository> <id>snapshots</id> <name>Maven Plugin Snapshot Repository</name> <url>http://people.apache.org/maven-snapshot-repository</url> <layout>default</layout> <snapshots> <enabled>true</enabled> <updatePolicy>daily</updatePolicy> </snapshots> <releases> <enabled>false</enabled> <updatePolicy>never</updatePolicy> </releases> </pluginRepository> </pluginRepositories> <distributionManagement> <repository> <id>openqa-releases</id> <url>http://nexus.openqa.org/content/repositories/releases</url> </repository> <snapshotRepository> <id>openqa-snapshots</id> <url>http://nexus.openqa.org/content/repositories/snapshots</url> </snapshotRepository> </distributionManagement> <scm> <connection>scm:svn:http://svn.openqa.org/svn/selenium-core/trunk</connection> <developerConnection>scm:svn:https://svn.openqa.org/svn/selenium-core/trunk</developerConnection> <url>http://svn.openqa.org/svn/selenium-core/trunk</url> </scm> <dependencies> <dependency> <groupId>org.seleniumhq.selenium.server</groupId> <artifactId>selenium-server-coreless</artifactId> <version>1.0.1</version> <scope>test</scope> </dependency> <dependency> <groupId>rhino</groupId> <artifactId>js</artifactId> <version>1.7R1</version> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.4</version> <scope>test</scope> </dependency> </dependencies> </project>