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.alchim31.maven</groupId>
<artifactId>yuicompressor-maven-plugin</artifactId>
<version>1.5.1</version>
</plugin>