How to add a plugin to Maven
Add the maven plugin to the pom.xml
file information in this tag as follows:
<plugin>
<groupId>com.github.mavenplugins.maven-doctest-plugin</groupId>
<artifactId>doctest-plugin</artifactId>
<version>1.8.1</version>
</plugin>