aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-base
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2021-06-29 22:16:34 +0200
committerMartin Stockhammer <martin_s@apache.org>2021-06-29 22:16:34 +0200
commit0f1a03e0863031e781b129f81f068c9bc4b12ff9 (patch)
treef0cddfb69ea92e928ac24bd770142c4f6a5f4eba /archiva-modules/archiva-base
parent478c60608d6ca1bd5ac882e1c97679e019f26031 (diff)
downloadarchiva-0f1a03e0863031e781b129f81f068c9bc4b12ff9.tar.gz
archiva-0f1a03e0863031e781b129f81f068c9bc4b12ff9.zip
Fix for group and additional tests
Diffstat (limited to 'archiva-modules/archiva-base')
-rw-r--r--archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/base/RepositoryGroupHandler.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/base/RepositoryGroupHandler.java b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/base/RepositoryGroupHandler.java
index 6783f7467..8604ba9d1 100644
--- a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/base/RepositoryGroupHandler.java
+++ b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/base/RepositoryGroupHandler.java
@@ -401,6 +401,7 @@ public class RepositoryGroupHandler implements RepositoryHandler<RepositoryGroup
repo = repositoryRegistry.getProvider( repoType ).createRepositoryGroup( repositoryGroupConfiguration );
}
replaceOrAddRepositoryConfig( repositoryGroupConfiguration, configuration );
+ updateReferences( repo, repositoryGroupConfiguration );
return repo;
}
@@ -422,7 +423,7 @@ public class RepositoryGroupHandler implements RepositoryHandler<RepositoryGroup
}
if ( result.isValid( ) )
{
- put( repositoryConfiguration );
+ put( result.getRepository() );
}
return result;
}