|
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + |
| 5 | + <groupId>com.baeldung</groupId> |
| 6 | + <artifactId>lambdatest-examples</artifactId> |
| 7 | + <version>1.0-SNAPSHOT</version> |
| 8 | + <packaging>jar</packaging> |
| 9 | + |
| 10 | + <name>maven-project</name> |
| 11 | + <url>http://maven.apache.org</url> |
| 12 | + |
| 13 | + <dependencies> |
| 14 | + <dependency> |
| 15 | + <groupId>org.seleniumhq.selenium</groupId> |
| 16 | + <artifactId>selenium-java</artifactId> |
| 17 | + <version>${selenium-java.version}</version> |
| 18 | + </dependency> |
| 19 | + <dependency> |
| 20 | + <groupId>org.testng</groupId> |
| 21 | + <artifactId>testng</artifactId> |
| 22 | + <version>${testng.version}</version> |
| 23 | + </dependency> |
| 24 | + </dependencies> |
| 25 | + |
| 26 | + <build> |
| 27 | + <plugins> |
| 28 | + <plugin> |
| 29 | + <groupId>org.apache.maven.plugins</groupId> |
| 30 | + <artifactId>maven-compiler-plugin</artifactId> |
| 31 | + <version>${maven.compiler.version}</version> |
| 32 | + <configuration> |
| 33 | + <release>${java.release.version}</release> |
| 34 | + <encoding>${maven.source.encoding}</encoding> |
| 35 | + <forceJavacCompilerUse>true</forceJavacCompilerUse> |
| 36 | + </configuration> |
| 37 | + </plugin> |
| 38 | + <plugin> |
| 39 | + <groupId>org.apache.maven.plugins</groupId> |
| 40 | + <artifactId>maven-surefire-plugin</artifactId> |
| 41 | + <version>${surefire-version}</version> |
| 42 | + <executions> |
| 43 | + <execution> |
| 44 | + <goals> |
| 45 | + <goal>test</goal> |
| 46 | + </goals> |
| 47 | + </execution> |
| 48 | + </executions> |
| 49 | + <configuration> |
| 50 | + <useSystemClassLoader>false</useSystemClassLoader> |
| 51 | + <properties> |
| 52 | + <property> |
| 53 | + <name>usedefaultlisteners</name> |
| 54 | + <value>false</value> |
| 55 | + </property> |
| 56 | + </properties> |
| 57 | + <suiteXmlFiles> |
| 58 | + <suiteXmlFile>${suite-xml}</suiteXmlFile> |
| 59 | + </suiteXmlFiles> |
| 60 | + <argLine>${argLine}</argLine> |
| 61 | + </configuration> |
| 62 | + </plugin> |
| 63 | + </plugins> |
| 64 | + </build> |
| 65 | + |
| 66 | + <properties> |
| 67 | + <testng.version>7.10.2</testng.version> |
| 68 | + <selenium-java.version>4.27.0</selenium-java.version> |
| 69 | + <maven.compiler.version>3.13.0</maven.compiler.version> |
| 70 | + <surefire-version>3.2.5</surefire-version> |
| 71 | + <java.release.version>17</java.release.version> |
| 72 | + <maven.source.encoding>UTF-8</maven.source.encoding> |
| 73 | + <suite-xml>testng.xml</suite-xml> |
| 74 | + <argLine>-Dfile.encoding=UTF-8 -Xdebug -Xnoagent</argLine> |
| 75 | + </properties> |
| 76 | + |
| 77 | +</project> |
0 commit comments