[MRM-1282] add some notes about snapshot handling in light of the new getArtifacts method

git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@892806 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Porter 2009-12-21 12:58:42 +00:00
parent eea9187d45
commit efd9d33b06
2 changed files with 2 additions and 0 deletions

View File

@ -232,6 +232,7 @@ public class DeleteArtifactAction
for ( ArtifactMetadata artifact : artifacts ) for ( ArtifactMetadata artifact : artifacts )
{ {
// TODO: mismatch between artifact (snapshot) version and project (base) version here
if ( artifact.getVersion().equals( version ) ) if ( artifact.getVersion().equals( version ) )
{ {
metadataRepository.deleteArtifact( artifact.getRepositoryId(), artifact.getNamespace(), metadataRepository.deleteArtifact( artifact.getRepositoryId(), artifact.getNamespace(),

View File

@ -175,6 +175,7 @@ public class AdministrationServiceImpl
for ( ArtifactMetadata artifact : artifacts ) for ( ArtifactMetadata artifact : artifacts )
{ {
// TODO: mismatch between artifact (snapshot) version and project (base) version here
if ( artifact.getVersion().equals( version ) ) if ( artifact.getVersion().equals( version ) )
{ {
metadataRepository.deleteArtifact( artifact.getRepositoryId(), artifact.getNamespace(), metadataRepository.deleteArtifact( artifact.getRepositoryId(), artifact.getNamespace(),