Created
July 20, 2023 11:26
-
-
Save leductho911/d64fb9ae7124e5ab6d01aeb78646c6a7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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>com.nopcommerce</groupId> | |
| <artifactId>Maven-Hybrid-Nopcommerce</artifactId> | |
| <version>1.0-SNAPSHOT</version> | |
| <properties> | |
| <!-- Compiler Code with Java 11 --> | |
| <maven.compiler.source>11</maven.compiler.source> | |
| <maven.compiler.target>11</maven.compiler.target> | |
| <!-- Encoding for Build/ Console --> | |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
| <!-- Encoding for Report --> | |
| <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | |
| <!-- Global variable for dependencies --> | |
| <webdriver.version>4.9.1</webdriver.version> | |
| <testng.version>7.4.0</testng.version> | |
| <jackson.version>2.15.2</jackson.version> | |
| <webdrivermanager.version>5.4.0</webdrivermanager.version> | |
| <aspectj.version>1.9.8</aspectj.version> | |
| <allure.version>2.23.0</allure.version> | |
| <extent.version>5.0.8</extent.version> | |
| <faker.version>1.0.1</faker.version> | |
| <log4j.version>2.20.0</log4j.version> | |
| <reportng.version>1.1.4</reportng.version> | |
| </properties> | |
| <dependencies> | |
| <!-- TestNG --> | |
| <dependency> | |
| <groupId>org.testng</groupId> | |
| <artifactId>testng</artifactId> | |
| <version>${testng.version}</version> | |
| </dependency> | |
| <!-- Selenium Java --> | |
| <dependency> | |
| <groupId>org.seleniumhq.selenium</groupId> | |
| <artifactId>selenium-java</artifactId> | |
| <version>${webdriver.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.seleniumhq.selenium</groupId> | |
| <artifactId>selenium-support</artifactId> | |
| <version>${webdriver.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>io.github.bonigarcia</groupId> | |
| <artifactId>webdrivermanager</artifactId> | |
| <version>${webdrivermanager.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.uncommons</groupId> | |
| <artifactId>reportng</artifactId> | |
| <version>${reportng.version}</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.fasterxml.jackson.core</groupId> | |
| <artifactId>jackson-core</artifactId> | |
| <version>${jackson.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.fasterxml.jackson.core</groupId> | |
| <artifactId>jackson-databind</artifactId> | |
| <version>${jackson.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.aventstack</groupId> | |
| <artifactId>extentreports</artifactId> | |
| <version>${extent.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>joda-time</groupId> | |
| <artifactId>joda-time</artifactId> | |
| <version>2.0</version> | |
| </dependency> | |
| <!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core --> | |
| <dependency> | |
| <groupId>org.apache.logging.log4j</groupId> | |
| <artifactId>log4j-core</artifactId> | |
| <version>${log4j.version}</version> | |
| </dependency> | |
| <!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-api --> | |
| <dependency> | |
| <groupId>org.apache.logging.log4j</groupId> | |
| <artifactId>log4j-api</artifactId> | |
| <version>${log4j.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.slf4j</groupId> | |
| <artifactId>slf4j-api</artifactId> | |
| <version>1.7.24</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>velocity</groupId> | |
| <artifactId>velocity-dep</artifactId> | |
| <version>1.4</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.inject</groupId> | |
| <artifactId>guice</artifactId> | |
| <version>4.1.0</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-logging</groupId> | |
| <artifactId>commons-logging</artifactId> | |
| <version>1.2</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.github.javafaker</groupId> | |
| <artifactId>javafaker</artifactId> | |
| <version>${faker.version}</version> | |
| </dependency> | |
| <!-- https://mvnrepository.com/artifact/io.qameta.allure/allure-testng --> | |
| <dependency> | |
| <groupId>io.qameta.allure</groupId> | |
| <artifactId>allure-testng</artifactId> | |
| <version>${allure.version}</version> | |
| </dependency> | |
| <!-- https://mvnrepository.com/artifact/io.qameta.allure/allure-attachments --> | |
| <dependency> | |
| <groupId>io.qameta.allure</groupId> | |
| <artifactId>allure-attachments</artifactId> | |
| <version>${allure.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.aspectj</groupId> | |
| <artifactId>aspectjweaver</artifactId> | |
| <version>${aspectj.version}</version> | |
| <scope>runtime</scope> | |
| </dependency> | |
| <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok --> | |
| <dependency> | |
| <groupId>org.projectlombok</groupId> | |
| <artifactId>lombok</artifactId> | |
| <version>1.18.28</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <!-- https://mvnrepository.com/artifact/com.beust/jcommander --> | |
| <dependency> | |
| <groupId>com.beust</groupId> | |
| <artifactId>jcommander</artifactId> | |
| <version>1.82</version> | |
| </dependency> | |
| <!-- https://mvnrepository.com/artifact/org.aeonbits.owner/owner --> | |
| <dependency> | |
| <groupId>org.aeonbits.owner</groupId> | |
| <artifactId>owner</artifactId> | |
| <version>1.0.12</version> | |
| </dependency> | |
| </dependencies> | |
| <!-- Compiler/ Run Test --> | |
| <build> | |
| <plugins> | |
| <!-- Compiler --> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <version>3.10.0</version> | |
| <!-- Compiler code vs Java 11 --> | |
| <configuration> | |
| <source>11</source> | |
| <target>11</target> | |
| </configuration> | |
| </plugin> | |
| <!-- Run test --> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-surefire-plugin</artifactId> | |
| <version>2.22.2</version> | |
| <configuration> | |
| <!-- Run TestNG xml file --> | |
| <suiteXmlFiles> | |
| <suiteXmlFile>src/test/resources/runTest.xml</suiteXmlFile> | |
| </suiteXmlFiles> | |
| <!-- Argument --> | |
| <argLine> | |
| -javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar" | |
| </argLine> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment