First you’ll need to setup a Java project for Maven to build. To keep the focus on Maven, make the project as simple as possible for now. Now that you have a project that is ready to be built with ...
I saw this post and build an example war file from it to test a JBOSS(EAP 6.4) I setted up. The included war-file ist build with Java 1.8.0_111, but it ran without problems on a JDK7 JBOSS-EAP 6.4 ...