Fix use of gpg plugin so it only prompts on a release
Use log4j instead of printing to stdout/stderr