archetype-resources.pom.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of webdriver-testng-archetype
Show all versions of webdriver-testng-archetype
Generates a basic skeleton project with Selenium WebDriver, TestNG and Allure
<?xml version="1.0" encoding="UTF-8"?> <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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>${groupId}</groupId> <artifactId>${artifactId}</artifactId> <version>${version}</version> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <webdrivermanager.version>3.7.1</webdrivermanager.version> <selenium-java.version>4.0.0-alpha-2</selenium-java.version> <testng.version>7.0.0</testng.version> <logback-classic.version>1.2.3</logback-classic.version> <allure-testng.version>2.13.0</allure-testng.version> <owner.version>1.0.9</owner.version> <aspectj.version>1.9.1</aspectj.version> <assertj-core.version>3.13.2</assertj-core.version> <ngwebdriver.version>1.1.4</ngwebdriver.version> <seleniumGrid>false</seleniumGrid> <seleniumGridUrl>http://ip:port/wd/hub</seleniumGridUrl> <seleniumBrowser>chrome</seleniumBrowser> </properties> <dependencies> <dependency> <groupId>io.github.bonigarcia</groupId> <artifactId>webdrivermanager</artifactId> <version>${webdrivermanager.version}</version> </dependency> <dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-java</artifactId> <version>${selenium-java.version}</version> </dependency> <dependency> <groupId>com.paulhammant</groupId> <artifactId>ngwebdriver</artifactId> <version>${ngwebdriver.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>${logback-classic.version}</version> </dependency> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <version>${testng.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>io.qameta.allure</groupId> <artifactId>allure-testng</artifactId> <version>${allure-testng.version}</version> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>${assertj-core.version}</version> </dependency> <dependency> <groupId>org.aeonbits.owner</groupId> <artifactId>owner</artifactId> <version>${owner.version}</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>io.qameta.allure</groupId> <artifactId>allure-maven</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.22.2</version> <configuration> <systemPropertyVariables> <seleniumGrid>${seleniumGrid}</seleniumGrid> <seleniumGridUrl>${seleniumGridUrl}</seleniumGridUrl> <seleniumBrowser>${seleniumBrowser}</seleniumBrowser> </systemPropertyVariables> <includes> <include>**</include> </includes> <parallel>classes</parallel> <threadCount>4</threadCount> <argLine> -javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar" </argLine> </configuration> <dependencies> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjweaver</artifactId> <version>${aspectj.version}</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> </plugins> </build> </project>