From 5a84b6ee7b18b91a8879eb8d6675ae445fb8ddb5 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 29 Oct 2012 23:36:52 +0000 Subject: [PATCH] fix bean name git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1403577 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/archiva/webdav/ArchivaDavResourceFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/archiva/webdav/ArchivaDavResourceFactory.java b/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/archiva/webdav/ArchivaDavResourceFactory.java index c3ce0deb6..0ae3c03fa 100644 --- a/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/archiva/webdav/ArchivaDavResourceFactory.java +++ b/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/archiva/webdav/ArchivaDavResourceFactory.java @@ -734,7 +734,7 @@ public class ArchivaDavResourceFactory repositoryLayout = "maven2"; } RepositoryStorage repositoryStorage = - this.applicationContext.getBean( repositoryLayout, RepositoryStorage.class ); + this.applicationContext.getBean( "repositoryStorage#" + repositoryLayout, RepositoryStorage.class ); repositoryStorage.applyServerSideRelocation( managedRepository, artifact ); File proxiedFile = connectors.fetchFromProxies( managedRepository, artifact );