From 0721322d4ea8132dee8a7392b7ed03910c8e39b7 Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Fri, 5 Aug 2011 09:26:18 +0000 Subject: [PATCH] [MNG-5149] DefaultArtifactRepositoryFactory.createArtifactRepository overload w/ layoutId passes wrong (repo) id git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1154138 13f79535-47bb-0310-9956-ffa450edef68 --- .../artifact/repository/DefaultArtifactRepositoryFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepositoryFactory.java b/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepositoryFactory.java index 6789ba5653..d24bf12bbd 100644 --- a/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepositoryFactory.java +++ b/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepositoryFactory.java @@ -73,7 +73,7 @@ public class DefaultArtifactRepositoryFactory ArtifactRepositoryPolicy releases ) throws UnknownRepositoryLayoutException { - return injectSession( factory.createArtifactRepository( layoutId, url, layoutId, snapshots, releases ), true ); + return injectSession( factory.createArtifactRepository( id, url, layoutId, snapshots, releases ), true ); } public ArtifactRepository createArtifactRepository( String id, String url,