elharo commented on a change in pull request #385:
URL: https://github.com/apache/maven/pull/385#discussion_r507195029



##########
File path: 
maven-plugin-api/src/main/java/org/apache/maven/monitor/logging/DefaultLog.java
##########
@@ -24,7 +24,10 @@
 
 /**
  * @author jdcasey
+ *
+ * @deprecated Use SFL4J directly

Review comment:
       SLF4J

##########
File path: 
maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojo.java
##########
@@ -149,6 +149,10 @@
     /** Plugin container context */
     private Map pluginContext;
 
+    /**
+     * @deprecated Use SFL4J directly

Review comment:
       SLF4J

##########
File path: maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java
##########
@@ -54,8 +54,10 @@ void execute()
      * and feedback to the user.
      *
      * @param log a new logger
+     *
+     * @deprecated Use SFL4J directly

Review comment:
       SLF4J

##########
File path: maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java
##########
@@ -64,6 +66,8 @@ void execute()
      * @return a log4j-like logger object which allows plugins to create 
messages at levels of <code>"debug"</code>,
      * <code>"info"</code>, <code>"warn"</code>, and <code>"error"</code>. 
This logger is the accepted means to display

Review comment:
       delete "This logger...to the user."

##########
File path: 
maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojo.java
##########
@@ -167,7 +171,9 @@ public void setLog( Log log )
      * method directly whenever you need the logger, it is fast enough and 
needs no caching.
      *
      * @see org.apache.maven.plugin.Mojo#getLog()
+     * @deprecated Use SFL4J directly

Review comment:
       use

##########
File path: 
maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojo.java
##########
@@ -167,7 +171,9 @@ public void setLog( Log log )
      * method directly whenever you need the logger, it is fast enough and 
needs no caching.
      *
      * @see org.apache.maven.plugin.Mojo#getLog()
+     * @deprecated Use SFL4J directly

Review comment:
       SLF4J

##########
File path: maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java
##########
@@ -64,6 +66,8 @@ void execute()
      * @return a log4j-like logger object which allows plugins to create 
messages at levels of <code>"debug"</code>,
      * <code>"info"</code>, <code>"warn"</code>, and <code>"error"</code>. 
This logger is the accepted means to display
      * information to the user.
+     * @deprecated Use SFL4J directly

Review comment:
       use SLF4J




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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to