Changed configuration for allowedPluginRepositories
authorKarl Heinz Marbaise <khmarbaise@apache.org>
Fri, 5 Oct 2018 17:14:59 +0000 (19:14 +0200)
committerKarl Heinz Marbaise <khmarbaise@apache.org>
Fri, 5 Oct 2018 17:14:59 +0000 (19:14 +0200)
maven-enforcer-plugin/src/it/projects/require-no-repositories-allow-plugin-repo/pom.xml
maven-enforcer-plugin/src/it/projects/require-no-repositories-allow-repo/pom.xml
maven-enforcer-plugin/src/it/projects/require-no-repositories_failure_allowed-plugin-repo/pom.xml
maven-enforcer-plugin/src/it/projects/require-no-repositories_failure_repositories/pom.xml

index ba8a6a7..cc568e2 100644 (file)
@@ -58,7 +58,9 @@
             <configuration>\r
               <rules>\r
                 <requireNoRepositories>\r
-                  <allowedPluginRepositories>plugin-repo</allowedPluginRepositories>\r
+                  <allowedPluginRepositories>\r
+                    <allowedPluginRepository>plugin-repo</allowedPluginRepository>\r
+                  </allowedPluginRepositories>\r
                 </requireNoRepositories>\r
               </rules>\r
             </configuration>\r
index c0af0cc..9c9aa27 100644 (file)
@@ -58,7 +58,9 @@
             <configuration>\r
               <rules>\r
                 <requireNoRepositories>\r
-                  <allowedRepositories>com.asual.maven.public</allowedRepositories>\r
+                  <allowedRepositories>\r
+                    <allowedRepository>com.asual.maven.public</allowedRepository>\r
+                  </allowedRepositories>\r
                 </requireNoRepositories>\r
               </rules>\r
             </configuration>\r
index 4951265..557a44c 100644 (file)
             <configuration>\r
               <rules>\r
                 <requireNoRepositories>\r
-                  <allowedPluginRepositories>plugin-repo,com.asual.maven.public</allowedPluginRepositories>\r
+                  <allowedPluginRepositories>\r
+                    <allowedPluginRepository>plugin-repo</allowedPluginRepository>\r
+                    <allowedPluginRepository>com.asual.maven.public</allowedPluginRepository>\r
+                  </allowedPluginRepositories>\r
                 </requireNoRepositories>\r
               </rules>\r
             </configuration>\r
index ba8a6a7..cc568e2 100644 (file)
@@ -58,7 +58,9 @@
             <configuration>\r
               <rules>\r
                 <requireNoRepositories>\r
-                  <allowedPluginRepositories>plugin-repo</allowedPluginRepositories>\r
+                  <allowedPluginRepositories>\r
+                    <allowedPluginRepository>plugin-repo</allowedPluginRepository>\r
+                  </allowedPluginRepositories>\r
                 </requireNoRepositories>\r
               </rules>\r
             </configuration>\r