public final class DependencyResolver extends Object
Constructor and Description |
---|
DependencyResolver(org.codehaus.plexus.logging.Logger log,
org.apache.maven.shared.dependency.graph.DependencyGraphBuilder dependencyGraphBuilder) |
Modifier and Type | Method and Description |
---|---|
Set<org.apache.maven.artifact.Artifact> |
getLibraryDependenciesFor(org.apache.maven.execution.MavenSession session,
org.apache.maven.repository.RepositorySystem repositorySystem,
org.apache.maven.artifact.Artifact artifact)
Returns the Set of APKLIB, AAR, APK (direct or transitive) dependencies of the supplied artifact.
|
Set<org.apache.maven.artifact.Artifact> |
getProjectDependenciesFor(org.apache.maven.project.MavenProject project,
org.apache.maven.execution.MavenSession session) |
public DependencyResolver(org.codehaus.plexus.logging.Logger log, org.apache.maven.shared.dependency.graph.DependencyGraphBuilder dependencyGraphBuilder)
public Set<org.apache.maven.artifact.Artifact> getProjectDependenciesFor(org.apache.maven.project.MavenProject project, org.apache.maven.execution.MavenSession session) throws org.apache.maven.shared.dependency.graph.DependencyGraphBuilderException
project
- MavenProject for which to return the dependencies.session
- MavenSession in which to look for reactor dependencies.org.apache.maven.shared.dependency.graph.DependencyGraphBuilderException
- if the dependency graph can't be built.public Set<org.apache.maven.artifact.Artifact> getLibraryDependenciesFor(org.apache.maven.execution.MavenSession session, org.apache.maven.repository.RepositorySystem repositorySystem, org.apache.maven.artifact.Artifact artifact) throws org.apache.maven.plugin.MojoExecutionException
session
- MavenSession in which to resolve the artifacts.repositorySystem
- RepositorySystem with which to resolve the artifacts.artifact
- Artifact for whom to get the dependencies.org.apache.maven.plugin.MojoExecutionException
- if it couldn't resolve any of the dependencies.Copyright © 2008–2019 simpligility technologies inc.. All rights reserved.