mirror of https://github.com/apache/archiva.git
Fixing repository group implementation
This commit is contained in:
parent
922d543915
commit
a024df32a4
|
@ -248,8 +248,10 @@ public class MavenRepositoryProvider implements RepositoryProvider {
|
|||
@Override
|
||||
public RepositoryGroup createRepositoryGroup(RepositoryGroupConfiguration configuration) throws RepositoryException {
|
||||
Path repositoryGroupBase = getArchivaConfiguration().getRepositoryGroupBaseDir();
|
||||
return new MavenRepositoryGroup(configuration.getId(), configuration.getId(),
|
||||
MavenRepositoryGroup newGrp = new MavenRepositoryGroup(configuration.getId(), configuration.getName(),
|
||||
repositoryGroupBase, fileLockManager);
|
||||
updateRepositoryGroupInstance(newGrp, configuration);
|
||||
return newGrp;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -444,4 +446,8 @@ public class MavenRepositoryProvider implements RepositoryProvider {
|
|||
public <T> void raise(RepositoryEvent<T> event) {
|
||||
//
|
||||
}
|
||||
|
||||
public void setRepositoryRegistry(RepositoryRegistry reg) {
|
||||
this.repositoryRegistry = reg;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue