You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2023/04/27 07:22:25 UTC
[maven-gpg-plugin] 01/01: [MGPG-96] add INFO message
This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to branch MGPG-96
in repository https://gitbox.apache.org/repos/asf/maven-gpg-plugin.git
commit 2d13ab9d1d4abafb8863a48af925990aa61dc8b1
Author: Hervé Boutemy <hb...@sonatype.com>
AuthorDate: Thu Apr 27 09:22:11 2023 +0200
[MGPG-96] add INFO message
---
src/main/java/org/apache/maven/plugins/gpg/GpgSignAttachedMojo.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/main/java/org/apache/maven/plugins/gpg/GpgSignAttachedMojo.java b/src/main/java/org/apache/maven/plugins/gpg/GpgSignAttachedMojo.java
index b5e8cbb..e8b7a62 100644
--- a/src/main/java/org/apache/maven/plugins/gpg/GpgSignAttachedMojo.java
+++ b/src/main/java/org/apache/maven/plugins/gpg/GpgSignAttachedMojo.java
@@ -98,6 +98,9 @@ public class GpgSignAttachedMojo extends AbstractGpgMojo {
signer.setBuildDirectory(new File(project.getBuild().getDirectory()));
signer.setBaseDirectory(project.getBasedir());
+ getLog().info("Signing " + items.size() + " file" + ((items.size() > 1) ? "s" : "") + " with "
+ + ((signer.keyname == null) ? "default" : signer.keyname) + " secret key.");
+
for (FilesCollector.Item item : items) {
getLog().debug("Generating signature for " + item.getFile());