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() ) )
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" );
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" );