Fixing maven build file and packaging scripts to make sure that the deployment file is executable.