You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2026/02/01 13:02:36 UTC

(maven-shared-utils) 01/01: Follow Oracle Javadoc conventions

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

elharo pushed a commit to branch doc
in repository https://gitbox.apache.org/repos/asf/maven-shared-utils.git

commit 2b484d208d3927a7cdcf96b932b004b5d4d6a9bd
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Sun Feb 1 07:02:13 2026 -0600

    Follow Oracle Javadoc conventions
---
 .../java/org/apache/maven/shared/utils/Os.java     |  40 +++---
 .../org/apache/maven/shared/utils/PathTool.java    |  24 ++--
 .../apache/maven/shared/utils/ReaderFactory.java   |   3 +-
 .../org/apache/maven/shared/utils/StringUtils.java | 155 ++++++++++-----------
 .../apache/maven/shared/utils/WriterFactory.java   |   3 +-
 .../org/apache/maven/shared/utils/cli/Arg.java     |   5 +-
 .../shared/utils/cli/CommandLineException.java     |   9 +-
 .../utils/cli/CommandLineTimeOutException.java     |   7 +-
 .../maven/shared/utils/cli/CommandLineUtils.java   | 110 +++++++--------
 .../apache/maven/shared/utils/cli/Commandline.java |  14 +-
 .../maven/shared/utils/cli/ShutdownHookUtils.java  |   4 +-
 .../maven/shared/utils/cli/StreamConsumer.java     |   5 +-
 .../maven/shared/utils/cli/StreamPollFeeder.java   |   6 +-
 .../maven/shared/utils/cli/StreamPumper.java       |   4 +-
 .../shared/utils/cli/WriterStreamConsumer.java     |   1 -
 .../utils/cli/javatool/AbstractJavaTool.java       |  26 ++--
 .../maven/shared/utils/cli/javatool/JavaTool.java  |   4 +-
 .../utils/cli/javatool/JavaToolException.java      |   7 +-
 .../shared/utils/cli/javatool/JavaToolRequest.java |   8 +-
 .../shared/utils/cli/javatool/JavaToolResult.java  |  12 +-
 .../maven/shared/utils/cli/shell/BourneShell.java  |  16 ++-
 .../maven/shared/utils/cli/shell/CmdShell.java     |   7 +-
 .../maven/shared/utils/cli/shell/CommandShell.java |   2 +-
 .../apache/maven/shared/utils/cli/shell/Shell.java |  23 +--
 .../maven/shared/utils/introspection/ClassMap.java |  21 +--
 .../introspection/IntrospectionException.java      |   3 -
 .../shared/utils/introspection/MethodMap.java      |  29 ++--
 .../introspection/ReflectionValueExtractor.java    |   1 -
 .../maven/shared/utils/io/DirectoryScanResult.java |   4 +-
 .../maven/shared/utils/io/DirectoryScanner.java    |  42 +++---
 .../apache/maven/shared/utils/io/FileUtils.java    |  44 +++---
 .../org/apache/maven/shared/utils/io/IOUtil.java   |  34 ++---
 .../apache/maven/shared/utils/io/Java7Support.java |  36 ++---
 .../apache/maven/shared/utils/io/MatchPattern.java |  22 +--
 .../maven/shared/utils/io/MatchPatterns.java       |  16 +--
 .../maven/shared/utils/io/ScanConductor.java       |   8 +-
 .../maven/shared/utils/io/SelectorUtils.java       |  59 ++++----
 .../maven/shared/utils/io/WalkCollector.java       |  16 ++-
 .../shared/utils/logging/LoggerLevelRenderer.java  |  20 +--
 .../maven/shared/utils/logging/MessageBuilder.java |  31 +++--
 .../maven/shared/utils/logging/MessageUtils.java   |  14 +-
 .../apache/maven/shared/utils/logging/Style.java   |   1 +
 .../shared/utils/xml/PrettyPrintXMLWriter.java     |  38 +++--
 .../apache/maven/shared/utils/xml/XMLWriter.java   |  13 +-
 .../maven/shared/utils/xml/XmlStreamReader.java    |  16 ++-
 .../maven/shared/utils/xml/XmlStreamWriter.java    |   4 +-
 .../maven/shared/utils/xml/XmlWriterUtil.java      |  41 +++---
 .../org/apache/maven/shared/utils/xml/Xpp3Dom.java |  82 ++++++-----
 .../maven/shared/utils/xml/Xpp3DomUtils.java       |  14 +-
 .../maven/shared/utils/xml/Xpp3DomWriter.java      |  10 +-
 50 files changed, 580 insertions(+), 534 deletions(-)

