@Named public class DefaultTeslaAether extends Object implements TeslaAether
DEFAULT_LOCAL_REPOSITORY, DEFAULT_REMOTE_REPOSITORY, LOCAL_REPOSITORY, LOCAL_REPOSITORY_CONF, REMOTE_REPOSITORY, REMOTE_REPOSITORY_CONF| Constructor and Description |
|---|
DefaultTeslaAether() |
DefaultTeslaAether(File localRepository,
String... remoteRepositoryUris) |
DefaultTeslaAether(List<org.eclipse.aether.repository.RemoteRepository> remoteRepositories,
org.eclipse.aether.RepositorySystemSession repositorySystemSession) |
DefaultTeslaAether(org.eclipse.aether.RepositorySystem system,
org.eclipse.aether.RepositorySystemSession session,
org.apache.maven.model.building.ModelBuilder modelBuilder,
org.eclipse.aether.impl.ArtifactResolver artifactResolver,
org.eclipse.aether.impl.RemoteRepositoryManager remoteRepositoryManager,
org.eclipse.aether.repository.RemoteRepository remoteRepository) |
DefaultTeslaAether(String localRepository,
List<String> remoteRepositoryUris) |
DefaultTeslaAether(String localRepository,
Repository... remoteRepositories) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
findAllVersions(String gaVersionRange) |
org.eclipse.aether.artifact.ArtifactType |
getArtifactType(String typeId) |
org.eclipse.aether.resolution.ArtifactResult |
resolveArtifact(org.eclipse.aether.artifact.Artifact artifact) |
org.eclipse.aether.resolution.ArtifactResult |
resolveArtifact(String coordinate) |
List<org.eclipse.aether.artifact.Artifact> |
resolveArtifacts(org.eclipse.aether.artifact.Artifact artifact) |
List<org.eclipse.aether.artifact.Artifact> |
resolveArtifacts(org.eclipse.aether.resolution.DependencyRequest request) |
List<org.eclipse.aether.artifact.Artifact> |
resolveArtifacts(File modelFile) |
List<org.eclipse.aether.artifact.Artifact> |
resolveArtifacts(String coordinate) |
org.apache.maven.model.Model |
resolveModel(File pom) |
org.apache.maven.model.Model |
resolveModel(String coordinate) |
List<File> |
resolveWorkspace(Workspace workspace) |
public DefaultTeslaAether()
public DefaultTeslaAether(String localRepository, List<String> remoteRepositoryUris)
public DefaultTeslaAether(String localRepository, Repository... remoteRepositories)
public DefaultTeslaAether(List<org.eclipse.aether.repository.RemoteRepository> remoteRepositories, org.eclipse.aether.RepositorySystemSession repositorySystemSession)
@Inject
public DefaultTeslaAether(org.eclipse.aether.RepositorySystem system,
org.eclipse.aether.RepositorySystemSession session,
org.apache.maven.model.building.ModelBuilder modelBuilder,
org.eclipse.aether.impl.ArtifactResolver artifactResolver,
org.eclipse.aether.impl.RemoteRepositoryManager remoteRepositoryManager,
@Nullable
org.eclipse.aether.repository.RemoteRepository remoteRepository)
public org.apache.maven.model.Model resolveModel(File pom) throws org.apache.maven.model.building.ModelBuildingException
resolveModel in interface TeslaAetherorg.apache.maven.model.building.ModelBuildingExceptionpublic org.apache.maven.model.Model resolveModel(String coordinate) throws org.apache.maven.model.building.ModelBuildingException, org.eclipse.aether.resolution.ArtifactResolutionException
resolveModel in interface TeslaAetherorg.apache.maven.model.building.ModelBuildingExceptionorg.eclipse.aether.resolution.ArtifactResolutionExceptionpublic org.eclipse.aether.resolution.ArtifactResult resolveArtifact(String coordinate) throws org.eclipse.aether.resolution.ArtifactResolutionException
resolveArtifact in interface TeslaAetherorg.eclipse.aether.resolution.ArtifactResolutionExceptionpublic org.eclipse.aether.resolution.ArtifactResult resolveArtifact(org.eclipse.aether.artifact.Artifact artifact)
throws org.eclipse.aether.resolution.ArtifactResolutionException
resolveArtifact in interface TeslaAetherorg.eclipse.aether.resolution.ArtifactResolutionExceptionpublic List<org.eclipse.aether.artifact.Artifact> resolveArtifacts(String coordinate) throws org.eclipse.aether.resolution.DependencyResolutionException
resolveArtifacts in interface TeslaAetherorg.eclipse.aether.resolution.DependencyResolutionExceptionpublic List<org.eclipse.aether.artifact.Artifact> resolveArtifacts(org.eclipse.aether.artifact.Artifact artifact) throws org.eclipse.aether.resolution.DependencyResolutionException
resolveArtifacts in interface TeslaAetherorg.eclipse.aether.resolution.DependencyResolutionExceptionpublic List<org.eclipse.aether.artifact.Artifact> resolveArtifacts(org.eclipse.aether.resolution.DependencyRequest request) throws org.eclipse.aether.resolution.DependencyResolutionException
resolveArtifacts in interface TeslaAetherorg.eclipse.aether.resolution.DependencyResolutionExceptionpublic List<org.eclipse.aether.artifact.Artifact> resolveArtifacts(File modelFile) throws org.apache.maven.model.building.ModelBuildingException, org.eclipse.aether.resolution.DependencyResolutionException
resolveArtifacts in interface TeslaAetherorg.apache.maven.model.building.ModelBuildingExceptionorg.eclipse.aether.resolution.DependencyResolutionExceptionpublic org.eclipse.aether.artifact.ArtifactType getArtifactType(String typeId)
getArtifactType in interface TeslaAetherpublic List<String> findAllVersions(String gaVersionRange) throws org.eclipse.aether.resolution.VersionRangeResolutionException
findAllVersions in interface TeslaAetherorg.eclipse.aether.resolution.VersionRangeResolutionExceptionpublic List<File> resolveWorkspace(Workspace workspace) throws org.apache.maven.model.building.ModelBuildingException, org.eclipse.aether.resolution.DependencyResolutionException
resolveWorkspace in interface TeslaAetherorg.apache.maven.model.building.ModelBuildingExceptionorg.eclipse.aether.resolution.DependencyResolutionExceptionCopyright © 2013. All Rights Reserved.