Skip to content

Commit

Permalink
Santise use of selenium
Browse files Browse the repository at this point in the history
  • Loading branch information
pmuir committed Aug 6, 2010
1 parent 8cf5d52 commit c4d599f
Showing 1 changed file with 20 additions and 57 deletions.
77 changes: 20 additions & 57 deletions examples/pom.xml
Expand Up @@ -96,7 +96,6 @@
<selenium.java.client.version>1.0.1</selenium.java.client.version>
<selenium.maven.plugin.version>1.0</selenium.maven.plugin.version>
<cargo.maven2.plugin.version>1.0</cargo.maven2.plugin.version>
<maven.antrun.plugin.version>1.3</maven.antrun.plugin.version>
<failsafe.maven.plugin.version>2.4.3-alpha-1</failsafe.maven.plugin.version>
<ant.junit.version>1.6.2</ant.junit.version>
<ftest.version.discriminator />
Expand Down Expand Up @@ -176,6 +175,11 @@
<groupId>org.glassfish.web</groupId>
<artifactId>el-impl</artifactId>
<version>${uel.glassfish.version}</version>

<dependency>
<groupId>org.seleniumhq.selenium.client-drivers</groupId>
<artifactId>selenium-java-client-driver</artifactId>
<version>${selenium.java.client.version}</version>
</dependency>

</dependencies>
Expand All @@ -191,6 +195,21 @@
<ejbVersion>3.0</ejbVersion>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>${cargo.maven2.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>selenium-maven-plugin</artifactId>
<version>${selenium.maven.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>failsafe-maven-plugin</artifactId>
<version>${failsafe.maven.plugin.version}</version>
</plugin>
</plugins>
</pluginManagement>
</build>
Expand All @@ -202,20 +221,6 @@
<activeByDefault>false</activeByDefault>
</activation>

<pluginRepositories>
<pluginRepository>
<id>repository.codehaus.repository</id>
<url>http://repository.codehaus.org/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>

<properties>
<ftest.testsuite>jboss5x.xml</ftest.testsuite>
</properties>
Expand All @@ -224,7 +229,6 @@
<dependency>
<groupId>org.seleniumhq.selenium.client-drivers</groupId>
<artifactId>selenium-java-client-driver</artifactId>
<version>${selenium.java.client.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down Expand Up @@ -262,7 +266,6 @@
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>${cargo.maven2.plugin.version}</version>
<configuration>
<container>
<containerId>jboss5x</containerId>
Expand Down Expand Up @@ -294,7 +297,6 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>selenium-maven-plugin</artifactId>
<version>${selenium.maven.plugin.version}</version>
<executions>
<execution>
<id>start-selenium</id>
Expand Down Expand Up @@ -329,7 +331,6 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>failsafe-maven-plugin</artifactId>
<version>${failsafe.maven.plugin.version}</version>
<configuration>
<testClassesDirectory>${project.build.directory}/ftest</testClassesDirectory>
<suiteXmlFiles>
Expand Down Expand Up @@ -391,7 +392,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>${maven.antrun.plugin.version}</version>

<executions>
<!-- this ant script runs testng natively -->
Expand Down Expand Up @@ -420,20 +420,6 @@
<activeByDefault>false</activeByDefault>
</activation>

<pluginRepositories>
<pluginRepository>
<id>repository.codehaus.repository</id>
<url>http://repository.codehaus.org/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>

<properties>
<ftest.testsuite>jboss5x.xml</ftest.testsuite>
</properties>
Expand All @@ -442,7 +428,6 @@
<dependency>
<groupId>org.seleniumhq.selenium.client-drivers</groupId>
<artifactId>selenium-java-client-driver</artifactId>
<version>${selenium.java.client.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down Expand Up @@ -480,7 +465,6 @@
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>${cargo.maven2.plugin.version}</version>
<configuration>
<container>
<containerId>jboss5x</containerId>
Expand Down Expand Up @@ -512,7 +496,6 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>selenium-maven-plugin</artifactId>
<version>${selenium.maven.plugin.version}</version>
<executions>
<execution>
<id>start-selenium</id>
Expand Down Expand Up @@ -548,7 +531,6 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>failsafe-maven-plugin</artifactId>
<version>${failsafe.maven.plugin.version}</version>
<configuration>
<testClassesDirectory>${project.build.directory}/ftest</testClassesDirectory>
<suiteXmlFiles>
Expand Down Expand Up @@ -610,7 +592,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>${maven.antrun.plugin.version}</version>

<executions>
<!-- this ant script runs testng natively -->
Expand Down Expand Up @@ -640,20 +621,6 @@
<activeByDefault>false</activeByDefault>
</activation>

<pluginRepositories>
<pluginRepository>
<id>repository.codehaus.repository</id>
<url>http://repository.codehaus.org/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>

<properties>
<ftest.testsuite>jboss6x-cluster.xml</ftest.testsuite>
</properties>
Expand All @@ -662,7 +629,6 @@
<dependency>
<groupId>org.seleniumhq.selenium.client-drivers</groupId>
<artifactId>selenium-java-client-driver</artifactId>
<version>${selenium.java.client.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down Expand Up @@ -700,7 +666,6 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>selenium-maven-plugin</artifactId>
<version>${selenium.maven.plugin.version}</version>
<executions>
<execution>
<id>start-selenium</id>
Expand Down Expand Up @@ -736,7 +701,6 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>failsafe-maven-plugin</artifactId>
<version>${failsafe.maven.plugin.version}</version>
<configuration>
<testClassesDirectory>${project.build.directory}/ftest</testClassesDirectory>
<suiteXmlFiles>
Expand Down Expand Up @@ -802,7 +766,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>${maven.antrun.plugin.version}</version>

<executions>
<!-- deploy application to farm directory and waiting for the application to be ready -->
Expand Down

0 comments on commit c4d599f

Please sign in to comment.