Skip to content

Instantly share code, notes, and snippets.

@andreidbr
Created March 13, 2018 18:56
Show Gist options
  • Save andreidbr/d22b279fc71913367adfea97a5cfbb49 to your computer and use it in GitHub Desktop.
Save andreidbr/d22b279fc71913367adfea97a5cfbb49 to your computer and use it in GitHub Desktop.
An example pom.xml file with Selenium and TestNG as dependencies
<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>
<build>
<plugins>
<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>
<groupId>PortfolioTests</groupId>
<artifactId>PortfolioTests</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>PortfolioTests</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.5</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>3.10.0</version>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.9.10</version>
</dependency>
</dependencies>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment