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.hazendaz.maven</groupId>
<artifactId>yuicompressor-maven-plugin</artifactId>
<version>2.0.0-M1</version>
</plugin>