aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2014-01-09 22:33:52 +0000
committerOlivier Lamy <olamy@apache.org>2014-01-09 22:33:52 +0000
commitd2d596e7dc0a315e7da2f8926eb4f116a7e78cfd (patch)
tree437fcb74c477040851772837bf5a70601ba3b5ac
parentdc6db7b475b11e735d35f55f5e02d2a81d373de6 (diff)
downloadarchiva-d2d596e7dc0a315e7da2f8926eb4f116a7e78cfd.tar.gz
archiva-d2d596e7dc0a315e7da2f8926eb4f116a7e78cfd.zip
fix issue reported on the mailing list
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1556973 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRepositoriesService.java1
1 files changed, 1 insertions, 0 deletions
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 );
}