From f94ea34c10457d5bb8882e95479488f0f047dd50 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 3 Apr 2012 21:26:56 +0000 Subject: [PATCH] fix pom snippet git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1309160 13f79535-47bb-0310-9956-ffa450edef68 --- .../rest/services/DefaultManagedRepositoriesService.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultManagedRepositoriesService.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultManagedRepositoriesService.java index dfac5b2a8..b25c5848a 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultManagedRepositoriesService.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultManagedRepositoriesService.java @@ -214,7 +214,7 @@ public class DefaultManagedRepositoriesService snippet.append( " <" ).append( distRepoName ).append( ">\n" ); snippet.append( " " ).append( repo.getId() ).append( "\n" ); snippet.append( " " ); - snippet.append( getBaseUrl( httpServletRequest ) + "repository" ); + snippet.append( getBaseUrl( httpServletRequest ) + "/repository" ); snippet.append( "/" ).append( repo.getId() ).append( "/" ).append( "\n" ); if ( !"default".equals( repo.getLayout() ) ) @@ -232,7 +232,7 @@ public class DefaultManagedRepositoriesService snippet.append( " " ).append( repo.getName() ).append( "\n" ); snippet.append( " " ); - snippet.append( getBaseUrl( httpServletRequest ) + "repository" ); + snippet.append( getBaseUrl( httpServletRequest ) + "/repository" ); snippet.append( "/" ).append( repo.getId() ).append( "/" ); snippet.append( "\n" ); @@ -256,7 +256,7 @@ public class DefaultManagedRepositoriesService snippet.append( " " ).append( repo.getName() ).append( "\n" ); snippet.append( " " ); - snippet.append( getBaseUrl( httpServletRequest ) + "repository" ); + snippet.append( getBaseUrl( httpServletRequest ) + "/repository" ); snippet.append( "/" ).append( repo.getId() ).append( "/" ); snippet.append( "\n" ); -- 2.39.5