public class AetherArtifactFileResolver extends Object implements ArtifactFileResolver
Constructor and Description |
---|
AetherArtifactFileResolver(org.eclipse.aether.RepositorySystem repoSystem,
org.eclipse.aether.RepositorySystemSession repoSession,
List<org.eclipse.aether.repository.RemoteRepository> remoteRepos) |
Modifier and Type | Method and Description |
---|---|
File |
getArtifactFile(Artifact artifact) |
File |
getArtifactFile(String artifactCoords) |
public AetherArtifactFileResolver(org.eclipse.aether.RepositorySystem repoSystem, org.eclipse.aether.RepositorySystemSession repoSession, List<org.eclipse.aether.repository.RemoteRepository> remoteRepos)
public File getArtifactFile(String artifactCoords)
getArtifactFile
in interface ArtifactFileResolver
artifactCoords
- The artifact coordinates in the format public File getArtifactFile(Artifact artifact)
getArtifactFile
in interface ArtifactFileResolver
Copyright © 2022 JBoss by Red Hat. All rights reserved.