selenium-core
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.openqa.selenium.core</groupId>
<artifactId>selenium-core</artifactId>
<version>1.0-20080914.225453</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.openqa.selenium.core</groupId>
<artifactId>selenium-core</artifactId>
<version>1.0-20080914.225453</version>
<name>Selenium Core</name>
<packaging>jar</packaging>
<url>http://www.openqa.org/selenium-core</url>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>target/generated-resources</directory>
</resource>
</resources>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-webdav</artifactId>
<version>1.0-beta-2</version>
</extension>
</extensions>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.2-SNAPSHOT</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>ant</groupId>
<artifactId>ant-trax</artifactId>
<version>1.6.5</version>
</dependency>
<dependency>
<groupId>ant</groupId>
<artifactId>ant-nodeps</artifactId>
<version>1.6.5</version>
</dependency>
<dependency>
<groupId>ant</groupId>
<artifactId>ant-junit</artifactId>
<version>1.6.5</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</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>*firefox</browser>
<seleneseSuite>TestSuite</seleneseSuite>
</properties>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.2-SNAPSHOT</version>
<executions>
<execution>
<id>integration-test</id>
<phase>integration-test</phase>
<configuration>
<tasks>
<taskdef resource="selenium-ant.properties">
<classpath refid="maven.dependency.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>ant</groupId>
<artifactId>ant-trax</artifactId>
<version>1.6.5</version>
</dependency>
<dependency>
<groupId>ant</groupId>
<artifactId>ant-junit</artifactId>
<version>1.6.5</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<distributionManagement>
<repository>
<id>openqa-releases</id>
<url>dav:http://archiva.openqa.org/repository/releases/</url>
</repository>
<snapshotRepository>
<id>openqa-snapshots</id>
<url>dav:http://archiva.openqa.org/repository/snapshots/</url>
</snapshotRepository>
</distributionManagement>
<scm>
<connection>scm:svn:https://svn.openqa.org/svn/selenium-core/trunk</connection>
<developerConnection>scm:svn:https://svn.openqa.org/svn/selenium-core/trunk</developerConnection>
<url>https://svn.openqa.org/svn/selenium-core/trunk</url>
</scm>
<dependencies>
<dependency>
<groupId>org.openqa.selenium.server</groupId>
<artifactId>selenium-server-coreless</artifactId>
<version>1.0-20081010.060147</version>
</dependency>
<dependency>
<groupId>rhino</groupId>
<artifactId>js</artifactId>
<version>1.6R5</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
</dependency>
</dependencies>
</project>