diff options
Diffstat (limited to 'archiva-base/archiva-indexer')
-rw-r--r-- | archiva-base/archiva-indexer/src/main/java/org/apache/maven/archiva/indexer/search/SearchResultHit.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archiva-base/archiva-indexer/src/main/java/org/apache/maven/archiva/indexer/search/SearchResultHit.java b/archiva-base/archiva-indexer/src/main/java/org/apache/maven/archiva/indexer/search/SearchResultHit.java index 002d02249..8b207fde8 100644 --- a/archiva-base/archiva-indexer/src/main/java/org/apache/maven/archiva/indexer/search/SearchResultHit.java +++ b/archiva-base/archiva-indexer/src/main/java/org/apache/maven/archiva/indexer/search/SearchResultHit.java @@ -90,8 +90,8 @@ public class SearchResultHit public void addArtifact( ArchivaArtifact artifact ) { this.artifacts.add( artifact ); - - String ver = artifact.getBaseVersion(); + + String ver = artifact.getVersion(); if ( !this.versions.contains( ver ) ) { @@ -110,7 +110,7 @@ public class SearchResultHit if ( StringUtils.isBlank( this.version ) ) { - this.version = ver; + this.version = ver; } } |