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/05/23 16:37:53 UTC

[maven-scm-publish-plugin] branch master updated: fixed javadoc

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-scm-publish-plugin.git


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

commit b027d8680c21ccf8df9f0edccce02ecd420de0fb
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sat May 23 18:37:48 2020 +0200

    fixed javadoc
---
 .../org/apache/maven/plugins/scmpublish/AbstractScmPublishMojo.java | 6 +++---
 .../apache/maven/plugins/scmpublish/ScmPublishLifecycleMojo.java    | 3 ++-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/maven/plugins/scmpublish/AbstractScmPublishMojo.java b/src/main/java/org/apache/maven/plugins/scmpublish/AbstractScmPublishMojo.java
index 90ca989..3b2dbe2 100644
--- a/src/main/java/org/apache/maven/plugins/scmpublish/AbstractScmPublishMojo.java
+++ b/src/main/java/org/apache/maven/plugins/scmpublish/AbstractScmPublishMojo.java
@@ -609,7 +609,7 @@ public abstract class AbstractScmPublishMojo
     /**
      * Check-in content from scm checkout.
      *
-     * @throws MojoExecutionException
+     * @throws MojoExecutionException in case of issue
      */
     protected void checkinFiles()
         throws MojoExecutionException
@@ -669,8 +669,8 @@ public abstract class AbstractScmPublishMojo
      * Add files to scm.
      *
      * @param added files to be added
-     * @throws MojoFailureException
-     * @throws MojoExecutionException
+     * @throws MojoFailureException in case of issue
+     * @throws MojoExecutionException in case of issue
      */
     protected void addFiles( Collection<File> added )
         throws MojoFailureException, MojoExecutionException
diff --git a/src/main/java/org/apache/maven/plugins/scmpublish/ScmPublishLifecycleMojo.java b/src/main/java/org/apache/maven/plugins/scmpublish/ScmPublishLifecycleMojo.java
index ca37f7a..d020185 100644
--- a/src/main/java/org/apache/maven/plugins/scmpublish/ScmPublishLifecycleMojo.java
+++ b/src/main/java/org/apache/maven/plugins/scmpublish/ScmPublishLifecycleMojo.java
@@ -28,12 +28,13 @@ import org.apache.maven.plugin.MojoFailureException;
  * 
  * @goal scmpublish
  * @execute lifecycle="scmpublish" phase="scmpublish-publish"
- * @aggregate
+ * @aggregator
  */
 public class ScmPublishLifecycleMojo
     extends AbstractMojo
 {
 
+    @Override
     public void execute()
         throws MojoExecutionException, MojoFailureException
     {