aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/plugins
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-03-12 11:01:57 +0000
committerOlivier Lamy <olamy@apache.org>2012-03-12 11:01:57 +0000
commitb91790c5324742186d2b9250e823eef435ec4717 (patch)
tree924ca72d8501b590e974f18b8947c49e7640ec8c /archiva-modules/plugins
parentd4b081c74d62d2dbfa60dc35298148b2b4e48aed (diff)
downloadarchiva-b91790c5324742186d2b9250e823eef435ec4717.tar.gz
archiva-b91790c5324742186d2b9250e823eef435ec4717.zip
code comment
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299624 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/plugins')
-rw-r--r--archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/RepositoryModelResolver.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/RepositoryModelResolver.java b/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/RepositoryModelResolver.java
index 975a97ad0..b0b7e2b0b 100644
--- a/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/RepositoryModelResolver.java
+++ b/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/RepositoryModelResolver.java
@@ -109,7 +109,7 @@ public class RepositoryModelResolver
if ( !model.exists() )
{
- // is a SNAPSHOT ?
+ // is a SNAPSHOT ? so we can try to find locally before asking remote repositories.
if ( StringUtils.contains( version, "SNAPSHOT" ) )
{
File localSnapshotModel = findTimeStampedSnapshotPom( groupId, artifactId, version, model.getParent() );