diff --git a/archiva-modules/plugins/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/CassandraMetadataRepository.java b/archiva-modules/plugins/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/CassandraMetadataRepository.java index 44e985e1b..3a689fa45 100644 --- a/archiva-modules/plugins/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/CassandraMetadataRepository.java +++ b/archiva-modules/plugins/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/CassandraMetadataRepository.java @@ -666,7 +666,7 @@ public class CassandraMetadataRepository QueryResult> result = HFactory // .createRangeSlicesQuery( keyspace, ss, ss, ss ) // .setColumnFamily( cassandraArchivaManager.getProjectVersionMetadataModelFamilyName() ) // - .setColumnNames( "id" ) // + .setColumnNames( "projectVersion" ) // .addEqualsExpression( "repositoryName", repoId ) // .addEqualsExpression( "namespaceId", namespace ) // .addEqualsExpression( "projectId", projectId ) // @@ -683,7 +683,7 @@ public class CassandraMetadataRepository for ( Row orderedRows : result.get() ) { - versions.add( getStringValue( orderedRows.getColumnSlice(), "id" ) ); + versions.add( getStringValue( orderedRows.getColumnSlice(), "projectVersion" ) ); } return versions;