public class DefaultModelResolver extends Object implements org.apache.maven.model.resolution.ModelResolver
DefaultArtifactDescriptorReader
Constructor and Description |
---|
DefaultModelResolver(org.sonatype.aether.RepositorySystemSession session,
org.sonatype.aether.RequestTrace trace,
String context,
org.sonatype.aether.impl.ArtifactResolver resolver,
org.sonatype.aether.impl.RemoteRepositoryManager remoteRepositoryManager,
List<org.sonatype.aether.repository.RemoteRepository> repositories) |
Modifier and Type | Method and Description |
---|---|
void |
addRepository(org.apache.maven.model.Repository repository) |
org.apache.maven.model.resolution.ModelResolver |
newCopy() |
org.apache.maven.model.building.ModelSource |
resolveModel(String groupId,
String artifactId,
String version) |
public DefaultModelResolver(org.sonatype.aether.RepositorySystemSession session, org.sonatype.aether.RequestTrace trace, String context, org.sonatype.aether.impl.ArtifactResolver resolver, org.sonatype.aether.impl.RemoteRepositoryManager remoteRepositoryManager, List<org.sonatype.aether.repository.RemoteRepository> repositories)
public void addRepository(org.apache.maven.model.Repository repository) throws org.apache.maven.model.resolution.InvalidRepositoryException
addRepository
in interface org.apache.maven.model.resolution.ModelResolver
org.apache.maven.model.resolution.InvalidRepositoryException
public org.apache.maven.model.resolution.ModelResolver newCopy()
newCopy
in interface org.apache.maven.model.resolution.ModelResolver
public org.apache.maven.model.building.ModelSource resolveModel(String groupId, String artifactId, String version) throws org.apache.maven.model.resolution.UnresolvableModelException
resolveModel
in interface org.apache.maven.model.resolution.ModelResolver
org.apache.maven.model.resolution.UnresolvableModelException
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.