Working setup of graddle projects with WAR deployed on an embedded glassfish