From cffabd60e58432df0ffc611355d964e711adaf56 Mon Sep 17 00:00:00 2001 From: luisgcoding Date: Tue, 14 Mar 2023 11:33:20 -0500 Subject: [PATCH 1/3] Add a new comment in the class doc --- src/main/java/sample/plugin/GreetingMojo.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/sample/plugin/GreetingMojo.java b/src/main/java/sample/plugin/GreetingMojo.java index 56da737..0166535 100644 --- a/src/main/java/sample/plugin/GreetingMojo.java +++ b/src/main/java/sample/plugin/GreetingMojo.java @@ -5,7 +5,7 @@ import org.apache.maven.plugins.annotations.Mojo; /** - * Says "Hi" to the user. + * Says "Hi" to the user in the console. * */ @Mojo( name = "sayhi") @@ -15,4 +15,4 @@ public void execute() throws MojoExecutionException { getLog().info( "Hello, world." ); } -} \ No newline at end of file +} From 25512d01986b9ad9391c3a93c72520fbff2ad58f Mon Sep 17 00:00:00 2001 From: luisgcoding Date: Tue, 14 Mar 2023 11:36:41 -0500 Subject: [PATCH 2/3] Add another comment --- src/main/java/sample/plugin/GreetingMojo.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/sample/plugin/GreetingMojo.java b/src/main/java/sample/plugin/GreetingMojo.java index 0166535..0d86f38 100644 --- a/src/main/java/sample/plugin/GreetingMojo.java +++ b/src/main/java/sample/plugin/GreetingMojo.java @@ -13,6 +13,7 @@ public class GreetingMojo extends AbstractMojo { public void execute() throws MojoExecutionException { + //This will print the messaeg in the console getLog().info( "Hello, world." ); } } From 163b222238e60e1f39ed1810d45b60813bf5ab9c Mon Sep 17 00:00:00 2001 From: luisgcoding Date: Tue, 14 Mar 2023 11:33:20 -0500 Subject: [PATCH 3/3] Add a new comment in the class doc --- src/main/java/sample/plugin/GreetingMojo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/sample/plugin/GreetingMojo.java b/src/main/java/sample/plugin/GreetingMojo.java index b38a9ba..442fbcb 100644 --- a/src/main/java/sample/plugin/GreetingMojo.java +++ b/src/main/java/sample/plugin/GreetingMojo.java @@ -5,7 +5,7 @@ import org.apache.maven.plugins.annotations.Mojo; /** - * Says "Hi" to the user. + * Says "Hi" to the user in the console. * */ @Mojo( name = "sayhi")