Bukama commented on code in PR #481:
URL: https://github.com/apache/maven-jar-plugin/pull/481#discussion_r2424427969


##########
src/main/java/org/apache/maven/plugins/jar/AbstractJarMojo.java:
##########
@@ -158,76 +145,79 @@ public abstract class AbstractJarMojo implements 
org.apache.maven.api.plugin.Moj
     private String outputTimestamp;
 
     /**
+     * Whether to detect multi-release JAR files.
      * If the JAR contains the {@code META-INF/versions} directory it will be 
detected as a multi-release JAR file
-     * ("MRJAR"), adding the {@code Multi-Release: true} attribute to the main 
section of the JAR MANIFEST.MF.
+     * ("MRJAR"), adding the {@code Multi-Release: true} attribute to the main 
section of the JAR {@code MANIFEST.MF}.
      *
      * @since 3.4.0
      */
     @Parameter(property = "maven.jar.detectMultiReleaseJar", defaultValue = 
"true")
     private boolean detectMultiReleaseJar;
 
     /**
-     * The mojo logger
+     * The <abbr>MOJO</abbr> logger.
      */
     @Inject
     private Log log;
 
     /**
-     * Return the specific output directory to serve as the root for the 
archive.
-     * @return get classes directory.
+     * Creates a new <abbr>MOJO</abbr>.
+     */
+    protected AbstractJarMojo() {}
+
+    /**
+     * {@return the specific output directory to serve as the root for the 
archive}.
      */
     protected abstract Path getClassesDirectory();
 
     /**
-     * Return the {@link #project MavenProject}
+     * Return the {@linkplain #project Maven project}.
      *
-     * @return the MavenProject.
+     * @return the Maven project
      */
     protected final Project getProject() {
         return project;
     }
 
+    /**
+     * {@return the <abbr>MOJO</abbr> logger}.

Review Comment:
   Inline-Return <3
   But you don't need a dot at the end. It is added automatically when using 
inline `{@return}`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to