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.jboss.as.plugins</groupId>
<artifactId>jboss-as-deploy-plugin</artifactId>
<version>7.0.0.Beta3</version>
</plugin>