diff --git a/src/main/java/org/apache/maven/shared/utils/Os.java b/src/main/java/org/apache/maven/shared/utils/Os.java
index 56a6760..179e110 100644
--- a/src/main/java/org/apache/maven/shared/utils/Os.java
+++ b/src/main/java/org/apache/maven/shared/utils/Os.java
@@ -65,12 +65,12 @@ public class Os {
     public static final String PATH_SEP = File.pathSeparator;
 
     /**
-     * system line separator , e.g. &quot;\n&quot; on unixoid systems and &quot;\r\n&quot; on Windows
+     * System line separator , e.g. &quot;\n&quot; on unixoid systems and &quot;\r\n&quot; on Windows.
      */
     public static final String LINE_SEP = System.lineSeparator();
 
     /**
-     * OS Family
+     * OS Family.
      */
     public static final String OS_FAMILY = getOsFamily();
 
@@ -78,7 +78,7 @@ public class Os {
     private static final Set<String> VALID_FAMILIES = getValidFamilies();
 
     /**
-     * OS family to look for
+     * OS family to look for.
      */
     private String family;
 
@@ -153,7 +153,8 @@ public class Os {
     /**
      * The set of valid families. This methods initializes the set until
      * VALID_FAMILIES constant is set.
-     * @return The set of families.
+     *
+     * @return the set of families
      */
     public static Set<String> getValidFamilies() {
         if (VALID_FAMILIES != null) {
@@ -178,14 +179,14 @@ public class Os {
     }
 
     /**
-     * Default constructor
+     * Default constructor.
      */
     public Os() {
         // default
     }
 
     /**
-     * Constructor that sets the family attribute
+     * Constructor that sets the family attribute.
      *
      * @param family a String value
      */
@@ -194,9 +195,9 @@ public class Os {
     }
 
     /**
-     * Sets the desired OS family type
+     * Sets the desired OS family type.
      *
-     * @param f The OS family type desired<br />
+     * @param f the OS family type desired<br />
      *          Possible values:<br />
      *          <ul>
      *          <li>dos</li>
@@ -219,7 +220,7 @@ public class Os {
      * Determines if the OS on which Ant is executing matches the type of
      * that set in setFamily.
      *
-     * @return true if the os matches.
+     * @return true if the os matches
      * @see Os#setFamily(String)
      */
     boolean eval() {
@@ -232,7 +233,6 @@ public class Os {
      *
      * @param family the family to check for
      * @return true if the OS matches
-     *
      */
     public static boolean isFamily(String family) {
         return isOs(family, null, null, null);
@@ -244,7 +244,6 @@ public class Os {
      *
      * @param name the OS name to check for
      * @return true if the OS matches
-     *
      */
     public static boolean isName(String name) {
         return isOs(null, name, null, null);
@@ -256,7 +255,6 @@ public class Os {
      *
      * @param arch the OS architecture to check for
      * @return true if the OS matches
-     *
      */
     public static boolean isArch(String arch) {
         return isOs(null, null, arch, null);
@@ -268,7 +266,6 @@ public class Os {
      *
      * @param version the OS version to check for
      * @return true if the OS matches
-     *
      */
     public static boolean isVersion(String version) {
         return isOs(null, null, null, version);
@@ -276,14 +273,13 @@ public class Os {
 
     /**
      * Determines if the OS on which Ant is executing matches the
-     * given OS family, name, architecture and version
+     * given OS family, name, architecture and version.
      *
-     * @param family  The OS family
-     * @param name    The OS name
-     * @param arch    The OS architecture
-     * @param version The OS version
+     * @param family  the OS family
+     * @param name    the OS name
+     * @param arch    the OS architecture
+     * @param version the OS version
      * @return true if the OS matches
-     *
      */
     private static boolean isOs(String family, String name, String arch, String version) {
         boolean retValue = false;
@@ -359,7 +355,7 @@ public class Os {
     /**
      * Helper method to determine the current OS family.
      *
-     * @return name of current OS family.
+     * @return name of current OS family
      */
     private static String getOsFamily() {
         Set<String> families = getValidFamilies();
@@ -373,10 +369,10 @@ public class Os {
     }
 
     /**
-     * Test if the given family String represents a valid Family
+     * Test if the given family String represents a valid Family.
      *
      * @param family the os family
-     * @return <code>true</code> if 'family' represents a valid OS-Family, <code>false</code> otherwise.
+     * @return <code>true</code> if 'family' represents a valid OS-Family, <code>false</code> otherwise
      */
     public static boolean isValidFamily(String family) {
         return VALID_FAMILIES.contains(family);
diff --git a/src/main/java/org/apache/maven/shared/utils/PathTool.java b/src/main/java/org/apache/maven/shared/utils/PathTool.java
index 6338a93..8224511 100644
--- a/src/main/java/org/apache/maven/shared/utils/PathTool.java
+++ b/src/main/java/org/apache/maven/shared/utils/PathTool.java
@@ -65,9 +65,9 @@ public class PathTool {
      * PathTool.getRelativePath( "/usr/local/java/bin/java.sh", "/usr/local/" ) = ""
      * </pre>
      *
-     * @param basedir  The base directory.
-     * @param filename The filename that is relative to the base
-     *                 directory.
+     * @param basedir  the base directory
+     * @param filename the filename that is relative to the base
+     *                 directory
      * @return the relative path of the filename from the base
      *         directory.  This value is not terminated with a forward slash.
      *         A zero-length string is returned if: the filename is not relative to
@@ -129,7 +129,7 @@ public class PathTool {
      *
      * @param oldPath old path
      * @param newPath new path
-     * @return a relative file path from <code>oldPath</code>.
+     * @return a relative file path from <code>oldPath</code>
      * @deprecated use java.nio.file.Path.relativize() instead
      */
     @Deprecated
@@ -192,9 +192,9 @@ public class PathTool {
      * within the filename (except the leading if present), append the
      * "../" string to the return value.
      *
-     * @param filename  The filename to parse.
-     * @param separator The separator used within the filename.
-     * @return The relative path of the filename.  This value is not
+     * @param filename  the filename to parse
+     * @param separator the separator used within the filename
+     * @return the relative path of the filename.  This value is not
      *         terminated with a forward slash.  A zero-length string is
      *         returned if: the filename is zero-length.
      */
@@ -236,9 +236,9 @@ public class PathTool {
      * backward slash) used in a filename.  The slash that occurs more
      * often is returned as the separator.
      *
-     * @param filename The filename parsed to determine the file
-     *                 separator.
-     * @return The file separator used within <code>filename</code>.
+     * @param filename the filename parsed to determine the file
+     *                 separator
+     * @return the file separator used within <code>filename</code>.
      *         This value is either a forward or backward slash.
      */
     private static String determineSeparator(String filename) {
@@ -249,10 +249,10 @@ public class PathTool {
     }
 
     /**
-     * Cygwin prefers lowercase drive letters, but other parts of maven use uppercase
+     * Cygwin prefers lowercase drive letters, but other parts of maven use uppercase.
      *
      * @param path old path
-     * @return String
+     * @return string
      */
     static String uppercaseDrive(@Nullable String path) {
         if (path == null) {
diff --git a/src/main/java/org/apache/maven/shared/utils/ReaderFactory.java b/src/main/java/org/apache/maven/shared/utils/ReaderFactory.java
index cb0921c..a8c070f 100644
--- a/src/main/java/org/apache/maven/shared/utils/ReaderFactory.java
+++ b/src/main/java/org/apache/maven/shared/utils/ReaderFactory.java
@@ -101,6 +101,7 @@ public class ReaderFactory {
 
     /**
      * The <code>file.encoding</code> System Property.
+     *
      * @deprecated use {@code java.nio.charset.Charset.getDefaultCharset()}
      */
     @Deprecated
@@ -148,7 +149,7 @@ public class ReaderFactory {
     /**
      * Create a new Reader with default platform encoding.
      *
-     * @param file not null file.
+     * @param file not null file
      * @return a reader instance for the input file using the default platform character set
      * @throws FileNotFoundException if any
      * @see java.nio.charset.Charset#defaultCharset()
diff --git a/src/main/java/org/apache/maven/shared/utils/StringUtils.java b/src/main/java/org/apache/maven/shared/utils/StringUtils.java
index 8e89c4f..47e7031 100644
--- a/src/main/java/org/apache/maven/shared/utils/StringUtils.java
+++ b/src/main/java/org/apache/maven/shared/utils/StringUtils.java
@@ -47,7 +47,6 @@ import java.util.StringTokenizer;
  * @author <a href="mailto:fredrik@westermarck.com">Fredrik Westermarck</a>
  * @author Holger Krauth
  * @author <a href="mailto:alex@purpletech.com">Alexander Day Chaffee</a>
- *
  */
 public class StringUtils {
     /**
@@ -98,7 +97,7 @@ public class StringUtils {
      * <p>Whitespace is defined by
      * {@link Character#isWhitespace(char)}.</p>
      *
-     * @param str String target to delete whitespace from
+     * @param str string target to delete whitespace from
      * @return the String without whitespace
      */
     @Nonnull
@@ -154,7 +153,6 @@ public class StringUtils {
      *
      * @param str the String to check, may be null
      * @return <code>true</code> if the String is null, empty or whitespace
-     *
      */
     public static boolean isBlank(@Nullable String str) {
         int strLen;
@@ -187,7 +185,6 @@ public class StringUtils {
      *
      * @param str the String to check, may be null
      * @return <code>true</code> if the String is not empty and not null and not whitespace
-     *
      */
     public static boolean isNotBlank(@Nullable String str) {
         return !isBlank(str);
@@ -426,8 +423,8 @@ public class StringUtils {
      * @param pos the position to start from
      * @param len the length of the required String
      * @return the leftmost characters
-     * @throws IndexOutOfBoundsException if pos is out of bounds
      * @throws IllegalArgumentException  if len is less than zero
+     * @throws IndexOutOfBoundsException if pos is out of bounds
      */
     public static String mid(String str, int pos, int len) {
         if ((pos < 0) || ((str != null) && (pos > str.length()))) {
@@ -494,7 +491,7 @@ public class StringUtils {
      * <code>StringTokenizer</code> does).</p>
      *
      * @param str       the string to parse
-     * @param separator Characters used as the delimiters. If
+     * @param separator characters used as the delimiters. If
      *                  <code>null</code>, splits on whitespace.
      * @param max       the maximum number of elements to include in the
      *                  array.  A zero or negative value implies no limit.
@@ -551,8 +548,8 @@ public class StringUtils {
      *
      * <p>The difference from join is that concatenate has no delimiter.</p>
      *
-     * @param array the array of values to concatenate.
-     * @return the concatenated string.
+     * @param array the array of values to concatenate
+     * @return the concatenated string
      */
     @Nonnull
     public static String concatenate(@Nonnull Object... array) {
@@ -673,8 +670,8 @@ public class StringUtils {
      * <p>A <code>null</code> reference passed to this method is a no-op.</p>
      *
      * @param text text to search and replace in
-     * @param repl String to search for
-     * @param with String to replace with
+     * @param repl string to search for
+     * @param with string to replace with
      * @return the text with any replacements processed
      * @see #replace(String text, String repl, String with, int max)
      */
@@ -688,8 +685,8 @@ public class StringUtils {
      * <p>A <code>null</code> reference passed to this method is a no-op.</p>
      *
      * @param text text to search and replace in
-     * @param repl String to search for
-     * @param with String to replace with
+     * @param repl string to search for
+     * @param with string to replace with
      * @return the text with any replacements processed
      * @see #replace(String text, String repl, String with, int max)
      */
@@ -704,8 +701,8 @@ public class StringUtils {
      * <p>A <code>null</code> reference passed to this method is a no-op.</p>
      *
      * @param text text to search and replace in
-     * @param repl String to search for
-     * @param with String to replace with
+     * @param repl string to search for
+     * @param with string to replace with
      * @param max  maximum number of values to replace, or <code>-1</code> if no maximum
      * @return the text with any replacements processed
      */
@@ -731,11 +728,11 @@ public class StringUtils {
     /**
      * <p>Overlay a part of a String with another String.</p>
      *
-     * @param text    String to do overlaying in
-     * @param overlay String to overlay
+     * @param text    string to do overlaying in
+     * @param overlay string to overlay
      * @param start   position to start overlaying at
      * @param end     position to stop overlaying before
-     * @return String with overlaid text
+     * @return string with overlaid text
      * @throws NullPointerException if text or overlay is <code>null</code>
      */
     @Nonnull
@@ -759,9 +756,9 @@ public class StringUtils {
      * <p>Uses spaces as the value to buffer the String with.
      * Equivalent to <code>center(str, size, " ")</code>.</p>
      *
-     * @param str  String to center
+     * @param str  string to center
      * @param size int size of new String
-     * @return String containing centered String
+     * @return string containing centered String
      * @throws NullPointerException if str is <code>null</code>
      */
     @Nonnull
@@ -774,12 +771,12 @@ public class StringUtils {
      *
      * <p>Uses a supplied String as the value to buffer the String with.</p>
      *
-     * @param str   String to center
+     * @param str   string to center
      * @param size  int size of new String
-     * @param delim String to buffer the new String with
-     * @return String containing centered String
-     * @throws NullPointerException if str or delim is <code>null</code>
+     * @param delim string to buffer the new String with
+     * @return string containing centered String
      * @throws ArithmeticException  if delim is the empty String
+     * @throws NullPointerException if str or delim is <code>null</code>
      */
     @Nonnull
     public static String center(@Nonnull String str, int size, @Nonnull String delim) {
@@ -799,8 +796,8 @@ public class StringUtils {
     /**
      * <p>Remove the last newline, and everything after it from a String.</p>
      *
-     * @param str String to chomp the newline from
-     * @return String without chomped newline
+     * @param str string to chomp the newline from
+     * @return string without chomped newline
      * @throws NullPointerException if str is <code>null</code>
      */
     @Nonnull
@@ -812,9 +809,9 @@ public class StringUtils {
      * <p>Remove the last value of a supplied String, and everything after
      * it from a String.</p>
      *
-     * @param str String to chomp from
-     * @param sep String to chomp
-     * @return String without chomped ending
+     * @param str string to chomp from
+     * @param sep string to chomp
+     * @return string without chomped ending
      * @throws NullPointerException if str or sep is <code>null</code>
      */
     @Nonnull
@@ -831,8 +828,8 @@ public class StringUtils {
      * <p>Remove a newline if and only if it is at the end
      * of the supplied String.</p>
      *
-     * @param str String to chomp from
-     * @return String without chomped ending
+     * @param str string to chomp from
+     * @return string without chomped ending
      * @throws NullPointerException if str is <code>null</code>
      */
     @Nonnull
@@ -843,9 +840,9 @@ public class StringUtils {
     /**
      * <p>Remove a value if and only if the String ends with that value.</p>
      *
-     * @param str String to chomp from
-     * @param sep String to chomp
-     * @return String without chomped ending
+     * @param str string to chomp from
+     * @param sep string to chomp
+     * @return string without chomped ending
      * @throws NullPointerException if str or sep is <code>null</code>
      */
     @Nonnull
@@ -865,9 +862,9 @@ public class StringUtils {
      * <p>Remove everything and return the last value of a supplied String, and
      * everything after it from a String.</p>
      *
-     * @param str String to chomp from
-     * @param sep String to chomp
-     * @return String chomped
+     * @param str string to chomp from
+     * @param sep string to chomp
+     * @return string chomped
      * @throws NullPointerException if str or sep is <code>null</code>
      */
     @Nonnull
@@ -886,9 +883,9 @@ public class StringUtils {
      * <p>Remove the first value of a supplied String, and everything before it
      * from a String.</p>
      *
-     * @param str String to chomp from
-     * @param sep String to chomp
-     * @return String without chomped beginning
+     * @param str string to chomp from
+     * @param sep string to chomp
+     * @return string without chomped beginning
      * @throws NullPointerException if str or sep is <code>null</code>
      */
     @Nonnull
@@ -905,9 +902,9 @@ public class StringUtils {
      * <p>Remove and return everything before the first value of a
      * supplied String from another String.</p>
      *
-     * @param str String to chomp from
-     * @param sep String to chomp
-     * @return String prechomped
+     * @param str string to chomp from
+     * @param sep string to chomp
+     * @return string prechomped
      * @throws NullPointerException if str or sep is <code>null</code>
      */
     @Nonnull
@@ -929,8 +926,8 @@ public class StringUtils {
      * <p>If the String ends in <code>\r\n</code>, then remove both
      * of them.</p>
      *
-     * @param str String to chop last character from
-     * @return String without last character
+     * @param str string to chop last character from
+     * @return string without last character
      * @throws NullPointerException if str is <code>null</code>
      */
     @Nonnull
@@ -956,8 +953,8 @@ public class StringUtils {
      * <p>Remove <code>\n</code> from end of a String if it's there.
      * If a <code>\r</code> precedes it, then remove that too.</p>
      *
-     * @param str String to chop a newline from
-     * @return String without newline
+     * @param str string to chop a newline from
+     * @return string without newline
      * @throws NullPointerException if str is <code>null</code>
      */
     @Nonnull
@@ -985,8 +982,8 @@ public class StringUtils {
      * <p>So a tab becomes the characters <code>'\\'</code> and
      * <code>'t'</code>.</p>
      *
-     * @param str String to escape values in
-     * @return String with escaped values
+     * @param str string to escape values in
+     * @return string with escaped values
      * @throws NullPointerException if str is <code>null</code>
      */
     @Nonnull
@@ -1068,9 +1065,9 @@ public class StringUtils {
      * <p>Repeat a String <code>n</code> times to form a
      * new string.</p>
      *
-     * @param str    String to repeat
+     * @param str    string to repeat
      * @param repeat number of times to repeat str
-     * @return String with repeated String
+     * @return string with repeated String
      * @throws NegativeArraySizeException if <code>repeat &lt; 0</code>
      * @throws NullPointerException       if str is <code>null</code>
      */
@@ -1088,7 +1085,7 @@ public class StringUtils {
      *
      * <p>The String is padded to the size of <code>n</code>.</p>
      *
-     * @param str  String to repeat
+     * @param str  string to repeat
      * @param size number of times to repeat str
      * @return right padded String
      * @throws NullPointerException if str is <code>null</code>
@@ -1103,12 +1100,12 @@ public class StringUtils {
      *
      * <p>The String is padded to the size of <code>n</code>.</p>
      *
-     * @param str   String to pad out
+     * @param str   string to pad out
      * @param size  size to pad to
-     * @param delim String to pad with
+     * @param delim string to pad with
      * @return right padded String
-     * @throws NullPointerException if str or delim is <code>null</code>
      * @throws ArithmeticException  if delim is the empty String
+     * @throws NullPointerException if str or delim is <code>null</code>
      */
     @Nonnull
     public static String rightPad(@Nonnull String str, int size, @Nonnull String delim) {
@@ -1124,7 +1121,7 @@ public class StringUtils {
      *
      * <p>The String is padded to the size of <code>n</code>.</p>
      *
-     * @param str  String to pad out
+     * @param str  string to pad out
      * @param size size to pad to
      * @return left padded String
      * @throws NullPointerException if str or delim is <code>null</code>
@@ -1137,12 +1134,12 @@ public class StringUtils {
     /**
      * Left pad a String with a specified string. Pad to a size of n.
      *
-     * @param str   String to pad out
+     * @param str   string to pad out
      * @param size  size to pad to
-     * @param delim String to pad with
+     * @param delim string to pad with
      * @return left padded String
-     * @throws NullPointerException if str or delim is null
      * @throws ArithmeticException  if delim is the empty string
+     * @throws NullPointerException if str or delim is null
      */
     @Nonnull
     public static String leftPad(@Nonnull String str, int size, @Nonnull String delim) {
@@ -1775,9 +1772,9 @@ public class StringUtils {
      * If maxWidth is less than 3, throw an IllegalArgumentException.
      * In no case will it return a string of length greater than maxWidth.</p>
      *
-     * @param s The string to be abbreviated.
+     * @param s the string to be abbreviated
      * @param maxWidth maximum length of result string
-     * @return The abbreviated string.
+     * @return the abbreviated string
      */
     @Nonnull
     public static String abbreviate(@Nonnull String s, int maxWidth) {
@@ -1794,10 +1791,10 @@ public class StringUtils {
      * In no case will it return a string of length greater than maxWidth.
      * </p>
      *
-     * @param s        String to abbreviate.
+     * @param s        string to abbreviate
      * @param offset   left edge of source string
      * @param maxWidth maximum length of result string
-     * @return The abbreviated string.
+     * @return the abbreviated string
      */
     @Nonnull
     public static String abbreviate(@Nonnull String s, int offset, int maxWidth) {
@@ -1836,8 +1833,8 @@ public class StringUtils {
      * E.g. strdiff("i am a machine", "i am a robot") &rarr; "robot"
      * </p>
      *
-     * @param s1 The first string.
-     * @param s2 The second string.
+     * @param s1 the first string
+     * @param s2 the second string
      * @return the portion of s2 where it differs from s1; returns the empty string ("") if they are equal
      */
     public static String difference(@Nonnull String s1, @Nonnull String s2) {
@@ -1854,8 +1851,8 @@ public class StringUtils {
      * E.g. strdiff("i am a machine", "i am a robot") &rarr; 7
      * </p>
      *
-     * @param s1 The first string.
-     * @param s2 The second string.
+     * @param s1 the first string
+     * @param s2 the second string
      * @return the index where s2 and s1 begin to differ; -1 if they are equal
      */
     public static int differenceAt(@Nonnull String s1, @Nonnull String s2) {
@@ -1876,9 +1873,9 @@ public class StringUtils {
      * Any text looking like '${key}' will get replaced by the value stored
      * in the namespace map under the 'key'.
      *
-     * @param text The text where replacements will be searched for.
-     * @param namespace The namespace which contains the replacements.
-     * @return the interpolated text.
+     * @param text the text where replacements will be searched for
+     * @param namespace the namespace which contains the replacements
+     * @return the interpolated text
      */
     public static String interpolate(String text, @Nonnull Map<?, ?> namespace) {
         for (Map.Entry<?, ?> entry : namespace.entrySet()) {
@@ -1910,8 +1907,8 @@ public class StringUtils {
      * </pre>
      * will become 'ThisIsIt'.
      *
-     * @param data The data.
-     * @param replaceThis The things which should be replaced.
+     * @param data the data
+     * @param replaceThis the things which should be replaced
      * @return humped String
      */
     @Nonnull
@@ -1939,8 +1936,8 @@ public class StringUtils {
      *
      * @param data the String to get capitalized
      * @return data string with the first character transformed to uppercase
-     * @throws NullPointerException if data is <code>null</code>
      * @throws IndexOutOfBoundsException if data is empty
+     * @throws NullPointerException if data is <code>null</code>
      */
     @Nonnull
     public static String capitalizeFirstLetter(@Nonnull String data) {
@@ -1959,10 +1956,10 @@ public class StringUtils {
      * Converts the first character of the given String to lowercase.
      * This method does <i>not</i> trim spaces!
      *
-     * @param data the String to get its first character lower-cased.
+     * @param data the String to get its first character lower-cased
      * @return data string with the first character transformed to lowercase
-     * @throws NullPointerException if data is <code>null</code>
      * @throws IndexOutOfBoundsException if data is empty
+     * @throws NullPointerException if data is <code>null</code>
      */
     @Nonnull
     public static String lowercaseFirstLetter(@Nonnull String data) {
@@ -2006,12 +2003,11 @@ public class StringUtils {
      * StringUtils.quoteAndEscape("a\"bc", '\'') = 'a\"bc'
      * </pre>
      *
-     * @param source The source.
-     * @param quoteChar The quote character.
+     * @param source the source
+     * @param quoteChar the quote character
      * @return the String quoted and escaped
      * @see #quoteAndEscape(String, char, char[], char[], char, boolean)
      * @see #quoteAndEscape(String, char, char[], char[], char, boolean)
-     *
      */
     public static String quoteAndEscape(@Nullable String source, char quoteChar) {
         return quoteAndEscape(source, quoteChar, new char[] {quoteChar}, new char[] {' '}, '\\', false);
@@ -2025,7 +2021,6 @@ public class StringUtils {
      * @param quotingTriggers the quoting trigger
      * @return the String quoted and escaped
      * @see #quoteAndEscape(String, char, char[], char[], char, boolean)
-     *
      */
     public static String quoteAndEscape(@Nullable String source, char quoteChar, @Nonnull char[] quotingTriggers) {
         return quoteAndEscape(source, quoteChar, new char[] {quoteChar}, quotingTriggers, '\\', false);
@@ -2039,7 +2034,6 @@ public class StringUtils {
      * @param force true/false
      * @return the String quoted and escaped
      * @see #quoteAndEscape(String, char, char[], char[], char, boolean)
-     *
      */
     public static String quoteAndEscape(
             @Nullable String source,
@@ -2134,7 +2128,6 @@ public class StringUtils {
      *
      * @param s a not null String
      * @return a string with unique whitespace
-     *
      */
     @Nonnull
     public static String removeDuplicateWhitespace(@Nonnull String s) {
@@ -2228,7 +2221,6 @@ public class StringUtils {
      * @param searchChar the character to find
      * @return true if the String contains the search character,
      *         false if not or <code>null</code> string input
-     *
      */
     public static boolean contains(@Nullable String str, char searchChar) {
         return !isEmpty(str) && str.indexOf(searchChar) >= 0;
@@ -2275,7 +2267,6 @@ public class StringUtils {
      * @param searchStr the String to find at end, may be null
      * @return true if the String ends with the search String,
      *         false if not or <code>null</code> string input
-     *
      */
     public static boolean endsWithIgnoreCase(@Nullable String str, @Nullable String searchStr) {
         if (str == null || searchStr == null) {
diff --git a/src/main/java/org/apache/maven/shared/utils/WriterFactory.java b/src/main/java/org/apache/maven/shared/utils/WriterFactory.java
index 5088914..30fa9ba 100644
--- a/src/main/java/org/apache/maven/shared/utils/WriterFactory.java
+++ b/src/main/java/org/apache/maven/shared/utils/WriterFactory.java
@@ -100,6 +100,7 @@ public class WriterFactory {
 
     /**
      * The <code>file.encoding</code> System Property.
+     *
      * @deprecated use {@code java.nio.charset.Charset.getDefaultCharset()}
      */
     @Deprecated
@@ -182,9 +183,9 @@ public class WriterFactory {
      * @param file not null file
      * @param encoding not null supported encoding
      * @return a writer instance for the output file using the given encoding
+     * @throws FileNotFoundException if any
      * @throws UnsupportedEncodingException if the JDK in use does not recognize or support the
      *    named encoding
-     * @throws FileNotFoundException if any
      * @see <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html">Supported
      *         encodings</a>
      * @deprecated use {@code java.nio.file.Files.newBufferedWriter()} instead
diff --git a/src/main/java/org/apache/maven/shared/utils/cli/Arg.java b/src/main/java/org/apache/maven/shared/utils/cli/Arg.java
index df7be1f..ce497f5 100644
--- a/src/main/java/org/apache/maven/shared/utils/cli/Arg.java
+++ b/src/main/java/org/apache/maven/shared/utils/cli/Arg.java
@@ -20,9 +20,6 @@ package org.apache.maven.shared.utils.cli;
 
 import java.io.File;
 
-/**
- *
- */
 public interface Arg {
     /**
      * @param value the value to be set
@@ -31,7 +28,7 @@ public interface Arg {
 
     /**
      * @param line the line of arguments
-     * @throws CommandLineException in case of unbalanced quotes.
+     * @throws CommandLineException in case of unbalanced quotes
      */
     void setLine(String line) throws CommandLineException;
 
diff --git a/src/main/java/org/apache/maven/shared/utils/cli/CommandLineException.java b/src/main/java/org/apache/maven/shared/utils/cli/CommandLineException.java
index cb32678..871d1fd 100644
--- a/src/main/java/org/apache/maven/shared/utils/cli/CommandLineException.java
+++ b/src/main/java/org/apache/maven/shared/utils/cli/CommandLineException.java
@@ -22,21 +22,18 @@ package org.apache.maven.shared.utils.cli;
  * @author <a href="mailto:trygvis@inamo.no">Trygve Laugst&oslash;l</a>
  */
 public class CommandLineException extends Exception {
-    /**
-     *
-     */
     private static final long serialVersionUID = 1344773066470228441L;
 
     /**
-     * @param message The message of the exception.
+     * @param message the message of the exception
      */
     public CommandLineException(String message) {
         super(message);
     }
 
     /**
-     * @param message The message of the exception.
-     * @param cause The problem which caused the exception.
+     * @param message the message of the exception
+     * @param cause the problem which caused the exception
      */
     public CommandLineException(String message, Throwable cause) {
         super(message, cause);
diff --git a/src/main/java/org/apache/maven/shared/utils/cli/CommandLineTimeOutException.java b/src/main/java/org/apache/maven/shared/utils/cli/CommandLineTimeOutException.java
index 88edb65..ace26fa 100644
--- a/src/main/java/org/apache/maven/shared/utils/cli/CommandLineTimeOutException.java
+++ b/src/main/java/org/apache/maven/shared/utils/cli/CommandLineTimeOutException.java
@@ -22,22 +22,21 @@ package org.apache.maven.shared.utils.cli;
  * Report a timeout for executing process.
  *
  * @author Olivier Lamy
- *
  */
 public class CommandLineTimeOutException extends CommandLineException {
 
     private static final long serialVersionUID = 7322428741683224481L;
 
     /**
-     * @param message The message of the exception.
-     * @param cause The cause of the exception.
+     * @param message the message of the exception
+     * @param cause the cause of the exception
      */
     public CommandLineTimeOutException(String message, Throwable cause) {
         super(message, cause);
     }
 
     /**
-     * @param message The message of the exception.
+     * @param message the message of the exception
      */
     public CommandLineTimeOutException(String message) {
         super(message);
diff --git a/src/main/java/org/apache/maven/shared/utils/cli/CommandLineUtils.java b/src/main/java/org/apache/maven/shared/utils/cli/CommandLineUtils.java
index 96714b4..3fbe3f1 100644
--- a/src/main/java/org/apache/maven/shared/utils/cli/CommandLineUtils.java
+++ b/src/main/java/org/apache/maven/shared/utils/cli/CommandLineUtils.java
@@ -59,7 +59,7 @@ public abstract class CommandLineUtils {
         }
 
         /**
-         * @return The output.
+         * @return the output
          */
         public String getOutput() {
             return string.toString();
@@ -67,11 +67,11 @@ public abstract class CommandLineUtils {
     }
 
     /**
-     * @param cl The command line {@link Commandline}
+     * @param cl the command line {@link Commandline}
      * @param systemOut {@link StreamConsumer}
      * @param systemErr {@link StreamConsumer}
-     * @return return code.
-     * @throws CommandLineException in case of a problem.
+     * @return code
+     * @throws CommandLineException in case of a problem
      */
     public static int executeCommandLine(@Nonnull Commandline cl, StreamConsumer systemOut, StreamConsumer systemErr)
             throws CommandLineException {
@@ -79,12 +79,12 @@ public abstract class CommandLineUtils {
     }
 
     /**
-     * @param cl The command line {@link Commandline}
+     * @param cl the command line {@link Commandline}
      * @param systemOut {@link StreamConsumer}
      * @param systemErr {@link StreamConsumer}
-     * @param timeoutInSeconds The timeout.
-     * @return return code.
-     * @throws CommandLineException in case of a problem.
+     * @param timeoutInSeconds the timeout
+     * @return code
+     * @throws CommandLineException in case of a problem
      */
     public static int executeCommandLine(
             @Nonnull Commandline cl, StreamConsumer systemOut, StreamConsumer systemErr, int timeoutInSeconds)
@@ -93,12 +93,12 @@ public abstract class CommandLineUtils {
     }
 
     /**
-     * @param cl The command line {@link Commandline}
+     * @param cl the command line {@link Commandline}
      * @param systemIn {@link StreamConsumer}
      * @param systemOut {@link StreamConsumer}
      * @param systemErr {@link StreamConsumer}
-     * @return return code.
-     * @throws CommandLineException in case of a problem.
+     * @return code
+     * @throws CommandLineException in case of a problem
      */
     public static int executeCommandLine(
             @Nonnull Commandline cl, InputStream systemIn, StreamConsumer systemOut, StreamConsumer systemErr)
@@ -107,12 +107,12 @@ public abstract class CommandLineUtils {
     }
 
     /**
-     * @param cl               The command line to execute
-     * @param systemIn         The input to read from, must be thread safe
-     * @param systemOut        A consumer that receives output, must be thread safe
-     * @param systemErr        A consumer that receives system error stream output, must be thread safe
-     * @param timeoutInSeconds Positive integer to specify timeout, zero and negative integers for no timeout.
-     * @return A return value, see {@link Process#exitValue()}
+     * @param cl               the command line to execute
+     * @param systemIn         the input to read from, must be thread safe
+     * @param systemOut        a consumer that receives output, must be thread safe
+     * @param systemErr        a consumer that receives system error stream output, must be thread safe
+     * @param timeoutInSeconds positive integer to specify timeout, zero and negative integers for no timeout
+     * @return a return value, see {@link Process#exitValue()}
      * @throws CommandLineException or CommandLineTimeOutException if time out occurs
      */
     public static int executeCommandLine(
@@ -126,14 +126,14 @@ public abstract class CommandLineUtils {
     }
 
     /**
-     * @param cl               The command line to execute
-     * @param systemIn         The input to read from, must be thread safe
-     * @param systemOut        A consumer that receives output, must be thread safe
-     * @param systemErr        A consumer that receives system error stream output, must be thread safe
-     * @param timeoutInSeconds Positive integer to specify timeout, zero and negative integers for no timeout.
-     * @param runAfterProcessTermination Optional callback to run after the process terminated or the the timeout was
-     *  exceeded, but before waiting on the stream feeder and pumpers to finish.
-     * @return A return value, see {@link Process#exitValue()}
+     * @param cl               the command line to execute
+     * @param systemIn         the input to read from, must be thread safe
+     * @param systemOut        a consumer that receives output, must be thread safe
+     * @param systemErr        a consumer that receives system error stream output, must be thread safe
+     * @param timeoutInSeconds positive integer to specify timeout, zero and negative integers for no timeout
+     * @param runAfterProcessTermination optional callback to run after the process terminated or the the timeout was
+     *  exceeded, but before waiting on the stream feeder and pumpers to finish
+     * @return a return value, see {@link Process#exitValue()}
      * @throws CommandLineException or CommandLineTimeOutException if time out occurs
      */
     public static int executeCommandLine(
@@ -149,15 +149,15 @@ public abstract class CommandLineUtils {
     }
 
     /**
-     * @param cl               The command line to execute
-     * @param systemIn         The input to read from, must be thread safe
-     * @param systemOut        A consumer that receives output, must be thread safe
-     * @param systemErr        A consumer that receives system error stream output, must be thread safe
-     * @param timeoutInSeconds Positive integer to specify timeout, zero and negative integers for no timeout.
-     * @param runAfterProcessTermination Optional callback to run after the process terminated or the the timeout was
-     *  exceeded, but before waiting on the stream feeder and pumpers to finish.
-     * @param streamCharset    Charset to use for reading streams
-     * @return A return value, see {@link Process#exitValue()}
+     * @param cl               the command line to execute
+     * @param systemIn         the input to read from, must be thread safe
+     * @param systemOut        a consumer that receives output, must be thread safe
+     * @param systemErr        a consumer that receives system error stream output, must be thread safe
+     * @param timeoutInSeconds positive integer to specify timeout, zero and negative integers for no timeout
+     * @param runAfterProcessTermination optional callback to run after the process terminated or the the timeout was
+     *  exceeded, but before waiting on the stream feeder and pumpers to finish
+     * @param streamCharset    charset to use for reading streams
+     * @return a return value, see {@link Process#exitValue()}
      * @throws CommandLineException or CommandLineTimeOutException if time out occurs
      */
     public static int executeCommandLine(
@@ -177,13 +177,13 @@ public abstract class CommandLineUtils {
     /**
      * Immediately forks a process, returns a callable that will block until process is complete.
      *
-     * @param cl               The command line to execute
-     * @param systemIn         The input to read from, must be thread safe
-     * @param systemOut        A consumer that receives output, must be thread safe
-     * @param systemErr        A consumer that receives system error stream output, must be thread safe
-     * @param timeoutInSeconds Positive integer to specify timeout, zero and negative integers for no timeout.
-     * @param runAfterProcessTermination Optional callback to run after the process terminated or the the timeout was
-     * @return A CommandLineCallable that provides the process return value, see {@link Process#exitValue()}. "call"
+     * @param cl               the command line to execute
+     * @param systemIn         the input to read from, must be thread safe
+     * @param systemOut        a consumer that receives output, must be thread safe
+     * @param systemErr        a consumer that receives system error stream output, must be thread safe
+     * @param timeoutInSeconds positive integer to specify timeout, zero and negative integers for no timeout
+     * @param runAfterProcessTermination optional callback to run after the process terminated or the the timeout was
+     * @return a CommandLineCallable that provides the process return value, see {@link Process#exitValue()}. "call"
      *         must be called on this to be sure the forked process has terminated, no guarantees is made about
      *         any internal state before after the completion of the call statements
      * @throws CommandLineException or CommandLineTimeOutException if time out occurs
@@ -203,14 +203,14 @@ public abstract class CommandLineUtils {
     /**
      * Immediately forks a process, returns a callable that will block until process is complete.
      *
-     * @param cl               The command line to execute
-     * @param systemIn         The input to read from, must be thread safe
-     * @param systemOut        A consumer that receives output, must be thread safe
-     * @param systemErr        A consumer that receives system error stream output, must be thread safe
-     * @param timeoutInSeconds Positive integer to specify timeout, zero and negative integers for no timeout.
-     * @param runAfterProcessTermination Optional callback to run after the process terminated or the the timeout was
-     * @param streamCharset    Charset to use for reading streams
-     * @return A CommandLineCallable that provides the process return value, see {@link Process#exitValue()}. "call"
+     * @param cl               the command line to execute
+     * @param systemIn         the input to read from, must be thread safe
+     * @param systemOut        a consumer that receives output, must be thread safe
+     * @param systemErr        a consumer that receives system error stream output, must be thread safe
+     * @param timeoutInSeconds positive integer to specify timeout, zero and negative integers for no timeout
+     * @param runAfterProcessTermination optional callback to run after the process terminated or the the timeout was
+     * @param streamCharset    charset to use for reading streams
+     * @return a CommandLineCallable that provides the process return value, see {@link Process#exitValue()}. "call"
      *         must be called on this to be sure the forked process has terminated, no guarantees is made about
      *         any internal state before after the completion of the call statements
      * @throws CommandLineException or CommandLineTimeOutException if time out occurs
@@ -347,7 +347,7 @@ public abstract class CommandLineUtils {
      * and <code>getSystemEnvVars().get("PATH")</code> will in general return different values. However, on platforms
      * with case-insensitive environment variables like Windows, all variable names will be normalized to upper case.
      *
-     * @return The shell environment variables, can be empty but never <code>null</code>.
+     * @return the shell environment variables, can be empty but never <code>null</code>
      * @deprecated use System#getenv()
      */
     @Deprecated
@@ -359,8 +359,8 @@ public abstract class CommandLineUtils {
      * Return the shell environment variables. If <code>caseSensitive == true</code>, then envar
      * keys will all be upper-case.
      *
-     * @param caseSensitive Whether environment variable keys should be treated case-sensitively.
-     * @return Properties object of (possibly modified) envar keys mapped to their values.
+     * @param caseSensitive whether environment variable keys should be treated case-sensitively
+     * @return properties object of (possibly modified) envar keys mapped to their values
      * @deprecated use System#getenv()
      */
     @Deprecated
@@ -370,9 +370,9 @@ public abstract class CommandLineUtils {
     }
 
     /**
-     * @param toProcess The command line to translate.
-     * @return The array of translated parts.
-     * @throws CommandLineException in case of unbalanced quotes.
+     * @param toProcess the command line to translate
+     * @return the array of translated parts
+     * @throws CommandLineException in case of unbalanced quotes
      */
     public static String[] translateCommandline(String toProcess) throws CommandLineException {
         if ((toProcess == null) || (toProcess.length() == 0)) {
diff --git a/src/main/java/org/apache/maven/shared/utils/cli/Commandline.java b/src/main/java/org/apache/maven/shared/utils/cli/Commandline.java
index 4452796..02e1ec4 100644
--- a/src/main/java/org/apache/maven/shared/utils/cli/Commandline.java
+++ b/src/main/java/org/apache/maven/shared/utils/cli/Commandline.java
@@ -85,7 +85,7 @@ public class Commandline implements Cloneable {
      * Shell is autodetected from operating system.
      *
      * @param toProcess the command to process
-     * @throws CommandLineException in case of unbalanced quotes.
+     * @throws CommandLineException in case of unbalanced quotes
      */
     public Commandline(String toProcess) throws CommandLineException {
         setDefaultShell();
@@ -258,7 +258,8 @@ public class Commandline implements Cloneable {
     /**
      * Returns all arguments defined by <code>addLine</code>,
      * <code>addValue</code> or the argument object.
-     * @return an array of arguments.
+     *
+     * @return an array of arguments
      */
     public String[] getArguments() {
         return getArguments(false);
@@ -294,7 +295,8 @@ public class Commandline implements Cloneable {
         return result.toArray(new String[result.size()]);
     }
 
-    /** {@inheritDoc}
+    /**
+     * {@inheritDoc}
      */
     public String toString() {
         return StringUtils.join(getShellCommandline(true), " ");
@@ -346,7 +348,7 @@ public class Commandline implements Cloneable {
      * should are propagated to the executing Command.
      * By default, the current environment variables are inherited by the new Command line execution.
      *
-     * @return <code>true</code> if the environment variables should be propagated, <code>false</code> otherwise.
+     * @return <code>true</code> if the environment variables should be propagated, <code>false</code> otherwise
      */
     public boolean isShellEnvironmentInherited() {
         return shellEnvironmentInherited;
@@ -356,7 +358,7 @@ public class Commandline implements Cloneable {
      * Specifies whether the environment variables of the current process should be propagated to the executing Command.
      *
      * @param shellEnvironmentInherited <code>true</code> if the environment variables should be propagated,
-     *            <code>false</code> otherwise.
+     *            <code>false</code> otherwise
      */
     public void setShellEnvironmentInherited(boolean shellEnvironmentInherited) {
         this.shellEnvironmentInherited = shellEnvironmentInherited;
@@ -415,7 +417,7 @@ public class Commandline implements Cloneable {
     }
 
     /**
-     * A single command line argument
+     * A single command line argument.
      */
     public static class Argument implements Arg {
         private String[] parts;
diff --git a/src/main/java/org/apache/maven/shared/utils/cli/ShutdownHookUtils.java b/src/main/java/org/apache/maven/shared/utils/cli/ShutdownHookUtils.java
index 5ec3bbc..67c280a 100644
--- a/src/main/java/org/apache/maven/shared/utils/cli/ShutdownHookUtils.java
+++ b/src/main/java/org/apache/maven/shared/utils/cli/ShutdownHookUtils.java
@@ -31,7 +31,7 @@ import java.security.AccessControlException;
 public class ShutdownHookUtils {
 
     /**
-     * @param hook The thread hook.
+     * @param hook the thread hook
      */
     public static void addShutDownHook(Thread hook) {
         try {
@@ -44,7 +44,7 @@ public class ShutdownHookUtils {
     }
 
     /**
-     * @param hook The hook which should be removed.
+     * @param hook the hook which should be removed
      */
     public static void removeShutdownHook(Thread hook) {
         try {
diff --git a/src/main/java/org/apache/maven/shared/utils/cli/StreamConsumer.java b/src/main/java/org/apache/maven/shared/utils/cli/StreamConsumer.java
index 9279aca..9e04ea1 100644
--- a/src/main/java/org/apache/maven/shared/utils/cli/StreamConsumer.java
+++ b/src/main/java/org/apache/maven/shared/utils/cli/StreamConsumer.java
@@ -33,8 +33,9 @@ import java.io.IOException;
 public interface StreamConsumer {
     /**
      * Called when the StreamPumper pumps a line from the Stream.
-     * @param line The line to be consumed.
-     * @throws IOException if consuming {@code line} fails.
+     *
+     * @param line the line to be consumed
+     * @throws IOException if consuming {@code line} fails
      */
     void consumeLine(String line) throws IOException;
 }
diff --git a/src/main/java/org/apache/maven/shared/utils/cli/StreamPollFeeder.java b/src/main/java/org/apache/maven/shared/utils/cli/StreamPollFeeder.java
index 27d75bb..72b16a8 100644
--- a/src/main/java/org/apache/maven/shared/utils/cli/StreamPollFeeder.java
+++ b/src/main/java/org/apache/maven/shared/utils/cli/StreamPollFeeder.java
@@ -41,10 +41,10 @@ class StreamPollFeeder extends Thread {
     private final Object lock = new Object();
 
     /**
-     * Create a new StreamPollFeeder
+     * Create a new StreamPollFeeder.
      *
-     * @param input  Stream to read from
-     * @param output Stream to write to
+     * @param input  stream to read from
+     * @param output stream to write to
      */
     StreamPollFeeder(InputStream input, OutputStream output) {
         this.input = Objects.requireNonNull(input);
diff --git a/src/main/java/org/apache/maven/shared/utils/cli/StreamPumper.java b/src/main/java/org/apache/maven/shared/utils/cli/StreamPumper.java
index 03a79ca..3cedfc9 100644
--- a/src/main/java/org/apache/maven/shared/utils/cli/StreamPumper.java
+++ b/src/main/java/org/apache/maven/shared/utils/cli/StreamPumper.java
@@ -69,7 +69,7 @@ public class StreamPumper extends AbstractStreamHandler {
         this.consumer = consumer;
     }
 
-    /** run it. */
+    /** Run it. */
     public void run() {
         try {
             for (String line = in.readLine(); line != null; line = in.readLine()) {
@@ -101,7 +101,7 @@ public class StreamPumper extends AbstractStreamHandler {
     }
 
     /**
-     * flush.
+     * Flush.
      *
      * @deprecated As of 3.2.0, removed without replacement.
      */
diff --git a/src/main/java/org/apache/maven/shared/utils/cli/WriterStreamConsumer.java b/src/main/java/org/apache/maven/shared/utils/cli/WriterStreamConsumer.java
index d3dbbbe..20ce6df 100644
--- a/src/main/java/org/apache/maven/shared/utils/cli/WriterStreamConsumer.java
+++ b/src/main/java/org/apache/maven/shared/utils/cli/WriterStreamConsumer.java
@@ -24,7 +24,6 @@ import java.io.Writer;
 
 /**
  * @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
- *
  */
 public class WriterStreamConsumer implements StreamConsumer {
 
diff --git a/src/main/java/org/apache/maven/shared/utils/cli/javatool/AbstractJavaTool.java b/src/main/java/org/apache/maven/shared/utils/cli/javatool/AbstractJavaTool.java
index 813ccc0..0d5c2e4 100644
--- a/src/main/java/org/apache/maven/shared/utils/cli/javatool/AbstractJavaTool.java
+++ b/src/main/java/org/apache/maven/shared/utils/cli/javatool/AbstractJavaTool.java
@@ -37,8 +37,8 @@ import org.slf4j.LoggerFactory;
  * Abstract implementation of a {@link JavaTool}.
  *
  * @author <a href="mailto:chemit@codelutin.com">Tony Chemit</a>
+ * @param <Request> tool-specific request type
  * @since 0.5
- * @param <Request> Tool-specific request type
  */
 public abstract class AbstractJavaTool<Request extends JavaToolRequest> implements JavaTool<Request> {
     private final Logger logger = LoggerFactory.getLogger(getClass());
@@ -59,7 +59,7 @@ public abstract class AbstractJavaTool<Request extends JavaToolRequest> implemen
     private Object toolchain;
 
     /**
-     * @param javaToolName The name of the java tool.
+     * @param javaToolName the name of the java tool
      */
     protected AbstractJavaTool(String javaToolName) {
         this.javaToolName = javaToolName;
@@ -68,8 +68,8 @@ public abstract class AbstractJavaTool<Request extends JavaToolRequest> implemen
     /**
      * Create the command line object given the request.
      *
-     * @param request      User request on the java tool
-     * @param javaToolFileLocation Location of the java tool file to use
+     * @param request      user request on the java tool
+     * @param javaToolFileLocation location of the java tool file to use
      * @return the command line
      * @throws JavaToolException if could not create the command line from the request
      */
@@ -138,7 +138,7 @@ public abstract class AbstractJavaTool<Request extends JavaToolRequest> implemen
 
     /**
      * @param cli {@link Commandline}
-     * @param request The request.
+     * @param request the request
      * @return {@link JavaToolRequest}
      */
     protected JavaToolResult executeCommandLine(Commandline cli, Request request) {
@@ -168,7 +168,7 @@ public abstract class AbstractJavaTool<Request extends JavaToolRequest> implemen
     }
 
     /**
-     * @param request The request.
+     * @param request the request
      * @return {@link StreamConsumer}
      */
     protected StreamConsumer createSystemErrorStreamConsumer(Request request) {
@@ -190,7 +190,7 @@ public abstract class AbstractJavaTool<Request extends JavaToolRequest> implemen
     }
 
     /**
-     * @param request The request.
+     * @param request the request
      * @return {@link StreamConsumer}
      */
     protected StreamConsumer createSystemOutStreamConsumer(Request request) {
@@ -213,14 +213,14 @@ public abstract class AbstractJavaTool<Request extends JavaToolRequest> implemen
     }
 
     /**
-     * @return The JavaToolResult.
+     * @return the JavaToolResult
      */
     protected JavaToolResult createResult() {
         return new JavaToolResult();
     }
 
     /**
-     * @return The location of the java tool executable.
+     * @return the location of the java tool executable
      */
     protected String findJavaToolExecutable() {
         String executable = null;
@@ -286,10 +286,10 @@ public abstract class AbstractJavaTool<Request extends JavaToolRequest> implemen
     /**
      * Finds the specified command in any of the given sub directories of the specified JDK/JRE home directory.
      *
-     * @param command The command to find, must not be <code>null</code>.
-     * @param homeDir The home directory to search in, may be <code>null</code>.
-     * @param subDirs The sub directories of the home directory to search in, must not be <code>null</code>.
-     * @return The (absolute) path to the command if found, <code>null</code> otherwise.
+     * @param command the command to find, must not be <code>null</code>
+     * @param homeDir the home directory to search in, may be <code>null</code>
+     * @param subDirs the sub directories of the home directory to search in, must not be <code>null</code>
+     * @return the (absolute) path to the command if found, <code>null</code> otherwise
      */
     private String findExecutable(String command, String homeDir, String... subDirs) {
         String result = null;
diff --git a/src/main/java/org/apache/maven/shared/utils/cli/javatool/JavaTool.java b/src/main/java/org/apache/maven/shared/utils/cli/javatool/JavaTool.java
index dd3ba02..63c8f63 100644
--- a/src/main/java/org/apache/maven/shared/utils/cli/javatool/JavaTool.java
+++ b/src/main/java/org/apache/maven/shared/utils/cli/javatool/JavaTool.java
@@ -26,8 +26,8 @@ package org.apache.maven.shared.utils.cli.javatool;
  * execute any user requests of this tool.</p>
  *
  * @author <a href="mailto:chemit@codelutin.com">Tony Chemit</a>
+ * @param <Request> tool-specific request type
  * @since 0.5
- * @param <Request> Tool-specific request type
  */
 public interface JavaTool<Request extends JavaToolRequest> {
 
@@ -36,7 +36,7 @@ public interface JavaTool<Request extends JavaToolRequest> {
      * find in the {@code jdk/bin} directory.</p>
      * <p>For example: {@code jarsigner, keytool, javadoc, ...}</p>
      *
-     * @return the name of the java tool.
+     * @return the name of the java tool
      */
     String getJavaToolName();
 
diff --git a/src/main/java/org/apache/maven/shared/utils/cli/javatool/JavaToolException.java b/src/main/java/org/apache/maven/shared/utils/cli/javatool/JavaToolException.java
index ee3465d..e0a8c8d 100644
--- a/src/main/java/org/apache/maven/shared/utils/cli/javatool/JavaToolException.java
+++ b/src/main/java/org/apache/maven/shared/utils/cli/javatool/JavaToolException.java
@@ -25,7 +25,6 @@ package org.apache.maven.shared.utils.cli.javatool;
  * of a non-zero exit code.</p>
  *
  * @author <a href="mailto:chemit@codelutin.com">Tony Chemit</a>
- *
  * @see JavaToolResult#getExitCode()
  * @since 0.5
  */
@@ -33,15 +32,15 @@ public class JavaToolException extends Exception {
     private static final long serialVersionUID = 1L;
 
     /**
-     * @param message The message of the exception.
+     * @param message the message of the exception
      */
     public JavaToolException(String message) {
         super(message);
     }
 
     /**
-     * @param message The message of the exception.
-     * @param cause The cause of the exception.
+     * @param message the message of the exception
+     * @param cause the cause of the exception
      */
     public JavaToolException(String message, Throwable cause) {
         super(message, cause);
diff --git a/src/main/java/org/apache/maven/shared/utils/cli/javatool/JavaToolRequest.java b/src/main/java/org/apache/maven/shared/utils/cli/javatool/JavaToolRequest.java
index 4dc7787..26969d1 100644
--- a/src/main/java/org/apache/maven/shared/utils/cli/javatool/JavaToolRequest.java
+++ b/src/main/java/org/apache/maven/shared/utils/cli/javatool/JavaToolRequest.java
@@ -33,7 +33,7 @@ public interface JavaToolRequest {
      * <p>This option field if filled is used by the commandline tool to consume system ouput stream of the jarsigner
      * command.</p>
      *
-     * @return the value of the {@code systemOutStreamConsumer} field.
+     * @return the value of the {@code systemOutStreamConsumer} field
      */
     StreamConsumer getSystemOutStreamConsumer();
 
@@ -42,21 +42,21 @@ public interface JavaToolRequest {
      * <p>This option field if filled is used by the commandline tool to consume system error stream of the jarsigner
      * command.</p>
      *
-     * @return the value of the {@code systemErrorStreamConsumer} field.
+     * @return the value of the {@code systemErrorStreamConsumer} field
      */
     StreamConsumer getSystemErrorStreamConsumer();
 
     /**
      * Sets the new given value to the field {@code systemOutStreamConsumer} of the request.
      *
-     * @param systemOutStreamConsumer the new value of the field {@code systemOutStreamConsumer}.
+     * @param systemOutStreamConsumer the new value of the field {@code systemOutStreamConsumer}
      */
     void setSystemOutStreamConsumer(StreamConsumer systemOutStreamConsumer);
 
     /**
      * Sets the new given value to the field {@code systemErrorStreamConsumer} of the request.
      *
-     * @param systemErrorStreamConsumer the new value of the field {@code systemErrorStreamConsumer}.
+     * @param systemErrorStreamConsumer the new value of the field {@code systemErrorStreamConsumer}
      */
     void setSystemErrorStreamConsumer(StreamConsumer systemErrorStreamConsumer);
 }
diff --git a/src/main/java/org/apache/maven/shared/utils/cli/javatool/JavaToolResult.java b/src/main/java/org/apache/maven/shared/utils/cli/javatool/JavaToolResult.java
index 49ccd03..7258e91 100644
--- a/src/main/java/org/apache/maven/shared/utils/cli/javatool/JavaToolResult.java
+++ b/src/main/java/org/apache/maven/shared/utils/cli/javatool/JavaToolResult.java
@@ -48,7 +48,7 @@ public class JavaToolResult {
      * Gets the exit code from the tool invocation. A non-zero value indicates a build failure. <strong>Note:</strong>
      * This value is undefined if {@link #getExecutionException()} reports an exception.
      *
-     * @return The exit code from the tool invocation.
+     * @return the exit code from the tool invocation
      */
     public int getExitCode() {
         return exitCode;
@@ -57,7 +57,7 @@ public class JavaToolResult {
     /**
      * Gets the command line used.
      *
-     * @return The command line used
+     * @return the command line used
      */
     public Commandline getCommandline() {
         return commandline;
@@ -66,8 +66,8 @@ public class JavaToolResult {
     /**
      * Gets the exception that possibly occurred during the execution of the command line.
      *
-     * @return The exception that prevented to invoke tool or <code>null</code> if the command line was successfully
-     * processed by the operating system.
+     * @return the exception that prevented to invoke tool or <code>null</code> if the command line was successfully
+     * processed by the operating system
      */
     public CommandLineException getExecutionException() {
         return executionException;
@@ -76,7 +76,7 @@ public class JavaToolResult {
     /**
      * Sets the exit code reported by the tool invocation.
      *
-     * @param exitCode The exit code reported by the tool invocation.
+     * @param exitCode the exit code reported by the tool invocation
      */
     public void setExitCode(int exitCode) {
         this.exitCode = exitCode;
@@ -85,7 +85,7 @@ public class JavaToolResult {
     /**
      * Sets the exception that prevented to execute the command line.
      *
-     * @param executionException The exception that prevented to execute the command line, may be <code>null</code>.
+     * @param executionException the exception that prevented to execute the command line, may be <code>null</code>
      */
     public void setExecutionException(CommandLineException executionException) {
         this.executionException = executionException;
diff --git a/src/main/java/org/apache/maven/shared/utils/cli/shell/BourneShell.java b/src/main/java/org/apache/maven/shared/utils/cli/shell/BourneShell.java
index 5ba6e3f..5363fc3 100644
--- a/src/main/java/org/apache/maven/shared/utils/cli/shell/BourneShell.java
+++ b/src/main/java/org/apache/maven/shared/utils/cli/shell/BourneShell.java
@@ -52,7 +52,9 @@ public class BourneShell extends Shell {
         return quoteOneItem(super.getExecutable(), true);
     }
 
-    /** {@inheritDoc} */
+    /**
+     * {@inheritDoc}
+     */
     public List<String> getShellArgsList() {
         List<String> shellArgs = new ArrayList<>();
         List<String> existingShellArgs = super.getShellArgsList();
@@ -66,7 +68,9 @@ public class BourneShell extends Shell {
         return shellArgs;
     }
 
-    /** {@inheritDoc} */
+    /**
+     * {@inheritDoc}
+     */
     public String[] getShellArgs() {
         String[] shellArgs = super.getShellArgs();
         if (shellArgs == null) {
@@ -85,7 +89,9 @@ public class BourneShell extends Shell {
         return shellArgs;
     }
 
-    /** {@inheritDoc} */
+    /**
+     * {@inheritDoc}
+     */
     protected String getExecutionPreamble() {
         if (getWorkingDirectoryAsString() == null) {
             return null;
@@ -109,8 +115,8 @@ public class BourneShell extends Shell {
      * BourneShell.quoteOneItem("/test/quoted path\"'abc")  = '/test/quoted path"'"'"'abc'
      * </pre>
      *
-     * @param path not null path.
-     * @return the path unified correctly for the Bourne shell.
+     * @param path not null path
+     * @return the path unified correctly for the Bourne shell
      */
     protected String quoteOneItem(String path, boolean isExecutable) {
         if (path == null) {
diff --git a/src/main/java/org/apache/maven/shared/utils/cli/shell/CmdShell.java b/src/main/java/org/apache/maven/shared/utils/cli/shell/CmdShell.java
index 3d72e32..b84e19d 100644
--- a/src/main/java/org/apache/maven/shared/utils/cli/shell/CmdShell.java
+++ b/src/main/java/org/apache/maven/shared/utils/cli/shell/CmdShell.java
@@ -25,7 +25,6 @@ import java.util.List;
  * Implementation to call the CMD Shell present on Windows NT, 2000, XP, 7, 8, and 10.
  *
  * @author <a href="mailto:carlos@apache.org">Carlos Sanchez</a>
- *
  */
 public class CmdShell extends Shell {
     /**
@@ -74,9 +73,9 @@ public class CmdShell extends Shell {
      * appears to make Windows processes invoke successfully.
      * </p>
      *
-     * @param executable The executable.
-     * @param arguments The arguments for the executable.
-     * @return The resulting command line.
+     * @param executable the executable
+     * @param arguments the arguments for the executable
+     * @return the resulting command line
      */
     public List<String> getCommandLine(String executable, String... arguments) {
         StringBuilder sb = new StringBuilder();
diff --git a/src/main/java/org/apache/maven/shared/utils/cli/shell/CommandShell.java b/src/main/java/org/apache/maven/shared/utils/cli/shell/CommandShell.java
index f1b5cd4..8b7a0d9 100644
--- a/src/main/java/org/apache/maven/shared/utils/cli/shell/CommandShell.java
+++ b/src/main/java/org/apache/maven/shared/utils/cli/shell/CommandShell.java
@@ -19,7 +19,7 @@
 package org.apache.maven.shared.utils.cli.shell;
 
 /**
- * Implementation to call the Command.com Shell present on Windows 95, 98 and Me
+ * Implementation to call the Command.com Shell present on Windows 95, 98 and Me.
  *
  * @author <a href="mailto:carlos@apache.org">Carlos Sanchez</a>
  * @deprecated Windows ME is long dead. Update to Windows 10 and use {@link CmdShell}.
diff --git a/src/main/java/org/apache/maven/shared/utils/cli/shell/Shell.java b/src/main/java/org/apache/maven/shared/utils/cli/shell/Shell.java
index ff92c7a..e991e5c 100644
--- a/src/main/java/org/apache/maven/shared/utils/cli/shell/Shell.java
+++ b/src/main/java/org/apache/maven/shared/utils/cli/shell/Shell.java
@@ -35,7 +35,6 @@ import org.apache.maven.shared.utils.StringUtils;
  * </ul>
  *
  * @author <a href="mailto:carlos@apache.org">Carlos Sanchez</a>
- *
  */
 public class Shell implements Cloneable {
     private static final char[] DEFAULT_QUOTING_TRIGGER_CHARS = {' '};
@@ -92,7 +91,7 @@ public class Shell implements Cloneable {
     }
 
     /**
-     * Get the shell arguments
+     * Get the shell arguments.
      *
      * @return the arguments
      */
@@ -116,7 +115,7 @@ public class Shell implements Cloneable {
     }
 
     /**
-     * Get the command line for the provided executable and arguments in this shell
+     * Get the command line for the provided executable and arguments in this shell.
      *
      * @param executableParameter executable that the shell has to call
      * @param argumentsParameter  arguments for the executable, not the shell
@@ -127,7 +126,7 @@ public class Shell implements Cloneable {
     }
 
     /**
-     * @param executableParameter Executable
+     * @param executableParameter executable
      * @param argumentsParameter the arguments for the executable
      * @return the list on command line
      */
@@ -234,10 +233,10 @@ public class Shell implements Cloneable {
 
     /**
      * Get the full command line to execute, including shell command, shell arguments,
-     * executable and executable arguments
+     * executable and executable arguments.
      *
      * @param arguments arguments for the executable, not the shell
-     * @return List of String objects, whose array version is suitable to be used as argument
+     * @return list of String objects, whose array version is suitable to be used as argument
      *         of Runtime.getRuntime().exec()
      */
     public List<String> getShellCommandLine(String... arguments) {
@@ -282,7 +281,8 @@ public class Shell implements Cloneable {
 
     /**
      * Sets the executable to run.
-     * @param executable The executable.
+     *
+     * @param executable the executable
      */
     public void setExecutable(String executable) {
         if ((executable == null) || (executable.length() == 0)) {
@@ -292,7 +292,7 @@ public class Shell implements Cloneable {
     }
 
     /**
-     * @return The executable.
+     * @return the executable
      */
     public String getExecutable() {
         return executable;
@@ -300,7 +300,8 @@ public class Shell implements Cloneable {
 
     /**
      * Sets execution directory.
-     * @param path The path which should be used as working directory.
+     *
+     * @param path the path which should be used as working directory
      */
     public void setWorkingDirectory(String path) {
         if (path != null) {
@@ -330,7 +331,9 @@ public class Shell implements Cloneable {
         return workingDir;
     }
 
-    /** {@inheritDoc} */
+    /**
+     * {@inheritDoc}
+     */
     public Object clone() {
         throw new RuntimeException("Do we ever clone this?");
         /*        Shell shell = new Shell();
diff --git a/src/main/java/org/apache/maven/shared/utils/introspection/ClassMap.java b/src/main/java/org/apache/maven/shared/utils/introspection/ClassMap.java
index 071398c..44201d5 100644
--- a/src/main/java/org/apache/maven/shared/utils/introspection/ClassMap.java
+++ b/src/main/java/org/apache/maven/shared/utils/introspection/ClassMap.java
@@ -32,7 +32,6 @@ import java.util.Map;
  * @author <a href="mailto:bob@werken.com">Bob McWhirter</a>
  * @author <a href="mailto:szegedia@freemail.hu">Attila Szegedi</a>
  * @author <a href="mailto:geirm@optonline.net">Geir Magnusson Jr.</a>
- *
  */
 public class ClassMap {
     private static final class CacheMiss {}
@@ -56,8 +55,9 @@ public class ClassMap {
     private MethodMap methodMap = new MethodMap();
 
     /**
-     * Standard constructor
-     * @param clazz The class.
+     * Standard constructor.
+     *
+     * @param clazz the class
      */
     public ClassMap(Class<?> clazz) {
         this.clazz = clazz;
@@ -65,7 +65,7 @@ public class ClassMap {
     }
 
     /**
-     * @return the class object whose methods are cached by this map.
+     * @return the class object whose methods are cached by this map
      */
     Class<?> getCachedClass() {
         return clazz;
@@ -79,10 +79,11 @@ public class ClassMap {
      * case, we return it.</p>
      * <p>If nothing is found, then we must actually go
      * and introspect the method from the MethodMap.</p>
-     * @param name Method name.
-     * @param params Method parameters.
-     * @return The found method.
-     * @throws MethodMap.AmbiguousException in case of duplicate methods.
+     *
+     * @param name method name
+     * @param params method parameters
+     * @return the found method
+     * @throws MethodMap.AmbiguousException in case of duplicate methods
      */
     public Method findMethod(String name, Object... params) throws MethodMap.AmbiguousException {
         String methodKey = makeMethodKey(name, params);
@@ -267,7 +268,7 @@ public class ClassMap {
      * Recursively finds a match for each method, starting with the class, and then
      * searching the superclass and interfaces.
      *
-     * @param clazz       Class to check
+     * @param clazz       class to check
      * @param methodInfos array of methods we are searching to match
      * @param upcastCount current number of methods we have matched
      * @return count of matched methods
@@ -353,7 +354,7 @@ public class ClassMap {
      * and signature declared in a public superclass or implemented interface of this
      * method's declaring class. This counterpart method is publicly callable.
      *
-     * @param method a method whose publicly callable counterpart is requested.
+     * @param method a method whose publicly callable counterpart is requested
      * @return the publicly callable counterpart method. Note that if the parameter
      *         method is itself declared by a public class, this method is an identity
      *         function.
diff --git a/src/main/java/org/apache/maven/shared/utils/introspection/IntrospectionException.java b/src/main/java/org/apache/maven/shared/utils/introspection/IntrospectionException.java
index bf751cc..09f2f52 100644
--- a/src/main/java/org/apache/maven/shared/utils/introspection/IntrospectionException.java
+++ b/src/main/java/org/apache/maven/shared/utils/introspection/IntrospectionException.java
@@ -20,9 +20,6 @@ package org.apache.maven.shared.utils.introspection;
 
 class IntrospectionException extends Exception {
 
-    /**
-     *
-     */
     private static final long serialVersionUID = -6090771282553728784L;
 
     IntrospectionException(String message) {
diff --git a/src/main/java/org/apache/maven/shared/utils/introspection/MethodMap.java b/src/main/java/org/apache/maven/shared/utils/introspection/MethodMap.java
index b8460d4..179945d 100644
--- a/src/main/java/org/apache/maven/shared/utils/introspection/MethodMap.java
+++ b/src/main/java/org/apache/maven/shared/utils/introspection/MethodMap.java
@@ -32,7 +32,6 @@ import java.util.Map;
  * @author <a href="mailto:Christoph.Reck@dlr.de">Christoph Reck</a>
  * @author <a href="mailto:geirm@optonline.net">Geir Magnusson Jr.</a>
  * @author <a href="mailto:szegedia@freemail.hu">Attila Szegedi</a>
- *
  */
 class MethodMap {
     private static final int MORE_SPECIFIC = 0;
@@ -51,7 +50,7 @@ class MethodMap {
      * For a particular class we are keeping track
      * of all the methods with the same name.
      *
-     * @param method The method
+     * @param method the method
      */
     void add(Method method) {
         String methodName = method.getName();
@@ -69,8 +68,8 @@ class MethodMap {
     /**
      * Return a list of methods with the same name.
      *
-     * @param key The name of the method.
-     * @return List list of methods
+     * @param key the name of the method
+     * @return list list of methods
      */
     List<Method> get(String key) {
         return methodByNameMap.get(key);
@@ -100,7 +99,7 @@ class MethodMap {
      * @param methodName name of method
      * @param args       the actual arguments with which the method is called
      * @return the most specific applicable method, or null if no
-     *         method is applicable.
+     *         method is applicable
      * @throws AmbiguousException if there is more than one maximally
      *                            specific applicable method
      */
@@ -128,8 +127,8 @@ class MethodMap {
     }
 
     /**
-     * simple distinguishable exception, used when
-     * we run across ambiguous overloading
+     * Simple distinguishable exception, used when
+     * we run across ambiguous overloading.
      */
     static class AmbiguousException extends Exception {
 
@@ -207,7 +206,7 @@ class MethodMap {
      * @param c1 first signature to compare
      * @param c2 second signature to compare
      * @return MORE_SPECIFIC if c1 is more specific than c2, LESS_SPECIFIC if
-     *         c1 is less specific than c2, INCOMPARABLE if they are incomparable.
+     *         c1 is less specific than c2, INCOMPARABLE if they are incomparable
      */
     private static int moreSpecific(Class<?>[] c1, Class<?>[] c2) {
         boolean c1MoreSpecific = false;
@@ -252,7 +251,7 @@ class MethodMap {
      * @param classes the actual types of the arguments
      * @return a list that contains only applicable methods (number of
      *         formal and actual arguments matches, and argument types are assignable
-     *         to formal types through a method invocation conversion).
+     *         to formal types through a method invocation conversion)
      */
     private static LinkedList<Method> getApplicables(List<Method> methods, Class<?>... classes) {
         LinkedList<Method> list = new LinkedList<>();
@@ -269,8 +268,8 @@ class MethodMap {
      * Returns true if the supplied method is applicable to actual
      * argument types.
      *
-     * @param method  The method to check for applicability
-     * @param classes The arguments
+     * @param method  the method to check for applicability
+     * @param classes the arguments
      * @return true if the method applies to the parameter types
      */
     private static boolean isApplicable(Method method, Class<?>... classes) {
@@ -301,11 +300,11 @@ class MethodMap {
      *
      * @param formal the formal parameter type to which the actual
      *               parameter type should be convertible
-     * @param actual the actual parameter type.
+     * @param actual the actual parameter type
      * @return true if either formal type is assignable from actual type,
      *         or formal is a primitive type and actual is its corresponding object
      *         type or an object type of a primitive type that can be converted to
-     *         the formal type.
+     *         the formal type
      */
     private static boolean isMethodInvocationConvertible(Class<?> formal, Class<?> actual) {
         /*
@@ -382,10 +381,10 @@ class MethodMap {
      *
      * @param formal the formal parameter type to which the actual
      *               parameter type should be convertible
-     * @param actual the actual parameter type.
+     * @param actual the actual parameter type
      * @return true if either formal type is assignable from actual type,
      *         or formal and actual are both primitive types and actual can be
-     *         subject to widening conversion to formal.
+     *         subject to widening conversion to formal
      */
     private static boolean isStrictMethodInvocationConvertible(Class<?> formal, Class<?> actual) {
         /*
diff --git a/src/main/java/org/apache/maven/shared/utils/introspection/ReflectionValueExtractor.java b/src/main/java/org/apache/maven/shared/utils/introspection/ReflectionValueExtractor.java
index 1c6965e..a8ec953 100644
--- a/src/main/java/org/apache/maven/shared/utils/introspection/ReflectionValueExtractor.java
+++ b/src/main/java/org/apache/maven/shared/utils/introspection/ReflectionValueExtractor.java
@@ -38,7 +38,6 @@ import org.apache.maven.shared.utils.introspection.MethodMap.AmbiguousException;
  *
  * @author <a href="mailto:jason@maven.org">Jason van Zyl </a>
  * @author <a href="mailto:vincent.siveton@gmail.com">Vincent Siveton</a>
- *
  * @see <a href="http://struts.apache.org/1.x/struts-taglib/indexedprops.html">
  * http://struts.apache.org/1.x/struts-taglib/indexedprops.html</a>
  */
diff --git a/src/main/java/org/apache/maven/shared/utils/io/DirectoryScanResult.java b/src/main/java/org/apache/maven/shared/utils/io/DirectoryScanResult.java
index 9e94739..c852ff3 100644
--- a/src/main/java/org/apache/maven/shared/utils/io/DirectoryScanResult.java
+++ b/src/main/java/org/apache/maven/shared/utils/io/DirectoryScanResult.java
@@ -31,8 +31,8 @@ public class DirectoryScanResult {
     private final String[] filesRemoved;
 
     /**
-     * @param filesAdded Added files.
-     * @param filesRemoved Removed files.
+     * @param filesAdded added files
+     * @param filesRemoved removed files
      */
     public DirectoryScanResult(String[] filesAdded, String[] filesRemoved) {
         this.filesAdded = filesAdded;
diff --git a/src/main/java/org/apache/maven/shared/utils/io/DirectoryScanner.java b/src/main/java/org/apache/maven/shared/utils/io/DirectoryScanner.java
index aad7a01..4d94c4a 100644
--- a/src/main/java/org/apache/maven/shared/utils/io/DirectoryScanner.java
+++ b/src/main/java/org/apache/maven/shared/utils/io/DirectoryScanner.java
@@ -243,8 +243,6 @@ public class DirectoryScanner {
 
     /**
      * Whether or not symbolic links should be followed.
-     *
-     *
      */
     private boolean followSymlinks = true;
 
@@ -254,7 +252,7 @@ public class DirectoryScanner {
     private ScanConductor scanConductor = null;
 
     /**
-     * The last ScanAction. We need to store this in the instance as the scan() method doesn't return
+     * The last ScanAction. We need to store this in the instance as the scan() method doesn't return.
      */
     private ScanConductor.ScanAction scanAction = null;
 
@@ -268,7 +266,7 @@ public class DirectoryScanner {
      * characters are replaced by <code>File.separatorChar</code>, so the separator used need not match
      * <code>File.separatorChar</code>.
      *
-     * @param basedir The base directory to scan. Must not be <code>null</code>.
+     * @param basedir the base directory to scan. Must not be <code>null</code>.
      */
     public void setBasedir(final String basedir) {
         setBasedir(new File(basedir.replace('/', File.separatorChar).replace('\\', File.separatorChar)));
@@ -277,7 +275,7 @@ public class DirectoryScanner {
     /**
      * Sets the base directory to be scanned. This is the directory which is scanned recursively.
      *
-     * @param basedir The base directory for scanning. Should not be <code>null</code>.
+     * @param basedir the base directory for scanning. Should not be <code>null</code>.
      */
     public void setBasedir(@Nonnull final File basedir) {
         this.basedir = basedir;
@@ -317,7 +315,7 @@ public class DirectoryScanner {
      * When a pattern ends with a '/' or '\', "**" is appended.
      * </p>
      *
-     * @param includes A list of include patterns. May be <code>null</code>, indicating that all files should be
+     * @param includes a list of include patterns. May be <code>null</code>, indicating that all files should be
      *                 included. If a non-<code>null</code> list is given, all elements must be non-<code>null</code>.
      */
     public void setIncludes(final String... includes) {
@@ -346,7 +344,7 @@ public class DirectoryScanner {
      * When a pattern ends with a '/' or '\', "**" is appended.
      * </p>
      *
-     * @param excludes A list of exclude patterns. May be <code>null</code>, indicating that no files should be
+     * @param excludes a list of exclude patterns. May be <code>null</code>, indicating that no files should be
      *                 excluded. If a non-<code>null</code> list is given, all elements must be non-<code>null</code>.
      */
     public void setExcludes(final String... excludes) {
@@ -445,8 +443,8 @@ public class DirectoryScanner {
      * {@link DirectoryScanResult#getFilesAdded()} and {@link DirectoryScanResult#getFilesRemoved()}
      * </p>
      *
-     * @param oldFiles the list of previously captured files names.
-     * @return the result of the directory scan.
+     * @param oldFiles the list of previously captured files names
+     * @return the result of the directory scan
      */
     public DirectoryScanResult diffIncludedFiles(String... oldFiles) {
         if (filesIncluded == null) {
@@ -491,7 +489,7 @@ public class DirectoryScanner {
      * Take an array of type T and convert it into a HashSet of type T.
      * If <code>null</code> or an empty array gets passed, an empty Set will be returned.
      *
-     * @param array  The array
+     * @param array  the array
      * @return the filled HashSet of type T
      */
     private static <T> Set<T> arrayAsHashSet(@Nullable T[] array) {
@@ -683,9 +681,9 @@ public class DirectoryScanner {
     /**
      * Tests whether or not a name matches at least one include pattern.
      *
-     * @param name The name to match. Must not be <code>null</code>.
+     * @param name the name to match. Must not be <code>null</code>.
      * @return <code>true</code> when the name matches at least one include pattern, or <code>false</code>
-     *         otherwise.
+     *         otherwise
      */
     private boolean isIncluded(final String name) {
         return includesPatterns.matches(name, isCaseSensitive);
@@ -694,9 +692,9 @@ public class DirectoryScanner {
     /**
      * Tests whether or not a name matches the start of at least one include pattern.
      *
-     * @param name The name to match. Must not be <code>null</code>.
+     * @param name the name to match. Must not be <code>null</code>.
      * @return <code>true</code> when the name matches against the start of at least one include pattern, or
-     *         <code>false</code> otherwise.
+     *         <code>false</code> otherwise
      */
     private boolean couldHoldIncluded(@Nonnull final String name) {
         return includesPatterns.matchesPatternStart(name, isCaseSensitive);
@@ -705,9 +703,9 @@ public class DirectoryScanner {
     /**
      * Tests whether or not a name matches against at least one exclude pattern.
      *
-     * @param name The name to match. Must not be <code>null</code>.
+     * @param name the name to match. Must not be <code>null</code>.
      * @return <code>true</code> when the name matches against at least one exclude pattern, or <code>false</code>
-     *         otherwise.
+     *         otherwise
      */
     private boolean isExcluded(@Nonnull final String name) {
         return excludesPatterns.matches(name, isCaseSensitive);
@@ -717,9 +715,9 @@ public class DirectoryScanner {
      * Returns the names of the files which matched at least one of the include patterns and none of the exclude
      * patterns. The names are relative to the base directory.
      *
-     * @deprecated this method does not work correctly on Windows.
      * @return the names of the files which matched at least one of the include patterns and none of the exclude
      *         patterns. May also contain symbolic links to files.
+     * @deprecated this method does not work correctly on Windows.
      */
     @Deprecated
     public String[] getIncludedFiles() {
@@ -733,7 +731,7 @@ public class DirectoryScanner {
      * Returns the names of the files which matched none of the include patterns. The names are relative to the base
      * directory. This involves performing a slow scan if one has not already been completed.
      *
-     * @return the names of the files which matched none of the include patterns.
+     * @return the names of the files which matched none of the include patterns
      * @see #slowScan
      */
     public String[] getNotIncludedFiles() {
@@ -747,7 +745,7 @@ public class DirectoryScanner {
      * already been completed.
      *
      * @return the names of the files which matched at least one of the include patterns and at at least one of the
-     *         exclude patterns.
+     *         exclude patterns
      * @see #slowScan
      */
     public String[] getExcludedFiles() {
@@ -759,9 +757,9 @@ public class DirectoryScanner {
      * Returns the names of the directories which matched at least one of the include patterns and none of the exclude
      * patterns. The names are relative to the base directory.
      *
-     * @deprecated this method is buggy. Do not depend on it.
      * @return the names of the directories which matched at least one of the include patterns and none of the exclude
      *         patterns. May also contain symbolic links to directories.
+     * @deprecated this method is buggy. Do not depend on it.
      */
     @Deprecated
     public String[] getIncludedDirectories() {
@@ -772,7 +770,7 @@ public class DirectoryScanner {
      * Returns the names of the directories which matched none of the include patterns. The names are relative to the
      * base directory. This involves performing a slow scan if one has not already been completed.
      *
-     * @return the names of the directories which matched none of the include patterns.
+     * @return the names of the directories which matched none of the include patterns
      * @see #slowScan
      */
     public String[] getNotIncludedDirectories() {
@@ -786,7 +784,7 @@ public class DirectoryScanner {
      * not already been completed.
      *
      * @return the names of the directories which matched at least one of the include patterns and at least one of the
-     *         exclude patterns.
+     *         exclude patterns
      * @see #slowScan
      */
     public String[] getExcludedDirectories() {
diff --git a/src/main/java/org/apache/maven/shared/utils/io/FileUtils.java b/src/main/java/org/apache/maven/shared/utils/io/FileUtils.java
index 007b855..a7ac0a8 100644
--- a/src/main/java/org/apache/maven/shared/utils/io/FileUtils.java
+++ b/src/main/java/org/apache/maven/shared/utils/io/FileUtils.java
@@ -93,7 +93,7 @@ import org.apache.maven.shared.utils.StringUtils;
  */
 public class FileUtils {
     /**
-     * protected constructor.
+     * Protected constructor.
      */
     protected FileUtils() {
         // This is a utility class.  Normally don't instantiate
@@ -115,7 +115,7 @@ public class FileUtils {
     private static final int FILE_COPY_BUFFER_SIZE = ONE_MB * 30;
 
     /**
-     * The vm line separator
+     * The vm line separator.
      */
     private static final String FS = FileSystems.getDefault().getSeparator();
 
@@ -146,7 +146,7 @@ public class FileUtils {
     }
 
     /**
-     * @return the default excludes pattern as comma separated string.
+     * @return the default excludes pattern as comma separated string
      * @see DirectoryScanner#DEFAULTEXCLUDES
      * @see StringUtils#join(Object[], String)
      */
@@ -346,7 +346,7 @@ public class FileUtils {
 
     /**
      * Writes data to a file. The file will be created if it does not exist.
-     * Note: the data is written with platform encoding
+     * Note: the data is written with platform encoding.
      *
      * @param fileName the path of the file to write
      * @param data     the content to write to the file
@@ -679,11 +679,11 @@ public class FileUtils {
      *
      * @param source               an existing <code>File</code> to copy
      * @param destinationDirectory a directory to copy <code>source</code> into
-     * @throws java.io.FileNotFoundException if <code>source</code> isn't a normal file
      * @throws IllegalArgumentException      if <code>destinationDirectory</code> isn't a directory
      * @throws IOException                   if <code>source</code> does not exist, the file in
      *                                       <code>destinationDirectory</code> cannot be written to, or an IO error
      *                                       occurs during copying
+     * @throws java.io.FileNotFoundException if <code>source</code> isn't a normal file
      * @deprecated use {@code org.apache.commons.io.FileUtils.copyFileToDirectory()}
      */
     @Deprecated
@@ -704,11 +704,11 @@ public class FileUtils {
      *
      * @param source               an existing <code>File</code> to copy
      * @param destinationDirectory a directory to copy <code>source</code> into
-     * @throws java.io.FileNotFoundException if <code>source</code> isn't a normal file
      * @throws IllegalArgumentException      if <code>destinationDirectory</code> isn't a directory
      * @throws IOException                   if <code>source</code> does not exist, the file in
      *                                       <code>destinationDirectory</code> cannot be written to, or an IO error
      *                                       occurs during copying
+     * @throws java.io.FileNotFoundException if <code>source</code> isn't a normal file
      */
     private static void copyFileToDirectoryIfModified(
             @Nonnull final File source, @Nonnull final File destinationDirectory) throws IOException {
@@ -794,12 +794,12 @@ public class FileUtils {
      * The directories up to <code>destination</code> will be created if they don't already exist.
      * <code>destination</code> will be overwritten if it already exists.
      *
-     * @param source      An existing non-directory <code>File</code> to copy bytes from.
-     * @param destination A non-directory <code>File</code> to write bytes to (possibly
-     *                    overwriting).
+     * @param source      an existing non-directory <code>File</code> to copy bytes from
+     * @param destination a non-directory <code>File</code> to write bytes to (possibly
+     *                    overwriting)
      * @return true if no problem occurred
      * @throws IOException if <code>source</code> does not exist, <code>destination</code> cannot be
-     *                     written to, or an IO error occurs during copying.
+     *                     written to, or an IO error occurs during copying
      */
     private static boolean copyFileIfModified(@Nonnull final File source, @Nonnull final File destination)
             throws IOException {
@@ -1094,8 +1094,8 @@ public class FileUtils {
      * Make a directory.
      *
      * @param file not null
+     * @throws IllegalArgumentException if the file contains illegal Windows characters under Windows OS
      * @throws IOException if a file already exists with the specified name or the directory is unable to be created
-     * @throws IllegalArgumentException if the file contains illegal Windows characters under Windows OS.
      * @see #INVALID_CHARACTERS_FOR_WINDOWS_FILE_NAME
      * @deprecated use {@code org.apache.commons.io.FileUtils.forceMkdir()}
      */
@@ -1260,8 +1260,8 @@ public class FileUtils {
      * @param includes  the Ant includes pattern, comma separated
      * @param excludes  the Ant excludes pattern, comma separated
      * @return a list of File objects
-     * @see #getFileNames(File, String, String, boolean)
      * @throws IOException never
+     * @see #getFileNames(File, String, String, boolean)
      */
     @Nonnull
     public static List<File> getFiles(@Nonnull File directory, @Nullable String includes, @Nullable String excludes)
@@ -1480,8 +1480,8 @@ public class FileUtils {
      *
      * @param sourceDirectory      the source directory
      * @param destinationDirectory the target directory
-     * @param includes             Ant include pattern
-     * @param excludes             Ant exclude pattern
+     * @param includes             ant include pattern
+     * @param excludes             ant exclude pattern
      * @throws IOException if the source is a file or cannot be copied
      * @see #getFiles(File, String, String)
      * @deprecated use {@code org.apache.commons.io.FileUtils.copyDirectory()}
@@ -1641,7 +1641,7 @@ public class FileUtils {
      * @param suffix    file extension; include the '.'
      * @param parentDir directory to create the temporary file in <code>-java.io.tmpdir</code>
      *                  used if not specified
-     * @return a File reference to the new temporary file.
+     * @return a File reference to the new temporary file
      * @deprecated use {@code java.nio.Files.createTempFile()}
      */
     @Deprecated
@@ -1808,8 +1808,8 @@ public class FileUtils {
      * Note that permissions are copied on a best-efforts basis,
      * failure to copy permissions will not result in an exception.
      *
-     * @param source the file to copy permissions from.
-     * @param destination the file to copy permissions to.
+     * @param source the file to copy permissions from
+     * @param destination the file to copy permissions to
      */
     private static void copyFilePermissions(@Nonnull File source, @Nonnull File destination) throws IOException {
         try {
@@ -1852,8 +1852,9 @@ public class FileUtils {
 
     /**
      * Returns the named charset or the default charset.
+     *
      * @param encoding the name or alias of the charset, null or empty
-     * @return A charset object for the named or default charset.
+     * @return a charset object for the named or default charset
      */
     private static Charset charset(String encoding) {
         if (encoding == null || encoding.isEmpty()) {
@@ -1869,7 +1870,7 @@ public class FileUtils {
      *
      * @param f not null file
      * @return <code>false</code> if the file path contains any of forbidden Windows characters,
-     * <code>true</code> if the Os is not Windows or if the file path respect the Windows constraints.
+     * <code>true</code> if the Os is not Windows or if the file path respect the Windows constraints
      * @see #INVALID_CHARACTERS_FOR_WINDOWS_FILE_NAME
      */
     private static boolean isValidWindowsFileName(@Nonnull File f) {
@@ -1890,8 +1891,8 @@ public class FileUtils {
      * Checks whether a given file is a symbolic link.
      *
      * @param file the file to check
-     * @throws IOException in case of failure.
-     * @return true if symbolic link false otherwise.
+     * @return true if symbolic link false otherwise
+     * @throws IOException in case of failure
      * @deprecated use {@code java.nio.file.Files.isSymbolicLink(file.toPath())}
      */
     @Deprecated
@@ -1904,7 +1905,6 @@ public class FileUtils {
      *
      * @param file the file to check
      * @return true if and only if we reliably can say this is a symlink
-     *
      * @throws IOException in case of failure
      * @deprecated use {@code java.nio.file.Files.isSymbolicLink(file.toPath())}
      */
diff --git a/src/main/java/org/apache/maven/shared/utils/io/IOUtil.java b/src/main/java/org/apache/maven/shared/utils/io/IOUtil.java
index bb90a27..3b51ffa 100644
--- a/src/main/java/org/apache/maven/shared/utils/io/IOUtil.java
+++ b/src/main/java/org/apache/maven/shared/utils/io/IOUtil.java
@@ -78,7 +78,6 @@ import java.nio.channels.Channel;
  * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  * @author <a href="mailto:jefft@apache.org">Jeff Turner</a>
  * @version CVS $Revision$ $Date$
- *
  */
 public final class IOUtil
 /*
@@ -164,7 +163,7 @@ public final class IOUtil
      *
      * @param input the reader to read from
      * @param output the writer to write to
-     * @throws IOException in case of failure     * @deprecated use {@code org.apache.commons.io.IOUtils.copy()}.
+     * @throws IOException in case of failure     * @deprecated use {@code org.apache.commons.io.IOUtils.copy()}
      */
     @Deprecated
     public static void copy(@Nonnull final Reader input, @Nonnull final Writer output) throws IOException {
@@ -338,7 +337,7 @@ public final class IOUtil
      *                   <a href="https://www.iana.org/assignments/character-sets">IANA
      *                   Charset Registry</a> for a list of valid encoding types.
      * @param bufferSize size of internal buffer
-     * @return The converted string.
+     * @return the converted string
      * @throws IOException in case of failure
      * @deprecated use {@code org.apache.commons.io.IOUtils.toString()}.
      */
@@ -358,7 +357,7 @@ public final class IOUtil
      * Get the contents of an <code>InputStream</code> as a <code>byte[]</code>.
      *
      * @param input the InputStream to read from
-     * @return the resulting byte array.
+     * @return the resulting byte array
      * @throws IOException in case of failure
      * @deprecated use {@code org.apache.commons.io.IOUtils.readFully()}.
      */
@@ -373,7 +372,7 @@ public final class IOUtil
      *
      * @param input the InputStream to read from
      * @param bufferSize size of internal buffer
-     * @return the resulting byte array.
+     * @return the resulting byte array
      * @throws IOException in case of failure
      * @deprecated use {@code org.apache.commons.io.IOUtils.readFully()}.
      */
@@ -432,8 +431,9 @@ public final class IOUtil
 
     /**
      * Get the contents of a <code>Reader</code> as a String.
+     *
      * @param input the InputStream to read from
-     * @return The converted string.
+     * @return the converted string
      * @throws IOException in case of failure
      * @deprecated use {@code org.apache.commons.io.IOUtils.toString()}.
      */
@@ -448,7 +448,7 @@ public final class IOUtil
      *
      * @param input the reader to read from
      * @param bufferSize size of internal buffer
-     * @return the resulting byte array.
+     * @return the resulting byte array
      * @throws IOException in case of failure
      * @deprecated use {@code org.apache.commons.io.IOUtils.toString()}.
      */
@@ -467,7 +467,7 @@ public final class IOUtil
      * Get the contents of a <code>Reader</code> as a <code>byte[]</code>.
      *
      * @param input the InputStream to read from
-     * @return the resulting byte array.
+     * @return the resulting byte array
      * @throws IOException in case of failure
      * @deprecated always specify a character encoding
      */
@@ -482,7 +482,7 @@ public final class IOUtil
      *
      * @param input the InputStream to read from
      * @param bufferSize size of internal buffer
-     * @return the resulting byte array.
+     * @return the resulting byte array
      * @throws IOException in case of failure
      * @deprecated always specify a character encoding
      */
@@ -505,6 +505,7 @@ public final class IOUtil
     /**
      * Serialize chars from a <code>String</code> to bytes on an <code>OutputStream</code>, and
      * flush the <code>OutputStream</code>.
+     *
      * @param input the InputStream to read from
      * @param output the output to write to
      * @throws IOException in case of failure
@@ -654,7 +655,7 @@ public final class IOUtil
      *                   <a href="https://www.iana.org/assignments/character-sets">IANA
      *                   Charset Registry</a> for a list of valid encoding types.
      * @param input the input bytes
-     * @param output The output buffer {@link Writer}
+     * @param output the output buffer {@link Writer}
      * @param bufferSize size of internal buffer
      * @throws IOException in case of failure
      * @deprecated use {@code org.apache.commons.io.IOUtils.write()}.
@@ -676,6 +677,7 @@ public final class IOUtil
     /**
      * Get the contents of a <code>byte[]</code> as a String.
      * The platform's default encoding is used for the byte-to-char conversion.
+     *
      * @param input the input bytes
      * @return the resulting string
      * @throws IOException in case of failure
@@ -749,7 +751,7 @@ public final class IOUtil
     /**
      * Copy bytes from a <code>byte[]</code> to an <code>OutputStream</code>.
      *
-     * @param input Input byte array.
+     * @param input input byte array
      * @param output output stream {@link OutputStream}
      * @throws IOException in case of failure
      * @deprecated inline this method
@@ -878,7 +880,7 @@ public final class IOUtil
      * }
      * </pre>
      *
-     * @param channel The channel to close or {@code null}.
+     * @param channel the channel to close or {@code null}
      * @deprecated use try-with-resources
      */
     @Deprecated
@@ -979,7 +981,7 @@ public final class IOUtil
      * }
      * </pre>
      *
-     * @param inputStream The stream to close or {@code null}.
+     * @param inputStream the stream to close or {@code null}
      * @deprecated use try-with-resources
      */
     @Deprecated
@@ -1080,7 +1082,7 @@ public final class IOUtil
      * }
      * </pre>
      *
-     * @param outputStream The stream to close or {@code null}.
+     * @param outputStream the stream to close or {@code null}
      * @deprecated use try-with-resources
      */
     @Deprecated
@@ -1181,7 +1183,7 @@ public final class IOUtil
      * }
      * </pre>
      *
-     * @param reader The reader to close or {@code null}.
+     * @param reader the reader to close or {@code null}
      * @deprecated use try-with-resources
      */
     @Deprecated
@@ -1282,7 +1284,7 @@ public final class IOUtil
      * }
      * </pre>
      *
-     * @param writer The writer to close or {@code null}.
+     * @param writer the writer to close or {@code null}
      * @deprecated use try-with-resources
      */
     @Deprecated
diff --git a/src/main/java/org/apache/maven/shared/utils/io/Java7Support.java b/src/main/java/org/apache/maven/shared/utils/io/Java7Support.java
index 1aa87d8..1a51637 100644
--- a/src/main/java/org/apache/maven/shared/utils/io/Java7Support.java
+++ b/src/main/java/org/apache/maven/shared/utils/io/Java7Support.java
@@ -25,26 +25,25 @@ import java.io.IOException;
 import java.nio.file.Files;
 
 /**
- * Java7 feature detection
+ * Java7 feature detection.
  *
  * @author Kristian Rosenvold
- *
  * @deprecated no longer needed, prefer to use {@link java.nio.file.Files} methods directly.
  */
 @Deprecated
 public class Java7Support {
     /**
-     * @param file The file to check for being a symbolic link.
-     * @return true if the file is a symlink false otherwise.
+     * @param file the file to check for being a symbolic link
+     * @return true if the file is a symlink false otherwise
      */
     public static boolean isSymLink(@Nonnull File file) {
         return Files.isSymbolicLink(file.toPath());
     }
 
     /**
-     * @param symlink The sym link.
-     * @return The file.
-     * @throws IOException in case of error.
+     * @param symlink the sym link
+     * @return the file
+     * @throws IOException in case of error
      */
     @Nonnull
     public static File readSymbolicLink(@Nonnull File symlink) throws IOException {
@@ -52,19 +51,19 @@ public class Java7Support {
     }
 
     /**
-     * @param file The file to check.
-     * @return true if exist false otherwise.
-     * @throws IOException in case of failure.
+     * @param file the file to check
+     * @return true if exist false otherwise
+     * @throws IOException in case of failure
      */
     public static boolean exists(@Nonnull File file) throws IOException {
         return Files.exists(file.toPath());
     }
 
     /**
-     * @param symlink The link name.
-     * @param target The target.
-     * @return The linked file.
-     * @throws IOException in case of an error.
+     * @param symlink the link name
+     * @param target the target
+     * @return the linked file
+     * @throws IOException in case of an error
      */
     @Nonnull
     public static File createSymbolicLink(@Nonnull File symlink, @Nonnull File target) throws IOException {
@@ -72,23 +71,24 @@ public class Java7Support {
     }
 
     /**
-     * Performs a nio delete
+     * Performs a nio delete.
+     *
      * @param file the file to delete
-     * @throws IOException in case of error.
+     * @throws IOException in case of error
      */
     public static void delete(@Nonnull File file) throws IOException {
         Files.delete(file.toPath());
     }
 
     /**
-     * @return true in case of Java 7.
+     * @return true in case of Java 7
      */
     public static boolean isJava7() {
         return true;
     }
 
     /**
-     * @return true in case of Java7 or greater.
+     * @return true in case of Java7 or greater
      */
     public static boolean isAtLeastJava7() {
         return true;
diff --git a/src/main/java/org/apache/maven/shared/utils/io/MatchPattern.java b/src/main/java/org/apache/maven/shared/utils/io/MatchPattern.java
index 75ad557..1e8f417 100644
--- a/src/main/java/org/apache/maven/shared/utils/io/MatchPattern.java
+++ b/src/main/java/org/apache/maven/shared/utils/io/MatchPattern.java
@@ -63,9 +63,9 @@ public class MatchPattern {
     }
 
     /**
-     * @param str The string to match for.
-     * @param isCaseSensitive case sensitive true false otherwise.
-     * @return true if matches false otherwise.
+     * @param str the string to match for
+     * @param isCaseSensitive case sensitive true false otherwise
+     * @return true if matches false otherwise
      */
     public boolean matchPath(String str, boolean isCaseSensitive) {
         if (regexPattern != null) {
@@ -84,9 +84,9 @@ public class MatchPattern {
     }
 
     /**
-     * @param str The string to check.
-     * @param isCaseSensitive Check case sensitive or not.
-     * @return true in case of matching pattern.
+     * @param str the string to check
+     * @param isCaseSensitive check case sensitive or not
+     * @return true in case of matching pattern
      */
     public boolean matchPatternStart(@Nonnull String str, boolean isCaseSensitive) {
         if (regexPattern != null) {
@@ -102,15 +102,15 @@ public class MatchPattern {
     }
 
     /**
-     * @return Tokenized string.
+     * @return tokenized string
      */
     public String[] getTokenizedPathString() {
         return tokenized;
     }
 
     /**
-     * @param string The part which will be checked to start with.
-     * @return true in case of starting with the string false otherwise.
+     * @param string the part which will be checked to start with
+     * @return true in case of starting with the string false otherwise
      */
     public boolean startsWith(String string) {
         return source.startsWith(string);
@@ -126,8 +126,8 @@ public class MatchPattern {
     }
 
     /**
-     * @param source The source.
-     * @return The match pattern.
+     * @param source the source
+     * @return the match pattern
      */
     public static MatchPattern fromString(String source) {
         return new MatchPattern(source, File.separator);
diff --git a/src/main/java/org/apache/maven/shared/utils/io/MatchPatterns.java b/src/main/java/org/apache/maven/shared/utils/io/MatchPatterns.java
index f083aa5..f14b081 100644
--- a/src/main/java/org/apache/maven/shared/utils/io/MatchPatterns.java
+++ b/src/main/java/org/apache/maven/shared/utils/io/MatchPatterns.java
@@ -23,7 +23,7 @@ import javax.annotation.Nonnull;
 import java.io.File;
 
 /**
- * A list of patterns to be matched
+ * A list of patterns to be matched.
  *
  * @author Kristian Rosenvold
  * @deprecated use {@code java.nio.file.DirectoryStream.Filter<T>} and related classes
@@ -40,8 +40,8 @@ public class MatchPatterns {
      * <p>Checks these MatchPatterns against a specified string.</p>
      * <p>Uses far less string tokenization than any of the alternatives.</p>
      *
-     * @param name            The name to look for
-     * @param isCaseSensitive If the comparison is case sensitive
+     * @param name            the name to look for
+     * @param isCaseSensitive if the comparison is case sensitive
      * @return true if any of the supplied patterns match
      */
     public boolean matches(@Nonnull String name, boolean isCaseSensitive) {
@@ -55,9 +55,9 @@ public class MatchPatterns {
     }
 
     /**
-     * @param name The name.
-     * @param isCaseSensitive being case sensetive.
-     * @return true if any of the supplied patterns match start.
+     * @param name the name
+     * @param isCaseSensitive being case sensetive
+     * @return true if any of the supplied patterns match start
      */
     public boolean matchesPatternStart(@Nonnull String name, boolean isCaseSensitive) {
         for (MatchPattern includesPattern : patterns) {
@@ -69,8 +69,8 @@ public class MatchPatterns {
     }
 
     /**
-     * @param sources The sources
-     * @return Converted match patterns.
+     * @param sources the sources
+     * @return converted match patterns
      */
     public static MatchPatterns from(@Nonnull String... sources) {
         final int length = sources.length;
diff --git a/src/main/java/org/apache/maven/shared/utils/io/ScanConductor.java b/src/main/java/org/apache/maven/shared/utils/io/ScanConductor.java
index b2213ec..3fbe1cd 100644
--- a/src/main/java/org/apache/maven/shared/utils/io/ScanConductor.java
+++ b/src/main/java/org/apache/maven/shared/utils/io/ScanConductor.java
@@ -30,14 +30,10 @@ import java.io.File;
  * cleaned between two scan() invocations.</p>
  *
  * @author <a href="mailto:struberg@apache.org">Mark Struberg</a>
- *
  * @deprecated use {@code java.nio.file.Files.walkFileTree()} and related classes
  */
 @Deprecated
 public interface ScanConductor {
-    /**
-     *
-     */
     enum ScanAction {
         /**
          * Abort the whole scanning process. The current file will not
@@ -69,7 +65,7 @@ public interface ScanConductor {
      * This method will get invoked for every detected directory.
      *
      * @param name      the directory name (contains parent folders up to the pwd)
-     * @param directory The directory.
+     * @param directory the directory
      * @return the ScanAction to control how to proceed with the scanning
      */
     ScanAction visitDirectory(String name, File directory);
@@ -78,7 +74,7 @@ public interface ScanConductor {
      * This method will get invoked for every detected file.
      *
      * @param name the file name (contains parent folders up to the pwd)
-     * @param file The file.
+     * @param file the file
      * @return the ScanAction to control how to proceed with the scanning
      */
     ScanAction visitFile(String name, File file);
diff --git a/src/main/java/org/apache/maven/shared/utils/io/SelectorUtils.java b/src/main/java/org/apache/maven/shared/utils/io/SelectorUtils.java
index 007d292..8dac566 100644
--- a/src/main/java/org/apache/maven/shared/utils/io/SelectorUtils.java
+++ b/src/main/java/org/apache/maven/shared/utils/io/SelectorUtils.java
@@ -37,7 +37,6 @@ import java.util.StringTokenizer;
  *         <a href="mailto:ajkuiper@wxs.nl">ajkuiper@wxs.nl</a>
  * @author Magesh Umasankar
  * @author <a href="mailto:bruce@callenish.com">Bruce Atherton</a>
- *
  * @deprecated use {@code java.nio.file.Files.walkFileTree()} and related classes
  */
 @Deprecated
@@ -64,7 +63,7 @@ public final class SelectorUtils {
     public static final String ANT_HANDLER_PREFIX = "%ant" + PATTERN_HANDLER_PREFIX;
 
     /**
-     * Private Constructor
+     * Private Constructor.
      */
     private SelectorUtils() {}
 
@@ -76,12 +75,12 @@ public final class SelectorUtils {
      * can live with false positives. For example, <code>pattern=**\a</code>
      * and <code>str=b</code> will yield <code>true</code>.</p>
      *
-     * @param pattern The pattern to match against. Must not be
+     * @param pattern the pattern to match against. Must not be
      *                <code>null</code>.
-     * @param str     The path to match, as a String. Must not be
+     * @param str     the path to match, as a String. Must not be
      *                <code>null</code>.
      * @return whether or not a given path matches the start of a given
-     *         pattern up to the first "**".
+     *         pattern up to the first "**"
      */
     public static boolean matchPatternStart(String pattern, String str) {
         return matchPatternStart(pattern, str, true);
@@ -94,14 +93,14 @@ public final class SelectorUtils {
      * can live with false positives. For example, <code>pattern=**\a</code>
      * and <code>str=b</code> will yield <code>true</code>.</p>
      *
-     * @param pattern         The pattern to match against. Must not be
+     * @param pattern         the pattern to match against. Must not be
      *                        <code>null</code>.
-     * @param str             The path to match, as a String. Must not be
+     * @param str             the path to match, as a String. Must not be
      *                        <code>null</code>.
-     * @param isCaseSensitive Whether or not matching should be performed
-     *                        case sensitively.
+     * @param isCaseSensitive whether or not matching should be performed
+     *                        case sensitively
      * @return whether or not a given path matches the start of a given
-     *         pattern up to the first "**".
+     *         pattern up to the first "**"
      */
     public static boolean matchPatternStart(String pattern, String str, boolean isCaseSensitive) {
         if (isRegexPrefixedPattern(pattern)) {
@@ -158,12 +157,12 @@ public final class SelectorUtils {
     /**
      * Tests whether or not a given path matches a given pattern.
      *
-     * @param pattern The pattern to match against. Must not be
+     * @param pattern the pattern to match against. Must not be
      *                <code>null</code>.
-     * @param str     The path to match, as a String. Must not be
+     * @param str     the path to match, as a String. Must not be
      *                <code>null</code>.
      * @return <code>true</code> if the pattern matches against the string,
-     *         or <code>false</code> otherwise.
+     *         or <code>false</code> otherwise
      */
     public static boolean matchPath(String pattern, String str) {
         return matchPath(pattern, str, true);
@@ -172,14 +171,14 @@ public final class SelectorUtils {
     /**
      * Tests whether or not a given path matches a given pattern.
      *
-     * @param pattern         The pattern to match against. Must not be
+     * @param pattern         the pattern to match against. Must not be
      *                        <code>null</code>.
-     * @param str             The path to match, as a String. Must not be
+     * @param str             the path to match, as a String. Must not be
      *                        <code>null</code>.
-     * @param isCaseSensitive Whether or not matching should be performed
-     *                        case sensitively.
+     * @param isCaseSensitive whether or not matching should be performed
+     *                        case sensitively
      * @return <code>true</code> if the pattern matches against the string,
-     *         or <code>false</code> otherwise.
+     *         or <code>false</code> otherwise
      */
     public static boolean matchPath(String pattern, String str, boolean isCaseSensitive) {
         if (pattern.length() > (REGEX_HANDLER_PREFIX.length() + PATTERN_HANDLER_SUFFIX.length() + 1)
@@ -320,14 +319,14 @@ public final class SelectorUtils {
      * Tests whether or not a string matches against a pattern.
      * The pattern may contain two special characters:<br>
      * '*' means zero or more characters<br>
-     * '?' means one and only one character
+     * '?' means one and only one character.
      *
-     * @param pattern The pattern to match against.
+     * @param pattern the pattern to match against.
      *                Must not be <code>null</code>.
-     * @param str     The string which must be matched against the pattern.
+     * @param str     the string which must be matched against the pattern.
      *                Must not be <code>null</code>.
      * @return <code>true</code> if the string matches against the pattern,
-     *         or <code>false</code> otherwise.
+     *         or <code>false</code> otherwise
      */
     public static boolean match(String pattern, String str) {
         return match(pattern, str, true);
@@ -337,16 +336,16 @@ public final class SelectorUtils {
      * Tests whether or not a string matches against a pattern.
      * The pattern may contain two special characters:<br>
      * '*' means zero or more characters<br>
-     * '?' means one and only one character
+     * '?' means one and only one character.
      *
-     * @param pattern         The pattern to match against.
+     * @param pattern         the pattern to match against.
      *                        Must not be <code>null</code>.
-     * @param str             The string which must be matched against the pattern.
+     * @param str             the string which must be matched against the pattern.
      *                        Must not be <code>null</code>.
-     * @param isCaseSensitive Whether or not matching should be performed
-     *                        case sensitively.
+     * @param isCaseSensitive whether or not matching should be performed
+     *                        case sensitively
      * @return <code>true</code> if the string matches against the pattern,
-     *         or <code>false</code> otherwise.
+     *         or <code>false</code> otherwise
      */
     public static boolean match(String pattern, String str, boolean isCaseSensitive) {
         char[] patArr = pattern.toCharArray();
@@ -499,8 +498,8 @@ public final class SelectorUtils {
      * Breaks a path up into a List of path elements, tokenizing on
      * <code>File.separator</code>.
      *
-     * @param path Path to tokenize. Must not be <code>null</code>.
-     * @param separator The separator to use
+     * @param path path to tokenize. Must not be <code>null</code>.
+     * @param separator the separator to use
      * @return a List of path elements from the tokenized path
      */
     private static List<String> tokenizePath(String path, String separator) {
diff --git a/src/main/java/org/apache/maven/shared/utils/io/WalkCollector.java b/src/main/java/org/apache/maven/shared/utils/io/WalkCollector.java
index 9f671f4..508fb7c 100644
--- a/src/main/java/org/apache/maven/shared/utils/io/WalkCollector.java
+++ b/src/main/java/org/apache/maven/shared/utils/io/WalkCollector.java
@@ -50,25 +50,33 @@ public class WalkCollector implements DirectoryWalkListener {
         percentageHigh = 0;
     }
 
-    /** {@inheritDoc} */
+    /**
+     * {@inheritDoc}
+     */
     public void debug(String message) {
         // can be used to set some message
     }
 
-    /** {@inheritDoc} */
+    /**
+     * {@inheritDoc}
+     */
     public void directoryWalkStarting(File basedir) {
         startingDir = basedir;
         startCount++;
     }
 
-    /** {@inheritDoc} */
+    /**
+     * {@inheritDoc}
+     */
     public void directoryWalkStep(int percentage, File file) {
         steps.add(file);
         percentageLow = Math.min(percentageLow, percentage);
         percentageHigh = Math.max(percentageHigh, percentage);
     }
 
-    /** {@inheritDoc} */
+    /**
+     * {@inheritDoc}
+     */
     public void directoryWalkFinished() {
         finishCount++;
     }
diff --git a/src/main/java/org/apache/maven/shared/utils/logging/LoggerLevelRenderer.java b/src/main/java/org/apache/maven/shared/utils/logging/LoggerLevelRenderer.java
index 829487f..410301c 100644
--- a/src/main/java/org/apache/maven/shared/utils/logging/LoggerLevelRenderer.java
+++ b/src/main/java/org/apache/maven/shared/utils/logging/LoggerLevelRenderer.java
@@ -27,29 +27,33 @@ package org.apache.maven.shared.utils.logging;
 public interface LoggerLevelRenderer {
     /**
      * Render a message at DEBUG level.
-     * @param message the message to render.
-     * @return the formatted message.
+     *
+     * @param message the message to render
+     * @return the formatted message
      */
     String debug(String message);
 
     /**
      * Render a message at INFO level.
-     * @param message the message to render.
-     * @return the formatted message.
+     *
+     * @param message the message to render
+     * @return the formatted message
      */
     String info(String message);
 
     /**
      * Render a message at WARNING level.
-     * @param message the message to render.
-     * @return the formatted message.
+     *
+     * @param message the message to render
+     * @return the formatted message
      */
     String warning(String message);
 
     /**
      * Render a message at ERROR level.
-     * @param message the message to render.
-     * @return the formatted message.
+     *
+     * @param message the message to render
+     * @return the formatted message
      */
     String error(String message);
 }
diff --git a/src/main/java/org/apache/maven/shared/utils/logging/MessageBuilder.java b/src/main/java/org/apache/maven/shared/utils/logging/MessageBuilder.java
index fa1c07b..4ff6c9e 100644
--- a/src/main/java/org/apache/maven/shared/utils/logging/MessageBuilder.java
+++ b/src/main/java/org/apache/maven/shared/utils/logging/MessageBuilder.java
@@ -32,7 +32,8 @@ import java.util.Formatter;
 public interface MessageBuilder {
     /**
      * Append message content in success style.
-     * By default, bold green
+     * By default, bold green.
+     *
      * @param message the message to append
      * @return the current builder
      */
@@ -40,7 +41,8 @@ public interface MessageBuilder {
 
     /**
      * Append message content in warning style.
-     * By default, bold yellow
+     * By default, bold yellow.
+     *
      * @param message the message to append
      * @return the current builder
      */
@@ -48,7 +50,8 @@ public interface MessageBuilder {
 
     /**
      * Append message content in failure style.
-     * By default, bold red
+     * By default, bold red.
+     *
      * @param message the message to append
      * @return the current builder
      */
@@ -56,7 +59,8 @@ public interface MessageBuilder {
 
     /**
      * Append message content in strong style.
-     * By default, bold
+     * By default, bold.
+     *
      * @param message the message to append
      * @return the current builder
      */
@@ -64,7 +68,8 @@ public interface MessageBuilder {
 
     /**
      * Append message content in mojo style.
-     * By default, green
+     * By default, green.
+     *
      * @param message the message to append
      * @return the current builder
      */
@@ -72,7 +77,8 @@ public interface MessageBuilder {
 
     /**
      * Append message content in project style.
-     * By default, cyan
+     * By default, cyan.
+     *
      * @param message the message to append
      * @return the current builder
      */
@@ -83,6 +89,7 @@ public interface MessageBuilder {
     //
     /**
      * Append content to the message buffer.
+     *
      * @param value the content to append
      * @param offset the index of the first {@code char} to append
      * @param len the number of {@code char}s to append
@@ -92,6 +99,7 @@ public interface MessageBuilder {
 
     /**
      * Append content to the message buffer.
+     *
      * @param value the content to append
      * @return the current builder
      */
@@ -99,6 +107,7 @@ public interface MessageBuilder {
 
     /**
      * Append content to the message buffer.
+     *
      * @param value the content to append
      * @param start the starting index of the subsequence to be appended
      * @param end the end index of the subsequence to be appended
@@ -108,6 +117,7 @@ public interface MessageBuilder {
 
     /**
      * Append content to the message buffer.
+     *
      * @param value the content to append
      * @return the current builder
      */
@@ -115,6 +125,7 @@ public interface MessageBuilder {
 
     /**
      * Append content to the message buffer.
+     *
      * @param value the content to append
      * @return the current builder
      */
@@ -122,16 +133,18 @@ public interface MessageBuilder {
 
     /**
      * Append newline to the message buffer.
+     *
      * @return the current builder
      */
     MessageBuilder newline();
 
     /**
      * Append formatted content to the buffer.
-     * @see String#format(String, Object...)
+     *
      * @param pattern a format string according to the {@link Formatter} syntax
-     * @param args arguments referenced by the format specifiers in the format string.
+     * @param args arguments referenced by the format specifiers in the format string
      * @return the current builder
+     * @see String#format(String, Object...)
      */
     MessageBuilder format(String pattern, Object... args);
 
@@ -139,6 +152,7 @@ public interface MessageBuilder {
      * Get the message constructed by this builder.
      * The underlying buffer is not reset with this method, i.e. if you continue using this builder you just
      * append content to the existing one.
+     *
      * @return the message
      * @since 4.0.0
      */
@@ -146,6 +160,7 @@ public interface MessageBuilder {
 
     /**
      * Same as {@link MessageBuilder#build()}.
+     *
      * @deprecated Rather use {@link MessageBuilder#build()}
      */
     @Deprecated
diff --git a/src/main/java/org/apache/maven/shared/utils/logging/MessageUtils.java b/src/main/java/org/apache/maven/shared/utils/logging/MessageUtils.java
index 7f2f4be..204baef 100644
--- a/src/main/java/org/apache/maven/shared/utils/logging/MessageUtils.java
+++ b/src/main/java/org/apache/maven/shared/utils/logging/MessageUtils.java
@@ -28,15 +28,16 @@ import org.fusesource.jansi.AnsiMode;
  * <p>
  * Internally, <a href="http://fusesource.github.io/jansi/">Jansi</a> is used to render
  * <a href="https://en.wikipedia.org/wiki/ANSI_escape_code#Colors">ANSI colors</a> on any platform.
+ *
  * @since 3.1.0
  */
 public class MessageUtils {
     private static final boolean JANSI;
 
-    /** Reference to the JVM shutdown hook, if registered */
+    /** Reference to the JVM shutdown hook, if registered. */
     private static Thread shutdownHook;
 
-    /** Synchronization monitor for the "uninstall" */
+    /** Synchronization monitor for the "uninstall". */
     private static final Object STARTUP_SHUTDOWN_MONITOR = new Object();
 
     static {
@@ -88,6 +89,7 @@ public class MessageUtils {
 
     /**
      * Enables message color (if Jansi is available).
+     *
      * @param flag to enable Jansi
      */
     public static void setColorEnabled(boolean flag) {
@@ -108,6 +110,7 @@ public class MessageUtils {
 
     /**
      * Is message color enabled: requires Jansi available (through Maven) and the color has not been disabled.
+     *
      * @return whether colored messages are enabled
      */
     public static boolean isColorEnabled() {
@@ -116,6 +119,7 @@ public class MessageUtils {
 
     /**
      * Create a default message buffer.
+     *
      * @return a new buffer
      */
     public static MessageBuilder buffer() {
@@ -124,6 +128,7 @@ public class MessageUtils {
 
     /**
      * Create a message buffer with defined String builder.
+     *
      * @param builder initial content of the message buffer
      * @return a new buffer
      */
@@ -133,6 +138,7 @@ public class MessageUtils {
 
     /**
      * Create a message buffer with an internal buffer of defined size.
+     *
      * @param size size of the buffer
      * @return a new buffer
      */
@@ -142,6 +148,7 @@ public class MessageUtils {
 
     /**
      * Create a logger level renderer.
+     *
      * @return a logger level renderer
      * @since 3.2.0
      */
@@ -152,6 +159,7 @@ public class MessageUtils {
 
     /**
      * Remove any ANSI code from a message (colors or other escape sequences).
+     *
      * @param msg message eventually containing ANSI codes
      * @return the message with ANSI codes removed
      */
@@ -162,7 +170,7 @@ public class MessageUtils {
     /**
      * Register a shutdown hook with the JVM runtime, uninstalling Ansi support on
      * JVM shutdown unless is has already been uninstalled at that time.
-     * <p>Delegates to {@link #doSystemUninstall()} for the actual uninstall procedure
+     * <p>Delegates to {@link #doSystemUninstall()} for the actual uninstall procedure.
      *
      * @see Runtime#addShutdownHook(Thread)
      * @see MessageUtils#systemUninstall()
diff --git a/src/main/java/org/apache/maven/shared/utils/logging/Style.java b/src/main/java/org/apache/maven/shared/utils/logging/Style.java
index f14b3e0..536c482 100644
--- a/src/main/java/org/apache/maven/shared/utils/logging/Style.java
+++ b/src/main/java/org/apache/maven/shared/utils/logging/Style.java
@@ -25,6 +25,7 @@ import org.fusesource.jansi.Ansi.Color;
 
 /**
  * Configurable message styles.
+ *
  * @since 3.1.0
  */
 enum Style {
diff --git a/src/main/java/org/apache/maven/shared/utils/xml/PrettyPrintXMLWriter.java b/src/main/java/org/apache/maven/shared/utils/xml/PrettyPrintXMLWriter.java
index 7c6ba77..f611d2f 100644
--- a/src/main/java/org/apache/maven/shared/utils/xml/PrettyPrintXMLWriter.java
+++ b/src/main/java/org/apache/maven/shared/utils/xml/PrettyPrintXMLWriter.java
@@ -26,9 +26,9 @@ import java.util.ArrayList;
 /**
  * XMLWriter with nice indentation.
  *
+ * @author kama
  * @deprecated this class swallows and ignores IOExceptions. It is dangerous to use when writing
  *    to anything other than a StringWriter.
- * @author kama
  */
 @Deprecated
 public class PrettyPrintXMLWriter implements XMLWriter {
@@ -68,7 +68,7 @@ public class PrettyPrintXMLWriter implements XMLWriter {
 
     /**
      * @param writer not null
-     * @param lineIndent can be null, but the normal way is some spaces.
+     * @param lineIndent can be null, but the normal way is some spaces
      */
     public PrettyPrintXMLWriter(Writer writer, String lineIndent) {
         this(new PrintWriter(writer), lineIndent);
@@ -128,9 +128,9 @@ public class PrettyPrintXMLWriter implements XMLWriter {
 
     /**
      * @param writer not null
-     * @param lineIndent can be null, but the normal way is some spaces.
+     * @param lineIndent can be null, but the normal way is some spaces
      * @param lineSeparator can be null, but the normal way is valid line separator
-     * @param encoding can be null or the encoding to use.
+     * @param encoding can be null or the encoding to use
      * @param doctype can be null
      */
     public PrettyPrintXMLWriter(
@@ -160,7 +160,9 @@ public class PrettyPrintXMLWriter implements XMLWriter {
         assert !writer.checkError() : "Unexpected error state PrintWriter passed to PrettyPrintXMLWriter.";
     }
 
-    /** {@inheritDoc} */
+    /**
+     * {@inheritDoc}
+     */
     @Override
     public void addAttribute(String key, String value) throws IOException {
         if (!processingElement) {
@@ -176,7 +178,9 @@ public class PrettyPrintXMLWriter implements XMLWriter {
         }
     }
 
-    /** {@inheritDoc} */
+    /**
+     * {@inheritDoc}
+     */
     @Override
     public void setEncoding(String encoding) {
         if (documentStarted) {
@@ -186,7 +190,9 @@ public class PrettyPrintXMLWriter implements XMLWriter {
         this.encoding = encoding;
     }
 
-    /** {@inheritDoc} */
+    /**
+     * {@inheritDoc}
+     */
     @Override
     public void setDocType(String docType) {
         if (documentStarted) {
@@ -218,7 +224,9 @@ public class PrettyPrintXMLWriter implements XMLWriter {
         this.lineIndent = lineIndentParameter.toCharArray();
     }
 
-    /** {@inheritDoc} */
+    /**
+     * {@inheritDoc}
+     */
     @Override
     public void startElement(String elementName) throws IOException {
 
@@ -245,7 +253,9 @@ public class PrettyPrintXMLWriter implements XMLWriter {
         elementStack.add(depth++, elementName);
     }
 
-    /** {@inheritDoc} */
+    /**
+     * {@inheritDoc}
+     */
     @Override
     public void writeText(String text) throws IOException {
         ensureDocumentStarted();
@@ -261,7 +271,9 @@ public class PrettyPrintXMLWriter implements XMLWriter {
         }
     }
 
-    /** {@inheritDoc} */
+    /**
+     * {@inheritDoc}
+     */
     @Override
     public void writeMarkup(String markup) throws IOException {
         ensureDocumentStarted();
@@ -275,7 +287,9 @@ public class PrettyPrintXMLWriter implements XMLWriter {
         }
     }
 
-    /** {@inheritDoc} */
+    /**
+     * {@inheritDoc}
+     */
     @Override
     public void endElement() throws IOException {
         String chars = elementStack.get(--depth);
@@ -305,7 +319,7 @@ public class PrettyPrintXMLWriter implements XMLWriter {
     /**
      * Write the document if not already done.
      *
-     * @return <code>true</code> if the document headers have freshly been written.
+     * @return <code>true</code> if the document headers have freshly been written
      */
     private boolean ensureDocumentStarted() {
         if (!documentStarted) {
diff --git a/src/main/java/org/apache/maven/shared/utils/xml/XMLWriter.java b/src/main/java/org/apache/maven/shared/utils/xml/XMLWriter.java
index 19a1901..89cb34d 100644
--- a/src/main/java/org/apache/maven/shared/utils/xml/XMLWriter.java
+++ b/src/main/java/org/apache/maven/shared/utils/xml/XMLWriter.java
@@ -56,10 +56,10 @@ public interface XMLWriter {
      * Add a XML attribute to the current XML Element.
      * This method must get called immediately after {@link #startElement(String)}.
      *
-     * @param key The key of the attribute.
-     * @param value The value of the attribute.
+     * @param key the key of the attribute
+     * @param value the value of the attribute
      * @throws IllegalStateException if no element tag is currently in process
-     * @throws IOException if adding the attribute fails.
+     * @throws IOException if adding the attribute fails
      */
     void addAttribute(String key, String value) throws IOException;
 
@@ -67,9 +67,9 @@ public interface XMLWriter {
      * Add text to the current element tag.
      * This performs XML escaping to guarantee well-formed content.
      *
-     * @param text The text which should be written.
+     * @param text the text which should be written
      * @throws IllegalStateException if no element tag got started yet
-     * @throws IOException if writing the text fails.
+     * @throws IOException if writing the text fails
      */
     void writeText(String text) throws IOException;
 
@@ -84,8 +84,9 @@ public interface XMLWriter {
 
     /**
      * End the previously opened element.
+     *
+     * @throws IOException if ending the element fails
      * @see #startElement(String)
-     * @throws IOException if ending the element fails.
      */
     void endElement() throws IOException;
 }
diff --git a/src/main/java/org/apache/maven/shared/utils/xml/XmlStreamReader.java b/src/main/java/org/apache/maven/shared/utils/xml/XmlStreamReader.java
index 3eb29cf..708ab08 100644
--- a/src/main/java/org/apache/maven/shared/utils/xml/XmlStreamReader.java
+++ b/src/main/java/org/apache/maven/shared/utils/xml/XmlStreamReader.java
@@ -37,21 +37,21 @@ public class XmlStreamReader extends Reader {
     private static String staticDefaultEncoding = null;
 
     /**
-     * @param encoding define the default encoding.
+     * @param encoding define the default encoding
      */
     public static void setDefaultEncoding(String encoding) {
         staticDefaultEncoding = encoding;
     }
 
     /**
-     * @return the default encoding.
+     * @return the default encoding
      */
     public static String getDefaultEncoding() {
         return staticDefaultEncoding;
     }
 
     /**
-     * @param file The file to create it from.
+     * @param file the file to create it from
      * @throws IOException in case of an error
      */
     public XmlStreamReader(File file) throws IOException {
@@ -84,7 +84,7 @@ public class XmlStreamReader extends Reader {
     }
 
     /**
-     * @param conn The URL connection {@link URLConnection}
+     * @param conn the URL connection {@link URLConnection}
      * @throws IOException in case of error
      */
     public XmlStreamReader(URLConnection conn) throws IOException {
@@ -130,12 +130,16 @@ public class XmlStreamReader extends Reader {
         return reader.getEncoding();
     }
 
-    /** {@inheritDoc} */
+    /**
+     * {@inheritDoc}
+     */
     public int read(char[] buf, int offset, int len) throws IOException {
         return reader.read(buf, offset, len);
     }
 
-    /** {@inheritDoc} */
+    /**
+     * {@inheritDoc}
+     */
     public void close() throws IOException {
         reader.close();
     }
diff --git a/src/main/java/org/apache/maven/shared/utils/xml/XmlStreamWriter.java b/src/main/java/org/apache/maven/shared/utils/xml/XmlStreamWriter.java
index fa5afba..6ed5109 100644
--- a/src/main/java/org/apache/maven/shared/utils/xml/XmlStreamWriter.java
+++ b/src/main/java/org/apache/maven/shared/utils/xml/XmlStreamWriter.java
@@ -35,8 +35,8 @@ public class XmlStreamWriter extends org.apache.commons.io.output.XmlStreamWrite
     }
 
     /**
-     * @param file The file to use.
-     * @throws FileNotFoundException in case of not found file.
+     * @param file the file to use
+     * @throws FileNotFoundException in case of not found file
      */
     public XmlStreamWriter(File file) throws FileNotFoundException {
         super(file);
diff --git a/src/main/java/org/apache/maven/shared/utils/xml/XmlWriterUtil.java b/src/main/java/org/apache/maven/shared/utils/xml/XmlWriterUtil.java
index 7ead8dd..4adb278 100644
--- a/src/main/java/org/apache/maven/shared/utils/xml/XmlWriterUtil.java
+++ b/src/main/java/org/apache/maven/shared/utils/xml/XmlWriterUtil.java
@@ -26,14 +26,13 @@ import org.apache.maven.shared.utils.StringUtils;
  * Utility class for the <code>XmlWriter</code> class.
  *
  * @author <a href="mailto:vincent.siveton@gmail.com">Vincent Siveton</a>
- *
  */
 @Deprecated
 public class XmlWriterUtil {
-    /** The vm line separator */
+    /** The vm line separator. */
     public static final String LS = System.lineSeparator();
 
-    /** Platform independent line separator */
+    /** Platform independent line separator. */
     private static final String CRLF = "\r\n";
 
     /** The default line indenter size i.e. 2. */
@@ -69,11 +68,11 @@ public class XmlWriterUtil {
      * Convenience method to repeat <code>CRLF</code> and to indent the writer by <code>2</code>.
      *
      * @param writer not null
-     * @param repeat The number of repetitions of the indent
+     * @param repeat the number of repetitions of the indent
      * @param indent positive number
+     * @throws IOException if writing fails
      * @see #DEFAULT_INDENTATION_SIZE
      * @see #writeLineBreak(XMLWriter, int, int, int)
-     * @throws IOException if writing fails
      */
     public static void writeLineBreak(XMLWriter writer, int repeat, int indent) throws IOException {
         writeLineBreak(writer, repeat, indent, DEFAULT_INDENTATION_SIZE);
@@ -83,7 +82,7 @@ public class XmlWriterUtil {
      * Convenience method to repeat <code>CRLF</code> and to indent the writer by <code>indentSize</code>.
      *
      * @param writer not null
-     * @param repeat The number of repetitions of the indent
+     * @param repeat the number of repetitions of the indent
      * @param indent positive number
      * @param indentSize positive number
      * @throws IOException if writing fails
@@ -106,9 +105,9 @@ public class XmlWriterUtil {
      * Convenience method to write XML comment line break. Its size is <code>80</code>.
      *
      * @param writer not null
+     * @throws IOException if writing fails
      * @see #DEFAULT_COLUMN_LINE
      * @see #writeCommentLineBreak(XMLWriter, int)
-     * @throws IOException if writing fails
      */
     public static void writeCommentLineBreak(XMLWriter writer) throws IOException {
         writeCommentLineBreak(writer, DEFAULT_COLUMN_LINE);
@@ -134,10 +133,10 @@ public class XmlWriterUtil {
      * <code>80</code>.
      *
      * @param writer not null
-     * @param comment The comment to write
+     * @param comment the comment to write
+     * @throws IOException if writing fails
      * @see #DEFAULT_INDENTATION_SIZE
      * @see #writeComment(XMLWriter, String, int, int)
-     * @throws IOException if writing fails
      */
     public static void writeComment(XMLWriter writer, String comment) throws IOException {
         writeComment(writer, comment, 0, DEFAULT_INDENTATION_SIZE);
@@ -148,11 +147,11 @@ public class XmlWriterUtil {
      * <code>80</code> and is indented by <code>indent</code> using <code>2</code> as indentation size.
      *
      * @param writer not null
-     * @param comment The comment to write
+     * @param comment the comment to write
      * @param indent positive number
+     * @throws IOException if writing fails
      * @see #DEFAULT_INDENTATION_SIZE
      * @see #writeComment(XMLWriter, String, int, int)
-     * @throws IOException if writing fails
      */
     public static void writeComment(XMLWriter writer, String comment, int indent) throws IOException {
         writeComment(writer, comment, indent, DEFAULT_INDENTATION_SIZE);
@@ -163,12 +162,12 @@ public class XmlWriterUtil {
      * and is indented by <code>indent</code> using <code>indentSize</code>.
      *
      * @param writer not null
-     * @param comment The comment to write
+     * @param comment the comment to write
      * @param indent positive number
      * @param indentSize positive number
+     * @throws IOException if writing fails
      * @see #DEFAULT_COLUMN_LINE
      * @see #writeComment(XMLWriter, String, int, int, int)
-     * @throws IOException if writing fails
      */
     public static void writeComment(XMLWriter writer, String comment, int indent, int indentSize) throws IOException {
         writeComment(writer, comment, indent, indentSize, DEFAULT_COLUMN_LINE);
@@ -179,7 +178,7 @@ public class XmlWriterUtil {
      * <code>columnSize</code> and is indented by <code>indent</code> using <code>indentSize</code>.
      *
      * @param writer not null
-     * @param comment The comment to write
+     * @param comment the comment to write
      * @param indent positive number
      * @param indentSize positive number
      * @param columnSize positive number
@@ -248,10 +247,10 @@ public class XmlWriterUtil {
      * The XML comment block is not indented.
      *
      * @param writer not null
-     * @param comment The comment to write
+     * @param comment the comment to write
+     * @throws IOException if writing fails
      * @see #DEFAULT_INDENTATION_SIZE
      * @see #writeCommentText(XMLWriter, String, int, int)
-     * @throws IOException if writing fails
      */
     public static void writeCommentText(XMLWriter writer, String comment) throws IOException {
         writeCommentText(writer, comment, 0, DEFAULT_INDENTATION_SIZE);
@@ -263,11 +262,11 @@ public class XmlWriterUtil {
      * <code>2</code> as indentation size.
      *
      * @param writer not null
-     * @param comment The comment to write
+     * @param comment the comment to write
      * @param indent positive number
+     * @throws IOException if writing fails
      * @see #DEFAULT_INDENTATION_SIZE
      * @see #writeCommentText(XMLWriter, String, int, int)
-     * @throws IOException if writing fails
      */
     public static void writeCommentText(XMLWriter writer, String comment, int indent) throws IOException {
         writeCommentText(writer, comment, indent, DEFAULT_INDENTATION_SIZE);
@@ -278,12 +277,12 @@ public class XmlWriterUtil {
      * The XML comment block is also indented by <code>indent</code> using <code>indentSize</code>.
      *
      * @param writer not null
-     * @param comment The comment to write
+     * @param comment the comment to write
      * @param indent positive number
      * @param indentSize positive number
+     * @throws IOException if writing fails
      * @see #DEFAULT_COLUMN_LINE
      * @see #writeCommentText(XMLWriter, String, int, int, int)
-     * @throws IOException if writing fails
      */
     public static void writeCommentText(XMLWriter writer, String comment, int indent, int indentSize)
             throws IOException {
@@ -296,7 +295,7 @@ public class XmlWriterUtil {
      * The column size could be also be specified.
      *
      * @param writer not null
-     * @param comment The comment to write
+     * @param comment the comment to write
      * @param indent positive number
      * @param indentSize positive number
      * @param columnSize positive number
diff --git a/src/main/java/org/apache/maven/shared/utils/xml/Xpp3Dom.java b/src/main/java/org/apache/maven/shared/utils/xml/Xpp3Dom.java
index 2ba422d..59786fb 100644
--- a/src/main/java/org/apache/maven/shared/utils/xml/Xpp3Dom.java
+++ b/src/main/java/org/apache/maven/shared/utils/xml/Xpp3Dom.java
@@ -88,7 +88,7 @@ public class Xpp3Dom implements Iterable<Xpp3Dom> {
     private static final Xpp3Dom[] EMPTY_DOM_ARRAY = new Xpp3Dom[0];
 
     /**
-     * @param name The name of the instance.
+     * @param name the name of the instance
      */
     public Xpp3Dom(String name) {
         this.name = name;
@@ -98,7 +98,8 @@ public class Xpp3Dom implements Iterable<Xpp3Dom> {
 
     /**
      * Create instance.
-     * @param source The source.
+     *
+     * @param source the source
      */
     public Xpp3Dom(Xpp3Dom source) {
         this(source, source.getName());
@@ -106,8 +107,9 @@ public class Xpp3Dom implements Iterable<Xpp3Dom> {
 
     /**
      * Create instance.
-     * @param src The source Dom.
-     * @param name The name of the Dom.
+     *
+     * @param src the source Dom
+     * @param name the name of the Dom
      */
     public Xpp3Dom(@Nonnull Xpp3Dom src, String name) {
         this.name = name;
@@ -128,14 +130,14 @@ public class Xpp3Dom implements Iterable<Xpp3Dom> {
     }
 
     /**
-     * @return The current name.
+     * @return the current name
      */
     public String getName() {
         return name;
     }
 
     /**
-     * @return The current value.
+     * @return the current value
      */
     @Nonnull
     public String getValue() {
@@ -143,14 +145,14 @@ public class Xpp3Dom implements Iterable<Xpp3Dom> {
     }
 
     /**
-     * @param value The value to be set.
+     * @param value the value to be set
      */
     public void setValue(@Nonnull String value) {
         this.value = value;
     }
 
     /**
-     * @return The array of attribute names.
+     * @return the array of attribute names
      */
     public String[] getAttributeNames() {
         boolean isNothing = attributes == null || attributes.isEmpty();
@@ -158,16 +160,16 @@ public class Xpp3Dom implements Iterable<Xpp3Dom> {
     }
 
     /**
-     * @param nameParameter The name of the attribute.
-     * @return The attribute value.
+     * @param nameParameter the name of the attribute
+     * @return the attribute value
      */
     public String getAttribute(String nameParameter) {
         return this.attributes != null ? this.attributes.get(nameParameter) : null;
     }
 
     /**
-     * @param nameParameter The name of the attribute.
-     * @param valueParameter The value of the attribute.
+     * @param nameParameter the name of the attribute
+     * @param valueParameter the value of the attribute
      */
     public void setAttribute(@Nonnull String nameParameter, @Nonnull String valueParameter) {
         if (valueParameter == null) {
@@ -184,23 +186,23 @@ public class Xpp3Dom implements Iterable<Xpp3Dom> {
     }
 
     /**
-     * @param i The index to be selected.
-     * @return The child selected by index.
+     * @param i the index to be selected
+     * @return the child selected by index
      */
     public Xpp3Dom getChild(int i) {
         return childList.get(i);
     }
 
     /**
-     * @param nameParameter The name of the child.
-     * @return The child selected by name.
+     * @param nameParameter the name of the child
+     * @return the child selected by name
      */
     public Xpp3Dom getChild(String nameParameter) {
         return childMap.get(nameParameter);
     }
 
     /**
-     * @param child The child to be added.
+     * @param child the child to be added
      */
     public void addChild(Xpp3Dom child) {
         child.setParent(this);
@@ -209,7 +211,7 @@ public class Xpp3Dom implements Iterable<Xpp3Dom> {
     }
 
     /**
-     * @return The array of childs.
+     * @return the array of childs
      */
     public Xpp3Dom[] getChildren() {
         boolean isNothing = childList == null || childList.isEmpty();
@@ -222,8 +224,8 @@ public class Xpp3Dom implements Iterable<Xpp3Dom> {
     }
 
     /**
-     * @param nameParameter The name of the child.
-     * @return The array of the Dom.
+     * @param nameParameter the name of the child
+     * @return the array of the Dom
      */
     public Xpp3Dom[] getChildren(String nameParameter) {
         List<Xpp3Dom> children = getChildrenList(nameParameter);
@@ -245,7 +247,7 @@ public class Xpp3Dom implements Iterable<Xpp3Dom> {
     }
 
     /**
-     * @return The number of childs.
+     * @return the number of childs
      */
     public int getChildCount() {
         if (childList == null) {
@@ -256,7 +258,7 @@ public class Xpp3Dom implements Iterable<Xpp3Dom> {
     }
 
     /**
-     * @param i The child to be removed.
+     * @param i the child to be removed
      */
     public void removeChild(int i) {
         Xpp3Dom child = childList.remove(i);
@@ -265,39 +267,41 @@ public class Xpp3Dom implements Iterable<Xpp3Dom> {
     }
 
     /**
-     * @return The current parent.
+     * @return the current parent
      */
     public Xpp3Dom getParent() {
         return parent;
     }
 
     /**
-     * @param parent Set the parent.
+     * @param parent set the parent
      */
     public void setParent(Xpp3Dom parent) {
         this.parent = parent;
     }
 
     /**
-     * @param dominant The dominant part.
-     * @param recessive The recessive part.
-     * @param childMergeOverride true if child merge will take precedence false otherwise.
-     * @return The merged Xpp3Dom.
+     * @param dominant the dominant part
+     * @param recessive the recessive part
+     * @param childMergeOverride true if child merge will take precedence false otherwise
+     * @return the merged Xpp3Dom
      */
     public static Xpp3Dom mergeXpp3Dom(Xpp3Dom dominant, Xpp3Dom recessive, Boolean childMergeOverride) {
         return Xpp3DomUtils.mergeXpp3Dom(dominant, recessive, childMergeOverride);
     }
 
     /**
-     * @param dominant The dominant part.
-     * @param recessive The recessive part.
-     * @return The merged Xpp3Dom.
+     * @param dominant the dominant part
+     * @param recessive the recessive part
+     * @return the merged Xpp3Dom
      */
     public static Xpp3Dom mergeXpp3Dom(Xpp3Dom dominant, Xpp3Dom recessive) {
         return Xpp3DomUtils.mergeXpp3Dom(dominant, recessive);
     }
 
-    /** {@inheritDoc} */
+    /**
+     * {@inheritDoc}
+     */
     public boolean equals(Object obj) {
         if (obj == this) {
             return true;
@@ -315,7 +319,9 @@ public class Xpp3Dom implements Iterable<Xpp3Dom> {
                 && !(childList == null ? dom.childList != null : !childList.equals(dom.childList));
     }
 
-    /** {@inheritDoc} */
+    /**
+     * {@inheritDoc}
+     */
     public int hashCode() {
         int result = 17;
         result = 37 * result + (name != null ? name.hashCode() : 0);
@@ -325,7 +331,9 @@ public class Xpp3Dom implements Iterable<Xpp3Dom> {
         return result;
     }
 
-    /** {@inheritDoc} */
+    /**
+     * {@inheritDoc}
+     */
     public String toString() {
         try {
             StringWriter writer = new StringWriter();
@@ -338,7 +346,7 @@ public class Xpp3Dom implements Iterable<Xpp3Dom> {
     }
 
     /**
-     * @return Unescaped string.
+     * @return unescaped string
      */
     public String toUnescapedString() {
         try {
@@ -381,7 +389,9 @@ public class Xpp3Dom implements Iterable<Xpp3Dom> {
         return str == null || str.trim().length() == 0;
     }
 
-    /** {@inheritDoc} */
+    /**
+     * {@inheritDoc}
+     */
     public Iterator<Xpp3Dom> iterator() {
         return getChildrenList().iterator();
     }
diff --git a/src/main/java/org/apache/maven/shared/utils/xml/Xpp3DomUtils.java b/src/main/java/org/apache/maven/shared/utils/xml/Xpp3DomUtils.java
index a9c8faa..d09259c 100644
--- a/src/main/java/org/apache/maven/shared/utils/xml/Xpp3DomUtils.java
+++ b/src/main/java/org/apache/maven/shared/utils/xml/Xpp3DomUtils.java
@@ -31,8 +31,8 @@ public class Xpp3DomUtils {
     /**
      * @param dominant {@link Xpp3Dom}
      * @param recessive {@link Xpp3Dom}
-     * @param childMergeOverride true/false.
-     * @return Merged dom.
+     * @param childMergeOverride true/false
+     * @return merged dom
      */
     public static Xpp3Dom mergeXpp3Dom(Xpp3Dom dominant, Xpp3Dom recessive, Boolean childMergeOverride) {
         return dominant != null ? merge(dominant, recessive, childMergeOverride) : recessive;
@@ -41,7 +41,7 @@ public class Xpp3DomUtils {
     /**
      * @param dominant {@link Xpp3Dom}
      * @param recessive {@link Xpp3Dom}
-     * @return Merged dom.
+     * @return merged dom
      */
     public static Xpp3Dom mergeXpp3Dom(Xpp3Dom dominant, Xpp3Dom recessive) {
         return dominant != null ? merge(dominant, recessive, null) : recessive;
@@ -50,8 +50,8 @@ public class Xpp3DomUtils {
     /**
      * @param dominant {@link Xpp3Dom}
      * @param recessive {@link Xpp3Dom}
-     * @param childMergeOverride true/false.
-     * @return Merged dom.
+     * @param childMergeOverride true/false
+     * @return merged dom
      */
     public static Xpp3Dom merge(Xpp3Dom dominant, Xpp3Dom recessive, Boolean childMergeOverride) {
         if (recessive == null || isCombineSelfOverride(dominant)) {
@@ -124,10 +124,10 @@ public class Xpp3DomUtils {
     }
 
     /**
-     * @deprecated use <code>str == null || String.isBlank(str)</code> (Java 11+)
-     *             or <code>org.apache.commons.lang3.StringUtils.isBlank(str)</code>
      * @param str the string to be checked
      * @return <code>true</code> if the string is null, empty, or whitespace only; <code>false</code> otherwise
+     * @deprecated use <code>str == null || String.isBlank(str)</code> (Java 11+)
+     *             or <code>org.apache.commons.lang3.StringUtils.isBlank(str)</code>
      */
     @Deprecated
     public static boolean isEmpty(String str) {
diff --git a/src/main/java/org/apache/maven/shared/utils/xml/Xpp3DomWriter.java b/src/main/java/org/apache/maven/shared/utils/xml/Xpp3DomWriter.java
index 0ae0174..900f03f 100644
--- a/src/main/java/org/apache/maven/shared/utils/xml/Xpp3DomWriter.java
+++ b/src/main/java/org/apache/maven/shared/utils/xml/Xpp3DomWriter.java
@@ -31,7 +31,7 @@ public class Xpp3DomWriter {
     /**
      * @param writer {@link Writer}
      * @param dom {@link Xpp3Dom}
-     * @throws IOException if writing fails.
+     * @throws IOException if writing fails
      */
     public static void write(Writer writer, Xpp3Dom dom) throws IOException {
         write(new PrettyPrintXMLWriter(writer), dom);
@@ -40,7 +40,7 @@ public class Xpp3DomWriter {
     /**
      * @param writer {@link PrintWriter}
      * @param dom {@link Xpp3Dom}
-     * @throws IOException if writing fails.
+     * @throws IOException if writing fails
      */
     public static void write(PrintWriter writer, Xpp3Dom dom) throws IOException {
         write(new PrettyPrintXMLWriter(writer), dom);
@@ -49,7 +49,7 @@ public class Xpp3DomWriter {
     /**
      * @param xmlWriter {@link XMLWriter}
      * @param dom {@link Xpp3Dom}
-     * @throws IOException if writing fails.
+     * @throws IOException if writing fails
      */
     public static void write(XMLWriter xmlWriter, Xpp3Dom dom) throws IOException {
         write(xmlWriter, dom, true);
@@ -58,8 +58,8 @@ public class Xpp3DomWriter {
     /**
      * @param xmlWriter {@link XMLWriter}
      * @param dom {@link Xpp3Dom}
-     * @param escape true/false.
-     * @throws IOException if writing fails.
+     * @param escape true/false
+     * @throws IOException if writing fails
      */
     public static void write(XMLWriter xmlWriter, Xpp3Dom dom, boolean escape) throws IOException {
         xmlWriter.startElement(dom.getName());