From b8f5443e1351d01e1cdb1ed7a61c7ff211df3c4d Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Sat, 20 Feb 2010 17:57:33 +0000 Subject: [PATCH] [MNG-4564] Location (and name) for settings-security.xml has changed in Maven 3 git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@912163 13f79535-47bb-0310-9956-ffa450edef68 --- maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java b/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java index 80e0991d3f..c5b5c4a44f 100644 --- a/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java +++ b/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java @@ -365,7 +365,7 @@ public class MavenCli settingsBuilder = container.lookup( SettingsBuilder.class ); - dispatcher = (DefaultSecDispatcher) container.lookup( SecDispatcher.class ); + dispatcher = (DefaultSecDispatcher) container.lookup( SecDispatcher.class, "maven" ); } protected void customizeContainer( PlexusContainer container )