public class ProjectModelResolver extends Object implements ModelResolver
Constructor and Description |
---|
ProjectModelResolver(org.eclipse.aether.RepositorySystemSession session,
org.eclipse.aether.RequestTrace trace,
org.eclipse.aether.RepositorySystem resolver,
org.eclipse.aether.impl.RemoteRepositoryManager remoteRepositoryManager,
List<org.eclipse.aether.repository.RemoteRepository> repositories,
ProjectBuildingRequest.RepositoryMerging repositoryMerging,
org.apache.maven.project.ReactorModelPool modelPool) |
Modifier and Type | Method and Description |
---|---|
void |
addRepository(Repository repository) |
void |
addRepository(Repository repository,
boolean replace) |
ModelResolver |
newCopy() |
ModelSource |
resolveModel(Parent parent) |
ModelSource |
resolveModel(String groupId,
String artifactId,
String version) |
public ProjectModelResolver(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.RequestTrace trace, org.eclipse.aether.RepositorySystem resolver, org.eclipse.aether.impl.RemoteRepositoryManager remoteRepositoryManager, List<org.eclipse.aether.repository.RemoteRepository> repositories, ProjectBuildingRequest.RepositoryMerging repositoryMerging, org.apache.maven.project.ReactorModelPool modelPool)
public void addRepository(Repository repository) throws InvalidRepositoryException
addRepository
in interface ModelResolver
InvalidRepositoryException
public void addRepository(Repository repository, boolean replace) throws InvalidRepositoryException
addRepository
in interface ModelResolver
InvalidRepositoryException
public ModelResolver newCopy()
newCopy
in interface ModelResolver
public ModelSource resolveModel(String groupId, String artifactId, String version) throws UnresolvableModelException
resolveModel
in interface ModelResolver
UnresolvableModelException
public ModelSource resolveModel(Parent parent) throws UnresolvableModelException
resolveModel
in interface ModelResolver
UnresolvableModelException
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.