Skip to content
This repository has been archived by the owner on Apr 30, 2022. It is now read-only.

Commit

Permalink
JMAQS #562 Implement a WebDriverManager - Adjusted maven plugins to u…
Browse files Browse the repository at this point in the history
…se WebDriverManager
  • Loading branch information
jason-edstrom committed Oct 28, 2021
1 parent ef2a7f6 commit 8b438ed
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 109 deletions.
26 changes: 0 additions & 26 deletions jmaqs-accessibility/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,30 +41,4 @@
<scope>compile</scope>
</dependency>
</dependencies>
<build>
<plugins>
<!--<plugin>
<groupId>com.github.webdriverextensions</groupId>
<artifactId>webdriverextensions-maven-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<goals>
<goal>install-drivers</goal>
</goals>
</execution>
</executions>
<configuration>
<installationDirectory>./src/test/resources/drivers</installationDirectory>
<drivers>
<driver>
<name>chromedriver</name>
<customFileName>chromedriver</customFileName>
<version>${chromedriver.version}</version>
</driver>
</drivers>
</configuration>
</plugin>-->
</plugins>
</build>
</project>
42 changes: 0 additions & 42 deletions jmaqs-cucumber/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,46 +97,4 @@
</dependency>
</dependencies>

<build>
<plugins>
<!--<plugin>
<groupId>com.github.webdriverextensions</groupId>
<artifactId>webdriverextensions-maven-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<goals>
<goal>install-drivers</goal>
</goals>
</execution>
</executions>
<configuration>
<installationDirectory>./src/test/resources/drivers</installationDirectory>
<drivers>
<driver>
<name>chromedriver</name>
<customFileName>chromedriver</customFileName>
<version>${chromedriver.version}</version>
</driver>
<driver>
<name>internetexplorerdriver</name>
<platform>windows</platform>
<customFileName>IEDriverServer</customFileName>
</driver>
<driver>
<name>geckodriver</name>
<customFileName>geckodriver</customFileName>
<version>${geckodriver.version}</version>
</driver>
<driver>
<name>edgedriver</name>
<platform>windows</platform>
<customFileName>MicrosoftWebDriver</customFileName>
<version>${edgedriver.version}</version>
</driver>
</drivers>
</configuration>
</plugin>-->
</plugins>
</build>
</project>
37 changes: 0 additions & 37 deletions jmaqs-selenium/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,42 +77,5 @@
<artifactId>selenium-support</artifactId>
<version>${selenium.version}</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>io.github.bonigarcia</groupId>-->
<!-- <artifactId>webdrivermanager</artifactId>-->
<!-- </dependency>-->
</dependencies>
<build>
<plugins>
<!--<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.1.2</version>
<executions>
<execution>
<goals>
<goal>properties</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>
<configuration>
<parallel>methods</parallel>
<threadCount>5</threadCount>
<argLine>-javaagent:@{io.github.bonigarcia:webdrivermanager:jar}</argLine>
</configuration>
<dependencies>
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-testng</artifactId>
<version>3.0.0-M5</version>
</dependency>
</dependencies>
</plugin>-->
</plugins>
</build>
</project>
14 changes: 10 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

Expand Down Expand Up @@ -243,8 +243,8 @@
<configuration>
<parallel>methods</parallel>
<threadCount>5</threadCount>
<!-- <argLine>${argLine}</argLine>-->
<!-- <argLine>-javaagent @{maven.dependency.io.github.bonigarcia:webdrivermanager:jar:path}</argLine>-->
<!-- <argLine>${argLine}</argLine>-->
<!-- <argLine>-javaagent @{maven.dependency.io.github.bonigarcia:webdrivermanager:jar:path}</argLine>-->
</configuration>
</plugin>
</plugins>
Expand Down Expand Up @@ -332,6 +332,12 @@
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>io.github.bonigarcia</groupId>
<artifactId>webdrivermanager</artifactId>
</dependency>
</dependencies>

<build>
<pluginManagement>
Expand Down

0 comments on commit 8b438ed

Please sign in to comment.