fix issue reported on the mailing list

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1556973 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2014-01-09 22:33:52 +00:00
parent dc6db7b475
commit d2d596e7dc
1 changed files with 1 additions and 0 deletions

View File

@ -609,6 +609,7 @@ public class DefaultRepositoriesService
if ( !VersionUtil.isGenericSnapshot( version ) )
{
Artifact artifact = new Artifact( namespace, projectId, version );
artifact.setRepositoryId( repositoryId );
return deleteArtifact( artifact );
}