artifact.setVersion( "1.0.1" );
artifact.setClassifier( "javadoc" );
artifact.setPackaging( "jar" );
artifact.setContext( SOURCE_REPO_ID );
RepositoriesService repositoriesService = getRepositoriesService( authorizationHeader );
repositoriesService.deleteArtifact( artifact );
assertFalse( "artifact not deleted exists:" + artifactFile.getPath(), artifactFile.exists() );
assertFalse( "md5 still exists:" + artifactFilemd5.getPath(), artifactFilemd5.exists() );
assertFalse( "sha1 still exists:" + artifactFilesha1.getPath(), artifactFilesha1.exists() );