Structuring your POM by Maven - rlaurindo/projectselenium GitHub Wiki
Welcome to the Project Selenium Wiki!
First of all, I would like to share you that is really essential the structuring of POM.xml, because when you begin a project and just put on plenty of plugins or dependencies your project will remain harm according it goes to coming to life.
I want to clarify, which I am beggining in automation testing, but according I go to learning even more, I feel more interested in everything. Then, my fisrt project began to present a lot of issues because there were dependency and plugins really needless. This has been very interesting to me. I could learn and to be able to solve issues ever more into my project. I have built a new structure into my POM just for organizing my depenencies and that has helped so much, however my project has not given problem since then.
It's important that you just use the dependencies or plugins really necessaries for you automation or leave something in stand by. I don't know to say, if I found out issues because I started that project using programming Java (sound hard), but when you get it a complexity and mechanism the stuffs go to imporiving and righting to better way.
org.apache.maven.plugins maven-antrun-plugin 1.2 <dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-chrome-driver</artifactId>
<version>4.0.0-alpha-6</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.webdriver</groupId>
<artifactId>webdriver-support</artifactId>
<version>0.9.7376</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-support</artifactId>
<version>2.45.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-devtools</artifactId>
<version>4.0.0-alpha-6</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
<version>4.4.13</version>
</dependency>
</dependencies>
</plugins>
</build>