diff --git a/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/DefaultArchivaConfiguration.java b/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/DefaultArchivaConfiguration.java index 54961b97b..b9db3042e 100644 --- a/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/DefaultArchivaConfiguration.java +++ b/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/DefaultArchivaConfiguration.java @@ -854,7 +854,7 @@ public class DefaultArchivaConfiguration Path repoLocation = Paths.get(repoPath); if (Files.exists(repoLocation) && Files.isDirectory(repoLocation) && !repoPath.endsWith( - "data/repositories/" + repo.getId())) { + "/repositories/" + repo.getId())) { repo.setLocation(repoPath + "/data/repositories/" + repo.getId()); } }