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 2020/02/01 18:08:46 UTC

[maven-gpg-plugin] branch master updated: fixed javadoc issues

This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-gpg-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new f74feb5  fixed javadoc issues
f74feb5 is described below

commit f74feb547d94a68370b3eeba53bab83ca9523dea
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sat Feb 1 09:55:46 2020 -0800

    fixed javadoc issues
---
 .gitignore                                                            | 1 +
 src/main/java/org/apache/maven/plugins/gpg/AbstractGpgSigner.java     | 4 ++--
 src/main/java/org/apache/maven/plugins/gpg/SignAndDeployFileMojo.java | 4 +---
 3 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/.gitignore b/.gitignore
index 7495d7e..4c5d257 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,3 +14,4 @@ out/
 /dependencies.xml
 .java-version
 .checkstyle
+dependency-reduced-pom.xml
diff --git a/src/main/java/org/apache/maven/plugins/gpg/AbstractGpgSigner.java b/src/main/java/org/apache/maven/plugins/gpg/AbstractGpgSigner.java
index e0a9301..78f50f6 100644
--- a/src/main/java/org/apache/maven/plugins/gpg/AbstractGpgSigner.java
+++ b/src/main/java/org/apache/maven/plugins/gpg/AbstractGpgSigner.java
@@ -147,7 +147,7 @@ public abstract class AbstractGpgSigner
      *
      * @param file The file to sign
      * @return A reference to the generated signature file
-     * @throws org.apache.maven.plugin.MojoExecutionException
+     * @throws MojoExecutionException if signature generation fails
      */
     public File generateSignatureForArtifact( File file )
         throws MojoExecutionException
@@ -210,7 +210,7 @@ public abstract class AbstractGpgSigner
      *
      * @param file The file to sign
      * @param signature The file in which the generate signature will be put
-     * @throws MojoExecutionException
+     * @throws MojoExecutionException if signature generation fails
      */
     protected abstract void generateSignatureForFile( File file, File signature )
         throws MojoExecutionException;
diff --git a/src/main/java/org/apache/maven/plugins/gpg/SignAndDeployFileMojo.java b/src/main/java/org/apache/maven/plugins/gpg/SignAndDeployFileMojo.java
index 90ce6f5..b7bc314 100644
--- a/src/main/java/org/apache/maven/plugins/gpg/SignAndDeployFileMojo.java
+++ b/src/main/java/org/apache/maven/plugins/gpg/SignAndDeployFileMojo.java
@@ -624,11 +624,9 @@ public class SignAndDeployFileMojo
     /**
      * Deploy an artifact from a particular file.
      *
-     * @param source the file to deploy
      * @param artifact the artifact definition
      * @param deploymentRepository the repository to deploy to
-     * @param localRepository the local repository to install into
-     * @throws ArtifactDeploymentException if an error occurred deploying the artifact
+     * @throws ArtifactDeployerException if an error occurred deploying the artifact
      */
     protected void deploy( Artifact artifact,
                            ArtifactRepository deploymentRepository )