How to add a plugin to Maven
Add the maven plugin to the pom.xml
file information in this tag as follows:
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>maven-repository-collector-plugin</artifactId>
<version>1.0</version>
</plugin>