[MGPG-135] Support Overriding / Enhance the signer in AbstractGpgMojo by laeubi · Pull Request #112 · apache/maven-gpg-plugin (original) (raw)

Currently AbstractGpgMojo has a fixed set of supported signers (and how they are constructed), it would be good to allow extensions (e.g. Tycho is also using AbstractGpgMojo) to possibly override that aspect.

This extracts the creation of the signer into a (protected) method so different types or alternative implementations can be used.

Following this checklist to help us incorporate your contribution quickly and easily:

If your pull request is about ~20 lines of code you don't need to sign an
Individual Contributor License Agreement if you are unsure please ask on the
developers list.

To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.