Improvements from project usage

See https://github.com/jbossas/jboss-as-maven-plugin/pull/33
and changes from code-review.