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 430a85a1a..9cdd2aaa5 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 @@ -729,6 +729,7 @@ public class ArchivaDavResourceFactory if ( artifact != null ) { String repositoryLayout = managedRepository.getRepository().getLayout(); + // FIXME we could prevent that with renaming bean repositoryStorage#maven2 to repositoryStorage#default if ( StringUtils.equalsIgnoreCase( "default", repositoryLayout ) || StringUtils.equalsIgnoreCase( "legacy", repositoryLayout ) ) {