Sample pom.xml for java-selenium project

Sample pom.xml for java-selenium project

This is the pom.xml that I use for mostly all of my java selenium project.

Here I will be using selenium with java and testing and some plugins to make my work easier.

<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
RBBBMUAT
RBB
0.0.1-SNAPSHOT
<! — https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java

org.seleniumhq.selenium
selenium-java
3.141.59

<! — https://mvnrepository.com/artifact/org.testng/testng

org.testng
testng
7.1.0 <! — https://mvnrepository.com/artifact/com.google.guava/guava

com.google.guava
guava
29.0-jre



org.apache.maven.plugins
maven-surefire-plugin
3.0.0-M4


XMLFiles/testng.xml



org.codehaus.mojo
exec-maven-plugin
3.0.0

com.workon.testrunner.TestRunner


maven-assembly-plugin



com.workon.testrunner.TestRunner



jar-with-dependencies



org.sonarsource.scanner.maven
sonar-maven-plugin
3.7.0.1746



Let me know if you face any problems using this XML