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 2025/07/06 11:50:34 UTC

(maven-enforcer) 01/01: typos

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

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

commit 9e2a24ea62612b3ecd1c3a6d74cea32a12ddf165
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Sun Jul 6 07:50:26 2025 -0400

    typos
---
 enforcer-rules/src/site/apt/bannedDependencies.apt.vm                   | 2 +-
 enforcer-rules/src/site/apt/bannedRepositories.apt.vm                   | 2 +-
 enforcer-rules/src/site/apt/requireFilesDontExist.apt.vm                | 2 +-
 maven-enforcer-extension/src/site/apt/index.apt                         | 2 +-
 .../src/main/java/org/apache/maven/plugins/enforcer/EnforceMojo.java    | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/enforcer-rules/src/site/apt/bannedDependencies.apt.vm b/enforcer-rules/src/site/apt/bannedDependencies.apt.vm
index 63ce4c46..c0712534 100644
--- a/enforcer-rules/src/site/apt/bannedDependencies.apt.vm
+++ b/enforcer-rules/src/site/apt/bannedDependencies.apt.vm
@@ -53,7 +53,7 @@ Banned Dependencies
         
         []
 
-   * <<includes>> - a list of artifacts to include. These are exceptions to the excludes. It is meant to allow wide exclusion rules with wildcards and fine tune using includes. If nothing has been excluded, then the includes have no effect. In otherwords, includes only subtract from artifacts that matched an exclude rule.
+   * <<includes>> - a list of artifacts to include. These are exceptions to the excludes. It is meant to allow wide exclusion rules with wildcards and fine tune using includes. If nothing has been excluded, then the includes have no effect. In other words, includes only subtract from artifacts that matched an exclude rule.
    
    For example, to ban all xerces except xerces-api you would exclude "xerces" (groupId) and include "xerces:xerces-api"   
    
diff --git a/enforcer-rules/src/site/apt/bannedRepositories.apt.vm b/enforcer-rules/src/site/apt/bannedRepositories.apt.vm
index 7d0734f9..4eaea16e 100644
--- a/enforcer-rules/src/site/apt/bannedRepositories.apt.vm
+++ b/enforcer-rules/src/site/apt/bannedRepositories.apt.vm
@@ -41,7 +41,7 @@ Banned Specified Repositories
 
    * <<allowedRepositories>> - Specify explicitly allowed non-plugin repositories. This is a white list of http/https url patterns.
 
-   * <<allowedPluginRepositories>> - Specify explicitly allowed plugin repositories. This is a white list of http/https url patternes.
+   * <<allowedPluginRepositories>> - Specify explicitly allowed plugin repositories. This is a white list of http/https url patterns.
 
 * Sample Configuration
 
diff --git a/enforcer-rules/src/site/apt/requireFilesDontExist.apt.vm b/enforcer-rules/src/site/apt/requireFilesDontExist.apt.vm
index 53b8ca68..f742a85d 100644
--- a/enforcer-rules/src/site/apt/requireFilesDontExist.apt.vm
+++ b/enforcer-rules/src/site/apt/requireFilesDontExist.apt.vm
@@ -16,7 +16,7 @@
 ~~ under the License.    
  
   ------
-  Require Files Dont Exist
+  Require Files Don't Exist
   ------
   Brian Fox
   ------
diff --git a/maven-enforcer-extension/src/site/apt/index.apt b/maven-enforcer-extension/src/site/apt/index.apt
index c891e646..a8e1b808 100644
--- a/maven-enforcer-extension/src/site/apt/index.apt
+++ b/maven-enforcer-extension/src/site/apt/index.apt
@@ -25,7 +25,7 @@
 
 Maven Enforcer Extension - The Extended Loving Iron Fist of Maven\x99
 
-  The Enforcer Extension provides a way to globally define rules without making use of pom inheritence.
+  The Enforcer Extension provides a way to globally define rules without making use of pom inheritance.
   This way you don't have to adjust the pom.xml , but you can enforce a set of rules.   
   
 * Usage
diff --git a/maven-enforcer-plugin/src/main/java/org/apache/maven/plugins/enforcer/EnforceMojo.java b/maven-enforcer-plugin/src/main/java/org/apache/maven/plugins/enforcer/EnforceMojo.java
index 9a4925cb..a7353606 100644
--- a/maven-enforcer-plugin/src/main/java/org/apache/maven/plugins/enforcer/EnforceMojo.java
+++ b/maven-enforcer-plugin/src/main/java/org/apache/maven/plugins/enforcer/EnforceMojo.java
@@ -492,7 +492,7 @@ public class EnforceMojo extends AbstractMojo {
     }
 
     /**
-     * @param failIfNoRules whether to fsail if there are no rules
+     * @param failIfNoRules whether to fail if there are no rules
      */
     public void setFailIfNoRules(boolean failIfNoRules) {
         this.failIfNoRules = failIfNoRules;