I think it should do - http://docs.jboss.org/jbossas/7/plugins/maven/latest/examples/complex-example.html