Reinited full project according to jee7 archetypes.
Thanks to http://www.developerscrappad.com/1177/java/java-ee/maven/building-and-deploying-java-ee-ear-with-maven-to-java-ee-application-server-part-1-project-directory-structure-amp-module-generation-through-archetype-generate/
Updated poms for initial project.
Added target directories to ignore list.