mirror of https://github.com/apache/archiva.git
[MRM-334] If ~/.m2 does not exist when running the webapp for the first time, a folder "~.m2" is created. Missing "/" added
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@538594 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
09fff6ad6e
commit
ca962323fe
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue