]> source.dussan.org Git - archiva.git/commitdiff
[MRM-334] If ~/.m2 does not exist when running the webapp for the first time, a folde...
authorFabrice Bellingard <bellingard@apache.org>
Wed, 16 May 2007 13:53:30 +0000 (13:53 +0000)
committerFabrice Bellingard <bellingard@apache.org>
Wed, 16 May 2007 13:53:30 +0000 (13:53 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@538594 13f79535-47bb-0310-9956-ffa450edef68

archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/appearance/AbstractAppearanceAction.java

index 63ecf7b4067e09e79df9ef4d60011f5fa8293fd4..7aa2f91e6545e19b8a7d14086255a306f7c1dbaa 100644 (file)
@@ -51,7 +51,7 @@ public abstract class AbstractAppearanceAction
     {
         String id = "archiva-local-repo";
         String layout = "default";
-        String directory = System.getProperty( "user.home" ) + ".m2/archiva";
+        String directory = System.getProperty( "user.home" ) + "/.m2/archiva";
 
         ArtifactRepositoryLayout repositoryLayout = (ArtifactRepositoryLayout) repositoryLayouts.get( layout );
         File repository = new File( directory );