@Test public void testLoad() throws Exception { resolver.load("com.databricks:spark-csv_2.10:1.3.0", testCopyPath); assertEquals(testCopyPath.list().length, 4); FileUtils.cleanDirectory(testCopyPath); resolver.load("com.databricks:spark-csv_2.10:1.3.0", Collections.singletonList("org.scala-lang:scala-library"), testCopyPath); assertEquals(testCopyPath.list().length, 3); FileUtils.cleanDirectory(testCopyPath); resolver.addRepo("sonatype", "https: resolver.load("com.agimatec:agimatec-validation:0.9.3", testCopyPath); assertEquals(testCopyPath.list().length, 8); resolver.delRepo("sonatype"); exception.expect(RepositoryException.class); resolver.load("com.agimatec:agimatec-validation:0.9.3", testCopyPath); }
public List<File> load(String artifact) throws RepositoryException, IOException { return load(artifact, new LinkedList<String>()); }
DependencyResolver extends AbstractDependencyResolver { public List<File> load(String artifact) throws RepositoryException, IOException { return load(artifact, new LinkedList<String>()); } }
DependencyResolver extends AbstractDependencyResolver { public List<File> load(String artifact) throws RepositoryException, IOException { return load(artifact, new LinkedList<String>()); } DependencyResolver(String localRepoPath); }
DependencyResolver extends AbstractDependencyResolver { public List<File> load(String artifact) throws RepositoryException, IOException { return load(artifact, new LinkedList<String>()); } DependencyResolver(String localRepoPath); List<File> load(String artifact); synchronized List<File> load(String artifact, Collection<String> excludes); List<File> load(String artifact, File destPath); List<File> load(String artifact, Collection<String> excludes, File destPath); synchronized void copyLocalDependency(String srcPath, File destPath); @Override List<ArtifactResult> getArtifactsWithDep(String dependency,
    Collection<String> excludes); }
DependencyResolver extends AbstractDependencyResolver { public List<File> load(String artifact) throws RepositoryException, IOException { return load(artifact, new LinkedList<String>()); } DependencyResolver(String localRepoPath); List<File> load(String artifact); synchronized List<File> load(String artifact, Collection<String> excludes); List<File> load(String artifact, File destPath); List<File> load(String artifact, Collection<String> excludes, File destPath); synchronized void copyLocalDependency(String srcPath, File destPath); @Override List<ArtifactResult> getArtifactsWithDep(String dependency,
    Collection<String> excludes);  }