How to add a plugin to Maven
Add the maven plugin to the pom.xml
file information in this tag as follows:
<plugin>
<groupId>io.takari.m2e.discovery.publisher</groupId>
<artifactId>org.sonatype.m2e.discovery.publisher.maven-plugin</artifactId>
<version>0.4.1</version>
</plugin>