playwrightjava1/pom.xml

190 lines
7.0 KiB
XML
Raw Normal View History

2024-02-14 10:23:17 +00:00
<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>
<groupId>com.gmgauthier</groupId>
<artifactId>PlaywrightJava1</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<distributionManagement>
<site>
<id>website</id>
<url>scp://webhost.company.com/www/website</url>
</site>
</distributionManagement>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>17</java.version>
</properties>
2023-01-25 11:04:29 +00:00
<dependencies>
2024-02-14 10:23:17 +00:00
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-bom</artifactId>
<version>7.10.1</version>
<type>pom</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>5.9.2</version>
<type>pom</type>
<scope>test</scope>
</dependency>
<!-- *********************************** JUNIT5 **************************** -->
<!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.9.2</version>
<scope>test</scope>
</dependency>
2023-01-27 16:51:18 +00:00
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-reporting</artifactId>
<version>1.9.2</version>
<scope>test</scope>
</dependency>
<!-- *************************** PLAYWRIGHT **************************** -->
<!-- https://mvnrepository.com/artifact/com.microsoft.playwright/playwright -->
<dependency>
<groupId>com.microsoft.playwright</groupId>
<artifactId>playwright</artifactId>
<version>1.29.0</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.microsoft.playwright/assertions -->
<dependency>
<groupId>com.microsoft.playwright</groupId>
<artifactId>assertions</artifactId>
<version>1.17.2</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.microsoft.playwright/driver -->
<dependency>
<groupId>com.microsoft.playwright</groupId>
<artifactId>driver</artifactId>
<version>1.29.0</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.microsoft.playwright/driver-bundle -->
<dependency>
<groupId>com.microsoft.playwright</groupId>
<artifactId>driver-bundle</artifactId>
<version>1.29.0</version>
</dependency>
<!-- *********************** CUCUMBER ******************************* -->
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-java</artifactId>
2024-02-14 10:23:17 +00:00
<version>7.11.2</version>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/io.cucumber/cucumber-junit -->
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-junit</artifactId>
2024-02-14 10:23:17 +00:00
<version>7.11.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-junit-platform-engine</artifactId>
2024-02-14 10:23:17 +00:00
<version>7.11.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-picocontainer</artifactId>
2024-02-14 10:23:17 +00:00
<version>7.11.2</version>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.9</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.opentest4j/opentest4j -->
<dependency>
<groupId>org.opentest4j</groupId>
<artifactId>opentest4j</artifactId>
<version>1.2.0</version>
</dependency>
2023-01-25 11:04:29 +00:00
</dependencies>
2023-01-27 13:51:59 +00:00
<profiles>
<profile>
<id>test</id>
<properties>
<cucumber.plugin>
{
2024-02-14 10:23:17 +00:00
"pretty",
"html:target/test-reports/cucumber-html-report.html",
"json:target/test-reports/cucumber.json",
"pretty:target/test-reports/cucumber-pretty.txt",
"usage:target/test-reports/cucumber-usage.json",
"junit:target/test-reports/cucumber-results.xml"
}
</cucumber.plugin>
<cucumber.publish>false</cucumber.publish>
<cucumber.step.notifications>true</cucumber.step.notifications>
<cucumber.publish.quiet>true</cucumber.publish.quiet>
2023-01-27 13:51:59 +00:00
</properties>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M7</version>
<configuration>
2024-07-23 12:32:30 +00:00
<testSourceDirectory>src/test/java/com/gmgauthier/webtests</testSourceDirectory>
2023-01-27 12:47:29 +00:00
<includes>
<include>**/*DemoRunner.java</include>
</includes>
<properties>
<configurationParameters>
junit.platform.reporting.open.xml.enabled = true
junit.platform.reporting.output.dir = target/surefire-reports
</configurationParameters>
</properties>
2023-01-27 13:51:59 +00:00
<systemPropertyVariables>
<!--suppress UnresolvedMavenProperty -->
<cucumber.options>${cucumber.options}</cucumber.options>
<!--suppress UnresolvedMavenProperty -->
<cucumber.publish.quiet>${cucumber.publish.quiet}</cucumber.publish.quiet>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
2023-01-25 11:04:29 +00:00
</project>