diff options
author | Martin Stockhammer <martin_s@apache.org> | 2019-08-02 23:49:08 +0200 |
---|---|---|
committer | Martin Stockhammer <martin_s@apache.org> | 2019-08-02 23:49:08 +0200 |
commit | c56ce11c20b1963760b74e397acb200f61c1f95e (patch) | |
tree | dd805d2d7a6b8e0c6ec65578106eec67d07b50ad /archiva-cli/src/main | |
parent | bb3b074aaf5a2be0d81c950ecf1588fe8efa3316 (diff) | |
download | archiva-c56ce11c20b1963760b74e397acb200f61c1f95e.tar.gz archiva-c56ce11c20b1963760b74e397acb200f61c1f95e.zip |
Fixing unit tests
Diffstat (limited to 'archiva-cli/src/main')
-rw-r--r-- | archiva-cli/src/main/java/org/apache/archiva/cli/ArchivaCli.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archiva-cli/src/main/java/org/apache/archiva/cli/ArchivaCli.java b/archiva-cli/src/main/java/org/apache/archiva/cli/ArchivaCli.java index 3ff6b3f26..89e01a443 100644 --- a/archiva-cli/src/main/java/org/apache/archiva/cli/ArchivaCli.java +++ b/archiva-cli/src/main/java/org/apache/archiva/cli/ArchivaCli.java @@ -166,7 +166,7 @@ public class ArchivaCli private void doScan( String path, String[] consumers ) throws ConsumerException, IOException { - BasicManagedRepository repo = BasicManagedRepository.newFilesystemInstance( Paths.get(path).getFileName().toString(), "Archiva CLI Provided Repo", Paths.get(path).getParent()); + BasicManagedRepository repo = BasicManagedRepository.newFilesystemInstance( Paths.get(path).getFileName().toString(), "Archiva CLI Provided Repo", Paths.get(path)); repo.setLocation( Paths.get(path).toUri() ); List<KnownRepositoryContentConsumer> knownConsumerList = new ArrayList<>(); |