Skip to content

Commit bad6b57

Browse files
committed
[MGPG-96] add INFO message
1 parent 0498a82 commit bad6b57

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/org/apache/maven/plugins/gpg/GpgSignAttachedMojo.java

+3
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ public void execute() throws MojoExecutionException, MojoFailureException {
9898
signer.setBuildDirectory(new File(project.getBuild().getDirectory()));
9999
signer.setBaseDirectory(project.getBasedir());
100100

101+
getLog().info("Signing " + items.size() + " file" + ((items.size() > 1) ? "s" : "") + " with "
102+
+ ((signer.keyname == null) ? "default" : signer.keyname) + " secret key.");
103+
101104
for (FilesCollector.Item item : items) {
102105
getLog().debug("Generating signature for " + item.getFile());
103106

0 commit comments

Comments
 (0)