mirror of https://github.com/apache/archiva.git
Adding default location to repository
This commit is contained in:
parent
aabd20f668
commit
12c05a8d1a
|
@ -69,11 +69,13 @@ public class MavenManagedRepository extends AbstractManagedRepository
|
|||
{
|
||||
super( RepositoryType.MAVEN, id, name, basePath);
|
||||
this.indexCreationFeature = new IndexCreationFeature(this, this);
|
||||
setLocation(basePath.resolve(id).toUri());
|
||||
}
|
||||
|
||||
public MavenManagedRepository( Locale primaryLocale, String id, String name, Path basePath )
|
||||
{
|
||||
super( primaryLocale, RepositoryType.MAVEN, id, name, basePath );
|
||||
setLocation(basePath.resolve(id).toUri());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue