Advertisement
Guest User

Untitled

a guest
Nov 14th, 2023
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.94 KB | Software | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3.         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4.         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5.     <modelVersion>4.0.0</modelVersion>
  6.  
  7.     <groupId>com.example</groupId>
  8.     <artifactId>ExampleAssert</artifactId>
  9.     <version>1.0-SNAPSHOT</version>
  10.  
  11.     <properties>
  12.         <maven.compiler.source>21</maven.compiler.source>
  13.         <maven.compiler.target>21</maven.compiler.target>
  14.         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15.     </properties>
  16.  
  17.     <dependencies>
  18.         <dependency>
  19.             <groupId>com.microsoft.playwright</groupId>
  20.             <artifactId>playwright</artifactId>
  21.             <version>1.36.0</version>
  22.         </dependency>
  23.  
  24.         <!-- JUnit Jupiter Engine -->
  25.         <dependency>
  26.             <groupId>org.junit.jupiter</groupId>
  27.             <artifactId>junit-jupiter-engine</artifactId>
  28.             <version>5.10.0</version>
  29.         </dependency>
  30.  
  31.         <!-- JUnit Jupiter API -->
  32.         <dependency>
  33.             <groupId>org.junit.jupiter</groupId>
  34.             <artifactId>junit-jupiter-api</artifactId>
  35.             <version>5.10.0</version>
  36.         </dependency>
  37.  
  38.         <!-- JUnit Platform Suite API -->
  39.         <dependency>
  40.             <groupId>org.junit.platform</groupId>
  41.             <artifactId>junit-platform-suite-api</artifactId>
  42.             <version>1.10.0</version>
  43.         </dependency>
  44.         <dependency>
  45.             <groupId>org.junit.platform</groupId>
  46.             <artifactId>junit-platform-launcher</artifactId>
  47.             <version>1.10.0</version>
  48.         </dependency>
  49.         <dependency>
  50.             <groupId>org.junit.platform</groupId>
  51.             <artifactId>junit-platform-engine</artifactId>
  52.             <version>1.10.0</version>
  53.         </dependency>
  54.     </dependencies>
  55.  
  56.     <build>
  57.         <testSourceDirectory>src/main/java</testSourceDirectory>
  58.         <plugins>
  59.             <plugin>
  60.                 <groupId>org.apache.maven.plugins</groupId>
  61.                 <artifactId>maven-compiler-plugin</artifactId>
  62.                 <version>3.11.0</version>
  63.                 <configuration>
  64.                     <source>21</source>
  65.                     <target>21</target>
  66.                 </configuration>
  67.             </plugin>
  68.             <plugin>
  69.                 <groupId>org.apache.maven.plugins</groupId>
  70.                 <artifactId>maven-surefire-plugin</artifactId>
  71.                 <version>3.1.2</version>
  72.                 <configuration>
  73.                     <useModulePath>false</useModulePath>
  74.                     <includes>
  75.                         <include>**/*Tests.java</include>
  76.                         <include>**/*Test.java</include>
  77.                     </includes>
  78.                 </configuration>
  79.             </plugin>
  80.         </plugins>
  81.     </build>
  82. </project>
  83.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement