diff options
author | Martin Stockhammer <martin_s@apache.org> | 2021-12-25 17:38:01 +0100 |
---|---|---|
committer | Martin Stockhammer <martin_s@apache.org> | 2021-12-25 17:38:01 +0100 |
commit | 7536a89125adca6dcf230d91b6a867d8d5b6e407 (patch) | |
tree | 0ff1a1994fa2440363cf7a319d3a7882ee0549ca /archiva-modules | |
parent | d3fd08be17f6e990488a60680047150f7464a13e (diff) | |
download | archiva-7536a89125adca6dcf230d91b6a867d8d5b6e407.tar.gz archiva-7536a89125adca6dcf230d91b6a867d8d5b6e407.zip |
Fixing error with bad repository path
Diffstat (limited to 'archiva-modules')
-rw-r--r-- | archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/DefaultArchivaConfiguration.java | 2 |
1 files changed, 1 insertions, 1 deletions
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()); } } |