[MSHARED-630] Javadoc of several classes still references Maven 3.4.0 for color support
git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk/maven-shared-utils@1792172 13f79535-47bb-0310-9956-ffa450edef68
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 c21165b..6cec6be 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
@@ -23,8 +23,8 @@
import org.fusesource.jansi.AnsiConsole;
/**
- * Colored message utils, to manage colors consistently across plugins (only if Maven version is at least 3.4.0).
- * For Maven version before 3.4.0, message built with this util will never add color.
+ * Colored message utils, to manage colors consistently across plugins (only if Maven version is at least 3.5.0).
+ * For Maven version before 3.5.0, message built with this util will never add color.
* <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.
@@ -39,7 +39,7 @@
boolean jansi = true;
try
{
- // JAnsi is provided by Maven core since 3.4.0
+ // JAnsi is provided by Maven core since 3.5.0
Class.forName( "org.fusesource.jansi.Ansi" );
}
catch ( ClassNotFoundException cnfe )
@@ -51,7 +51,7 @@
/**
* Install color support.
- * This method is called by Maven core, and calling it is not necessary in plugins.
+ * This method is called by Maven core, and calling it is not necessary in plugins.
*/
public static void systemInstall()
{
diff --git a/src/main/java/org/apache/maven/shared/utils/logging/PlainMessageBuilder.java b/src/main/java/org/apache/maven/shared/utils/logging/PlainMessageBuilder.java
index abee6dd..6a7b56e 100644
--- a/src/main/java/org/apache/maven/shared/utils/logging/PlainMessageBuilder.java
+++ b/src/main/java/org/apache/maven/shared/utils/logging/PlainMessageBuilder.java
@@ -20,7 +20,7 @@
*/
/**
- * Message builder implementation that just ignores styling, for Maven version earlier than 3.4.0.
+ * Message builder implementation that just ignores styling, for Maven version earlier than 3.5.0.
*/
class PlainMessageBuilder
implements MessageBuilder, LoggerLevelRenderer
@@ -46,17 +46,17 @@
{
return a( level ).toString();
}
-
+
public String info( String level )
{
return a( level ).toString();
}
-
+
public String warning( String level )
{
return a( level ).toString();
}
-
+
public String error( String level )
{
return a( level ).toString();
@@ -71,7 +71,7 @@
{
return a( message );
}
-
+
public PlainMessageBuilder failure( Object message )
{
return a( message );
diff --git a/src/main/java/org/apache/maven/shared/utils/logging/package-info.java b/src/main/java/org/apache/maven/shared/utils/logging/package-info.java
index e90ab65..dfc5dde 100644
--- a/src/main/java/org/apache/maven/shared/utils/logging/package-info.java
+++ b/src/main/java/org/apache/maven/shared/utils/logging/package-info.java
@@ -7,9 +7,9 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@@ -19,7 +19,7 @@
*/
/**
* An API to write Maven messages to console with styled color content, consistently across whole
- * Maven ecosystem (Maven itself or any plugin or extension).
+ * Maven ecosystem (Maven itself or any plugin or extension).
* <p>
* Messages are built with instances of {@link org.apache.maven.shared.utils.logging.MessageBuilder MessageBuilder}
* which provides a fluent API, while error level are colored by slf4j provider with
@@ -28,10 +28,10 @@
* {@link org.apache.maven.shared.utils.logging.MessageUtils MessageUtils} gives access to these builders.
* <p>
* Plugins can use this API with any Maven version: color
- * just won't be activated when run with Maven version older than 3.4.0.
+ * just won't be activated when run with Maven version older than 3.5.0.
* <p>
* Styles are:<ul>
- * <li><code>debug</code>, <code>info</code>, <code>warning</code> and <code>error</code> for
+ * <li><code>debug</code>, <code>info</code>, <code>warning</code> and <code>error</code> for
* {@link org.apache.maven.shared.utils.logging.LoggerLevelRenderer logger level rendering},</li>
* <li><code>success</code>, <code>warning</code>, <code>failure</code>, <code>strong</code>, <code>mojo</code>
* and <code>project</code> for {@link org.apache.maven.shared.utils.logging.MessageBuilder message content}</li>
@@ -40,7 +40,7 @@
* environment variable (eventually in <code>.mavenrc</code> script):<ul>
* <li>system properties are named <code>style.<style name></code>,</li>
* <li>values are comma separated combination of <code>bold</code>, <code><color></code> and
- * <code>bg<color></code> (for background), where <code><color></code> is
+ * <code>bg<color></code> (for background), where <code><color></code> is
* an <a href="https://en.wikipedia.org/wiki/ANSI_escape_code#Colors">ANSI color</a>: <code>black</code>,
* <code>red</code>, <code>green</code>, <code>yellow</code>, <code>blue</code>, <code>magenta</code>,
* <code>cyan</code> or <code>white</code>, eventually with <code>bright</code> prefix</li>