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.flexmojos</groupId>
<artifactId>flexmojos-generator-mojo</artifactId>
<version>4.2-beta</version>
</plugin>