}
debMaker.setCompression(COMPRESSION.toString());
if (pgpConfiguration.isPresent()) {
final PgpConfiguration pgp = pgpConfiguration.get();
log.info(String.format("Signing package with PGP key: %s", pgp.getAlias()));
debMaker.setSignPackage(true);
debMaker.setKey(pgp.getAlias());
debMaker.setKeyring(pgp.getKeyring());
debMaker.setPassphrase(pgp.getPassphrase());
}
else {
log.warn("Creating unsigned package");
}