diff options
author | Olivier Lamy <olamy@apache.org> | 2012-05-28 22:52:58 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2012-05-28 22:52:58 +0000 |
commit | 994e72b0185eb78a85051b6441453566b2537b83 (patch) | |
tree | 997b3d222f55923cee8d79b6d4b263b274cc9eaf /archiva-modules/plugins/maven2-repository | |
parent | 823b816f5283e5490b38daa3a8387a72df74e6e6 (diff) | |
download | archiva-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')
-rw-r--r-- | archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/RepositoryModelResolver.java | 2 |
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 ) |