You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2022/05/21 20:41:46 UTC

[maven-scm] 05/08: Small improvements

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

michaelo pushed a commit to branch scm-979-deplexus
in repository https://gitbox.apache.org/repos/asf/maven-scm.git

commit bdb55875355d7e0903eddb11e12d62e74fab5815
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Sat May 21 20:01:40 2022 +0200

    Small improvements
---
 .../src/main/java/org/apache/maven/scm/log/Slf4jScmLogger.java    | 2 +-
 maven-scm-plugin/pom.xml                                          | 1 -
 pom.xml                                                           | 7 ++++---
 src/site/apt/guide/new_provider.apt                               | 8 ++++----
 4 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/maven-scm-api/src/main/java/org/apache/maven/scm/log/Slf4jScmLogger.java b/maven-scm-api/src/main/java/org/apache/maven/scm/log/Slf4jScmLogger.java
index c978f9190..6566f52a6 100644
--- a/maven-scm-api/src/main/java/org/apache/maven/scm/log/Slf4jScmLogger.java
+++ b/maven-scm-api/src/main/java/org/apache/maven/scm/log/Slf4jScmLogger.java
@@ -25,7 +25,7 @@ import org.slf4j.LoggerFactory;
 import static java.util.Objects.requireNonNull;
 
 /**
- * {@link ScmLogger} backed by Slf4j.
+ * {@link ScmLogger} backed by SLF4J.
  *
  * @since TBD
  */
diff --git a/maven-scm-plugin/pom.xml b/maven-scm-plugin/pom.xml
index 89a0b139b..2d01744ab 100644
--- a/maven-scm-plugin/pom.xml
+++ b/maven-scm-plugin/pom.xml
@@ -196,7 +196,6 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-plugin-plugin</artifactId>
-          <version>3.6.4</version>
           <configuration>
             <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
           </configuration>
diff --git a/pom.xml b/pom.xml
index ee953d112..1bc94e0e7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -125,6 +125,7 @@
 
   <properties>
     <javaVersion>8</javaVersion>
+    <slf4jVersion>1.7.36</slf4jVersion>
     <maven.site.path>scm-archives/scm-LATEST</maven.site.path>
     <checkstyle.violation.ignore>RedundantThrows,NewlineAtEndOfFile,ParameterNumber,MethodLength,FileLength,InnerAssignment,MagicNumber</checkstyle.violation.ignore>
     <checkstyle.failOnViolation>true</checkstyle.failOnViolation>
@@ -186,17 +187,17 @@
       <dependency>
         <groupId>org.slf4j</groupId>
         <artifactId>slf4j-api</artifactId>
-        <version>1.7.36</version>
+        <version>${slf4jVersion}</version>
       </dependency>
       <dependency>
         <groupId>org.slf4j</groupId>
         <artifactId>slf4j-simple</artifactId>
-        <version>1.7.36</version>
+        <version>${slf4jVersion}</version>
       </dependency>
       <dependency>
         <groupId>org.slf4j</groupId>
         <artifactId>jcl-over-slf4j</artifactId>
-        <version>1.7.36</version>
+        <version>${slf4jVersion}</version>
       </dependency>
       <dependency>
         <groupId>org.codehaus.plexus</groupId>
diff --git a/src/site/apt/guide/new_provider.apt b/src/site/apt/guide/new_provider.apt
index 7cd9454ef..e770a8796 100644
--- a/src/site/apt/guide/new_provider.apt
+++ b/src/site/apt/guide/new_provider.apt
@@ -101,7 +101,7 @@ How to write a new SCM provider?
 </project>
 +------------------------------------------+
 
-  The SISU maven plugin will generate the components meta-data file used by the
+  The Sisu Maven Plugin will generate the components meta-data file used by the
   DI to discover them inject them to SCM manager.
 
 * Create an SCM Provider Repository class
@@ -171,7 +171,7 @@ public class MyScmProvider
 }
 +------------------------------------------+
 
-  The JSR330 annotations will be used by the SISU maven plugin,
+  The JSR330 annotations will be used by the Sisu Maven Plugin,
   declared in the POM, to generate component meta-data.
   Generally, we use the string just after <scm:> in the scm URL as the
   <provider_name>.
@@ -242,8 +242,8 @@ public class MyScmProvider
 
 ** Other tests
 
-  You can do manual tests in the real world with the Maven SCM plugin,
-  the maven release plugin, the maven changelog plugin and Continuum.
+  You can do manual tests in the real world with the Maven SCM Plugin,
+  the Maven Release Plugin, the Maven Changelog Plugin and Continuum.
 
   It's important to test your SCM provider with these tools, because they are
   used by users that will use your provider.