@Test public void resolveAllTest() throws Exception { List<ArtifactResult> results = aether(localRepo, mavenSettings) .resolveAll(ALLURE_MODEL, ALLURE_ANNOTATIONS).get(); assertThat(results.size(), is(2)); }
public AetherResult resolveAll(String... artifactsCoordinates) throws AetherException { List<Artifact> artifacts = new ArrayList<>(); for (String coordinate : artifactsCoordinates) { artifacts.add(new DefaultArtifact(coordinate)); } return resolveAll(artifacts.toArray(new Artifact[artifacts.size()])); }
Aether { public AetherResult resolveAll(String... artifactsCoordinates) throws AetherException { List<Artifact> artifacts = new ArrayList<>(); for (String coordinate : artifactsCoordinates) { artifacts.add(new DefaultArtifact(coordinate)); } return resolveAll(artifacts.toArray(new Artifact[artifacts.size()])); } }
Aether { public AetherResult resolveAll(String... artifactsCoordinates) throws AetherException { List<Artifact> artifacts = new ArrayList<>(); for (String coordinate : artifactsCoordinates) { artifacts.add(new DefaultArtifact(coordinate)); } return resolveAll(artifacts.toArray(new Artifact[artifacts.size()])); } Aether(File localRepoDir, Settings settings);   Aether(RepositorySystem system, RepositorySystemSession session, List<RemoteRepository> repositories); }
Aether { public AetherResult resolveAll(String... artifactsCoordinates) throws AetherException { List<Artifact> artifacts = new ArrayList<>(); for (String coordinate : artifactsCoordinates) { artifacts.add(new DefaultArtifact(coordinate)); } return resolveAll(artifacts.toArray(new Artifact[artifacts.size()])); } Aether(File localRepoDir, Settings settings);   Aether(RepositorySystem system, RepositorySystemSession session, List<RemoteRepository> repositories); static Aether aether(File localRepoDir); static Aether aether(File localRepoDir, Settings settings); static Aether aether(Settings settings); static Aether aether(RepositorySystem system, RepositorySystemSession session, List<RemoteRepository> repositories); Aether scope(String scope); AetherResult resolve(String artifactCoordinates); AetherResult resolve(Artifact artifact); AetherResult resolve(String artifactCoordinates, boolean withTransitives); AetherResult resolve(Artifact artifact, boolean withTransitives); AetherResult resolveAll(String... artifactsCoordinates); AetherResult resolveAll(Artifact... artifacts); List<Artifact> collect(String artifactCoordinates); List<Artifact> collect(Artifact artifact); void install(File jar, String groupId, String artifactId, String version); void install(File jar, String groupId, String artifactId, String extension, String version); void install(File jar, String groupId, String artifactId, String classifier, String extension, String version); void install(File jar, File pom, String groupId, String artifactId, String classifier, String extension, String version); void install(Artifact... artifacts); void deploy(DistributionManagement distribution, File jar, String groupId, String artifactId, String version); void deploy(DistributionManagement distribution, File jar, String groupId, String artifactId,
                       String extension, String version); void deploy(DistributionManagement distribution, File jar, String groupId, String artifactId,
                       String classifier, String extension, String version); void deploy(DistributionManagement distribution, File jar, File pom, String groupId, String artifactId,
                       String classifier, String extension, String version); void deploy(DistributionManagement distribution, Artifact... artifacts); }
Aether { public AetherResult resolveAll(String... artifactsCoordinates) throws AetherException { List<Artifact> artifacts = new ArrayList<>(); for (String coordinate : artifactsCoordinates) { artifacts.add(new DefaultArtifact(coordinate)); } return resolveAll(artifacts.toArray(new Artifact[artifacts.size()])); } Aether(File localRepoDir, Settings settings);   Aether(RepositorySystem system, RepositorySystemSession session, List<RemoteRepository> repositories); static Aether aether(File localRepoDir); static Aether aether(File localRepoDir, Settings settings); static Aether aether(Settings settings); static Aether aether(RepositorySystem system, RepositorySystemSession session, List<RemoteRepository> repositories); Aether scope(String scope); AetherResult resolve(String artifactCoordinates); AetherResult resolve(Artifact artifact); AetherResult resolve(String artifactCoordinates, boolean withTransitives); AetherResult resolve(Artifact artifact, boolean withTransitives); AetherResult resolveAll(String... artifactsCoordinates); AetherResult resolveAll(Artifact... artifacts); List<Artifact> collect(String artifactCoordinates); List<Artifact> collect(Artifact artifact); void install(File jar, String groupId, String artifactId, String version); void install(File jar, String groupId, String artifactId, String extension, String version); void install(File jar, String groupId, String artifactId, String classifier, String extension, String version); void install(File jar, File pom, String groupId, String artifactId, String classifier, String extension, String version); void install(Artifact... artifacts); void deploy(DistributionManagement distribution, File jar, String groupId, String artifactId, String version); void deploy(DistributionManagement distribution, File jar, String groupId, String artifactId,
                       String extension, String version); void deploy(DistributionManagement distribution, File jar, String groupId, String artifactId,
                       String classifier, String extension, String version); void deploy(DistributionManagement distribution, File jar, File pom, String groupId, String artifactId,
                       String classifier, String extension, String version); void deploy(DistributionManagement distribution, Artifact... artifacts); static final String MAVEN_CENTRAL_URL; static final String POM_EXTENSION; static final String MODEL_VERSION; static final String JAR; static final String POM_XML; static final String AETHER_TEMP_FILE_PREFIX; }