You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mt...@apache.org on 2022/07/21 18:28:08 UTC

[maven-enforcer] branch master updated: (doc) Fix xml syntax in example

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

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


The following commit(s) were added to refs/heads/master by this push:
     new b3d785d  (doc) Fix xml syntax in example
b3d785d is described below

commit b3d785d0e495b647a59814aa3fe9c4137ac2221c
Author: Tim Lander <ti...@hotmail.com>
AuthorDate: Fri Jul 1 16:57:51 2022 +0800

    (doc) Fix xml syntax in example
    
    Closing tags were not closed.
    
    Closes #170.
---
 enforcer-rules/src/site/apt/bannedRepositories.apt.vm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/enforcer-rules/src/site/apt/bannedRepositories.apt.vm b/enforcer-rules/src/site/apt/bannedRepositories.apt.vm
index 88f717a..ef6d41f 100644
--- a/enforcer-rules/src/site/apt/bannedRepositories.apt.vm
+++ b/enforcer-rules/src/site/apt/bannedRepositories.apt.vm
@@ -73,20 +73,20 @@ Banned Specified Repositories
               <rules>
                 <bannedRepositories>
                   <bannedRepositories>
-                    <bannedRepository>http://repo1/*<bannedRepository>
+                    <bannedRepository>http://repo1/*</bannedRepository>
                   </bannedRepositories>
                   <bannedPluginRepositories>
-                    <bannedPluginRepository>http://repo1/*<bannedPluginRepository>
+                    <bannedPluginRepository>http://repo1/*</bannedPluginRepository>
                   </bannedPluginRepositories>
 				  
                   <!-- for some cases, white list is more effective -->
                   <!--
 				  
                   <allowedRepositories>
-                    <allowedRepository>http://repo2/*<allowedRepository>
+                    <allowedRepository>http://repo2/*</allowedRepository>
                   </allowedRepositories>
                   <allowedPluginRepositories>
-                    <allowedPluginRepository>http://repo2/*<allowedPluginRepository>
+                    <allowedPluginRepository>http://repo2/*</allowedPluginRepository>
                   </allowedPluginRepositories>
 				  
                   -->