Fixing maven deployment issues