|
Forge - Parent 1.0.6-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.forge.maven.dependencies.RepositoryLookup
@Dependent public class RepositoryLookup
Constructor Summary | |
---|---|
RepositoryLookup()
|
|
RepositoryLookup(MavenContainer container,
ResourceFactory factory,
ForgeEnvironment environment)
|
Method Summary | |
---|---|
org.sonatype.aether.artifact.Artifact |
dependencyToMavenArtifact(Dependency dep)
|
List<DependencyResource> |
resolveArtifacts(Dependency query)
Resolve a set of DependencyResource artifacts matching the given query, searching in the default
repository. |
List<DependencyResource> |
resolveArtifacts(Dependency query,
DependencyRepository repository)
Resolve a set of DependencyResource artifacts matching the given query, searching in only the given
DependencyRepository . |
List<DependencyResource> |
resolveArtifacts(Dependency dep,
List<DependencyRepository> repositories)
Resolve a set of DependencyResource artifacts matching the given query, searching in only the given list
of DependencyRepository instances. |
List<DependencyResource> |
resolveDependencies(Dependency query)
Resolve a set of DependencyResource dependencies for the given query, searching in the default repository. |
List<DependencyResource> |
resolveDependencies(Dependency query,
DependencyRepository repository)
Resolve a set of DependencyResource dependencies for the given query, searching in only the given
DependencyRepository . |
List<DependencyResource> |
resolveDependencies(Dependency dep,
List<DependencyRepository> repositories)
Resolve a set of DependencyResource dependencies for the given query, searching in only the given list of
DependencyRepository instances. |
DependencyMetadata |
resolveDependencyMetadata(Dependency query)
Resolve DependencyMetadata for a given Dependency , searching the default repository. |
DependencyMetadata |
resolveDependencyMetadata(Dependency query,
DependencyRepository repository)
Resolve DependencyMetadata for a given Dependency , searching only the given
DependencyRepository . |
DependencyMetadata |
resolveDependencyMetadata(Dependency query,
List<DependencyRepository> repositories)
Resolve DependencyMetadata for a given Dependency , searching only the given
DependencyRepository instances. |
List<Dependency> |
resolveVersions(Dependency query)
Resolve a set of Dependency versions matching the given query, searching in the default repository. |
List<Dependency> |
resolveVersions(Dependency query,
DependencyRepository repository)
Resolve a set of Dependency versions matching the given query, searching in only the given
DependencyRepository . |
List<Dependency> |
resolveVersions(Dependency dep,
List<DependencyRepository> repositories)
Resolve a set of Dependency versions matching the given query, searching in only the given list of
DependencyRepository instances. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RepositoryLookup()
@Inject public RepositoryLookup(MavenContainer container, ResourceFactory factory, ForgeEnvironment environment)
Method Detail |
---|
public List<DependencyResource> resolveArtifacts(Dependency query)
DependencyResolverProvider
DependencyResource
artifacts matching the given query, searching in the default
repository.
resolveArtifacts
in interface DependencyResolverProvider
public List<DependencyResource> resolveArtifacts(Dependency query, DependencyRepository repository)
DependencyResolverProvider
DependencyResource
artifacts matching the given query, searching in only the given
DependencyRepository
.
resolveArtifacts
in interface DependencyResolverProvider
public List<DependencyResource> resolveArtifacts(Dependency dep, List<DependencyRepository> repositories)
DependencyResolverProvider
DependencyResource
artifacts matching the given query, searching in only the given list
of DependencyRepository
instances.
resolveArtifacts
in interface DependencyResolverProvider
public List<DependencyResource> resolveDependencies(Dependency query)
DependencyResolverProvider
DependencyResource
dependencies for the given query, searching in the default repository.
resolveDependencies
in interface DependencyResolverProvider
DependencyResource
dependencies on which the given query artifact depends.public List<DependencyResource> resolveDependencies(Dependency query, DependencyRepository repository)
DependencyResolverProvider
DependencyResource
dependencies for the given query, searching in only the given
DependencyRepository
.
resolveDependencies
in interface DependencyResolverProvider
DependencyResource
dependencies on which the given query artifact depends.public List<DependencyResource> resolveDependencies(Dependency dep, List<DependencyRepository> repositories)
DependencyResolverProvider
DependencyResource
dependencies for the given query, searching in only the given list of
DependencyRepository
instances.
resolveDependencies
in interface DependencyResolverProvider
DependencyResource
dependencies on which the given query artifact depends.public DependencyMetadata resolveDependencyMetadata(Dependency query)
DependencyResolverProvider
DependencyMetadata
for a given Dependency
, searching the default repository. This returns
information about the configured repositories, dependencies, and managed dependencies of the specified query.
Note: This method does not accept version ranges. A single version must be specified.
Valid query version: 1.0
Invalid query version: [1.0,2.0]
resolveDependencyMetadata
in interface DependencyResolverProvider
public DependencyMetadata resolveDependencyMetadata(Dependency query, DependencyRepository repository)
DependencyResolverProvider
DependencyMetadata
for a given Dependency
, searching only the given
DependencyRepository
. This returns information about the configured repositories, dependencies, and
managed dependencies of the specified query.
Note: This method does not accept version ranges. A single version must be specified.
Valid query version: 1.0
Invalid query version: [1.0,2.0]
resolveDependencyMetadata
in interface DependencyResolverProvider
public DependencyMetadata resolveDependencyMetadata(Dependency query, List<DependencyRepository> repositories)
DependencyResolverProvider
DependencyMetadata
for a given Dependency
, searching only the given
DependencyRepository
instances. This returns information about the configured repositories, dependencies,
and managed dependencies of the specified query.
Note: This method does not accept version ranges. A single version must be specified.
Valid query version: 1.0
Invalid query version: [1.0,2.0]
resolveDependencyMetadata
in interface DependencyResolverProvider
public List<Dependency> resolveVersions(Dependency query)
DependencyResolverProvider
Dependency
versions matching the given query, searching in the default repository.
resolveVersions
in interface DependencyResolverProvider
public List<Dependency> resolveVersions(Dependency query, DependencyRepository repository)
DependencyResolverProvider
Dependency
versions matching the given query, searching in only the given
DependencyRepository
.
resolveVersions
in interface DependencyResolverProvider
public List<Dependency> resolveVersions(Dependency dep, List<DependencyRepository> repositories)
DependencyResolverProvider
Dependency
versions matching the given query, searching in only the given list of
DependencyRepository
instances.
resolveVersions
in interface DependencyResolverProvider
public org.sonatype.aether.artifact.Artifact dependencyToMavenArtifact(Dependency dep)
|
Forge - Parent 1.0.6-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |