From d2d596e7dc0a315e7da2f8926eb4f116a7e78cfd Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Thu, 9 Jan 2014 22:33:52 +0000 Subject: [PATCH] fix issue reported on the mailing list git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1556973 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/archiva/rest/services/DefaultRepositoriesService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRepositoriesService.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRepositoriesService.java index a3910b449..2adb32dea 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRepositoriesService.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRepositoriesService.java @@ -609,6 +609,7 @@ public class DefaultRepositoriesService if ( !VersionUtil.isGenericSnapshot( version ) ) { Artifact artifact = new Artifact( namespace, projectId, version ); + artifact.setRepositoryId( repositoryId ); return deleteArtifact( artifact ); }