summaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2014-06-11 02:46:11 +1000
committerOlivier Lamy <olamy@apache.org>2014-06-11 02:46:11 +1000
commit2124e24a1834e69e7985c818f8193c4d168c17b6 (patch)
tree6f05002c0bd6e3506da4af03dadd93ede18378d2 /archiva-modules/archiva-web
parent7972d750820c9e725fbd7894f288afdbe44660c6 (diff)
downloadarchiva-2124e24a1834e69e7985c818f8193c4d168c17b6.tar.gz
archiva-2124e24a1834e69e7985c818f8193c4d168c17b6.zip
add comment
Diffstat (limited to 'archiva-modules/archiva-web')
-rw-r--r--archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/archiva/webdav/ArchivaDavResourceFactory.java2
1 files changed, 2 insertions, 0 deletions
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 );