fix some code inspection issues
change phase of gpg plugin to deploy