diff options
author | Martin Stockhammer <martin_s@apache.org> | 2020-06-04 20:12:32 +0200 |
---|---|---|
committer | Martin Stockhammer <martin_s@apache.org> | 2020-06-04 20:12:32 +0200 |
commit | de76d28cabf469eefba38a8c533c7d0b7f7e76dc (patch) | |
tree | 8df9eee03e98fa5400b9d75e41001dd89b123394 /archiva-modules/archiva-maven/archiva-maven-scheduler | |
parent | cb0e5f8eeab97320617eeb026be5e47d0ab50af8 (diff) | |
download | archiva-de76d28cabf469eefba38a8c533c7d0b7f7e76dc.tar.gz archiva-de76d28cabf469eefba38a8c533c7d0b7f7e76dc.zip |
Adding getroot method for repository
Diffstat (limited to 'archiva-modules/archiva-maven/archiva-maven-scheduler')
-rw-r--r-- | archiva-modules/archiva-maven/archiva-maven-scheduler/src/test/java/org/apache/archiva/scheduler/indexing/maven/ArchivaIndexingTaskExecutorTest.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/archiva-modules/archiva-maven/archiva-maven-scheduler/src/test/java/org/apache/archiva/scheduler/indexing/maven/ArchivaIndexingTaskExecutorTest.java b/archiva-modules/archiva-maven/archiva-maven-scheduler/src/test/java/org/apache/archiva/scheduler/indexing/maven/ArchivaIndexingTaskExecutorTest.java index 64433fe39..3f44b5f8a 100644 --- a/archiva-modules/archiva-maven/archiva-maven-scheduler/src/test/java/org/apache/archiva/scheduler/indexing/maven/ArchivaIndexingTaskExecutorTest.java +++ b/archiva-modules/archiva-maven/archiva-maven-scheduler/src/test/java/org/apache/archiva/scheduler/indexing/maven/ArchivaIndexingTaskExecutorTest.java @@ -132,7 +132,7 @@ public class ArchivaIndexingTaskExecutorTest public void testAddArtifactToIndex() throws Exception { - Path basePath = repo.getAsset("").getFilePath(); + Path basePath = repo.getLocalPath().getFilePath(); Path artifactFile = basePath.resolve( "org/apache/archiva/archiva-index-methods-jar-test/1.0/archiva-index-methods-jar-test-1.0.jar" ); @@ -174,7 +174,7 @@ public class ArchivaIndexingTaskExecutorTest public void testUpdateArtifactInIndex() throws Exception { - Path basePath = repo.getAsset("").getFilePath(); + Path basePath = repo.getLocalPath().getFilePath(); Path artifactFile = basePath.resolve( "org/apache/archiva/archiva-index-methods-jar-test/1.0/archiva-index-methods-jar-test-1.0.jar" ); @@ -211,7 +211,7 @@ public class ArchivaIndexingTaskExecutorTest public void testRemoveArtifactFromIndex() throws Exception { - Path basePath = repo.getAsset("").getFilePath(); + Path basePath = repo.getLocalPath().getFilePath(); Path artifactFile = basePath.resolve( "org/apache/archiva/archiva-index-methods-jar-test/1.0/archiva-index-methods-jar-test-1.0.jar" ); @@ -274,7 +274,7 @@ public class ArchivaIndexingTaskExecutorTest throws Exception { - Path basePath = repo.getAsset("").getFilePath(); + Path basePath = repo.getLocalPath().getFilePath(); IndexCreationFeature icf = repo.getFeature( IndexCreationFeature.class ).get(); StorageAsset packedIndexDirectory = icf.getLocalPackedIndexPath(); StorageAsset indexerDirectory = icf.getLocalIndexPath(); |