How to add a plugin to Maven
Add the maven plugin to the pom.xml
file information in this tag as follows:
<plugin>
<groupId>net.sourceforge.testxng</groupId>
<artifactId>maven-testxng-plugin</artifactId>
<version>0.7.99.2</version>
</plugin>