fix broken dependency declaration and make 1.2 deployable on glassfish 4