]> source.dussan.org Git - archiva.git/commitdiff
[MRM-988] remove "dav:" from the POM snippet in repositories page
authorBrett Porter <brett@apache.org>
Mon, 27 Oct 2008 03:51:54 +0000 (03:51 +0000)
committerBrett Porter <brett@apache.org>
Mon, 27 Oct 2008 03:51:54 +0000 (03:51 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@708082 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/tags/CopyPasteSnippetTag.java

index b8cff4f7a46f1cf12d0f55b959f3eb6d9cc78956..edb653b365d1e4ec43b8cd2e501505a4354cd34e 100644 (file)
@@ -137,7 +137,7 @@ public class CopyPasteSnippetTag
 
         snippet.append( "    <" ).append( distRepoName ).append( ">\n" );
         snippet.append( "      <id>" ).append( repo.getId() ).append( "</id>\n" );
-        snippet.append( "      <url>dav:" ).append( ContextUtils.getBaseURL( pageContext, "repository" ) );
+        snippet.append( "      <url>" ).append( ContextUtils.getBaseURL( pageContext, "repository" ) );
         snippet.append( "/" ).append( repo.getId() ).append( "/" ).append( "</url>\n" );
 
         if ( !"default".equals( repo.getLayout() ) )