From 2124e24a1834e69e7985c818f8193c4d168c17b6 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Wed, 11 Jun 2014 02:46:11 +1000 Subject: [PATCH] add comment --- .../org/apache/archiva/webdav/ArchivaDavResourceFactory.java | 2 ++ 1 file changed, 2 insertions(+) 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 65aeae274..a239abaee 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 @@ -588,6 +588,8 @@ public class ArchivaDavResourceFactory { boolean readMethod = WebdavMethodUtil.isReadMethod( request.getMethod() ); // Maven Centric part ask evaluation if -SNAPSHOT + // MRM-1846 test if read method to prevent issue with maven 2.2.1 and uniqueVersion false + String path = readMethod ? evaluatePathWithVersion( archivaLocator, managedRepositoryContent, request.getContextPath() ) : getLogicalResource( archivaLocator, managedRepository, false );