summaryrefslogtreecommitdiffstats
path: root/archiva-modules/plugins/maven2-repository/src/main
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-05-28 22:52:58 +0000
committerOlivier Lamy <olamy@apache.org>2012-05-28 22:52:58 +0000
commit994e72b0185eb78a85051b6441453566b2537b83 (patch)
tree997b3d222f55923cee8d79b6d4b263b274cc9eaf /archiva-modules/plugins/maven2-repository/src/main
parent823b816f5283e5490b38daa3a8387a72df74e6e6 (diff)
downloadarchiva-994e72b0185eb78a85051b6441453566b2537b83.tar.gz
archiva-994e72b0185eb78a85051b6441453566b2537b83.zip
artifact content view: display snapshot versions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1343416 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/plugins/maven2-repository/src/main')
-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 b71cd7419..92fe5a097 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
@@ -111,7 +111,7 @@ public class RepositoryModelResolver
{
// is a SNAPSHOT ? so we can try to find locally before asking remote repositories.
- if ( StringUtils.contains( version, "SNAPSHOT" ) )
+ if ( StringUtils.contains( version, VersionUtil.SNAPSHOT ) )
{
File localSnapshotModel = findTimeStampedSnapshotPom( groupId, artifactId, version, model.getParent() );
if ( localSnapshotModel != null )