]> source.dussan.org Git - archiva.git/commitdiff
fix pom snippet
authorOlivier Lamy <olamy@apache.org>
Tue, 3 Apr 2012 21:26:56 +0000 (21:26 +0000)
committerOlivier Lamy <olamy@apache.org>
Tue, 3 Apr 2012 21:26:56 +0000 (21:26 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1309160 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultManagedRepositoriesService.java

index dfac5b2a869c82d4a3da756d25876cb43af35b25..b25c5848a5fe8dcb1e1abea10f820c441bfb5213 100644 (file)
@@ -214,7 +214,7 @@ public class DefaultManagedRepositoriesService
         snippet.append( "    <" ).append( distRepoName ).append( ">\n" );
         snippet.append( "      <id>" ).append( repo.getId() ).append( "</id>\n" );
         snippet.append( "      <url>" );
-        snippet.append( getBaseUrl( httpServletRequest ) + "repository" );
+        snippet.append( getBaseUrl( httpServletRequest ) + "/repository" );
         snippet.append( "/" ).append( repo.getId() ).append( "/" ).append( "</url>\n" );
 
         if ( !"default".equals( repo.getLayout() ) )
@@ -232,7 +232,7 @@ public class DefaultManagedRepositoriesService
         snippet.append( "      <name>" ).append( repo.getName() ).append( "</name>\n" );
 
         snippet.append( "      <url>" );
-        snippet.append( getBaseUrl( httpServletRequest ) + "repository" );
+        snippet.append( getBaseUrl( httpServletRequest ) + "/repository" );
         snippet.append( "/" ).append( repo.getId() ).append( "/" );
 
         snippet.append( "</url>\n" );
@@ -256,7 +256,7 @@ public class DefaultManagedRepositoriesService
         snippet.append( "      <name>" ).append( repo.getName() ).append( "</name>\n" );
 
         snippet.append( "      <url>" );
-        snippet.append( getBaseUrl( httpServletRequest ) + "repository" );
+        snippet.append( getBaseUrl( httpServletRequest ) + "/repository" );
         snippet.append( "/" ).append( repo.getId() ).append( "/" );
 
         snippet.append( "</url>\n" );