|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object eu.lindenbaum.maven.MavenComponentsImpl
public class MavenComponentsImpl
Implementation of the MavenComponents
bean that provides maven
components to be used by the plugin.
Constructor Summary | |
---|---|
MavenComponentsImpl(org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories,
org.apache.maven.artifact.metadata.ArtifactMetadataSource metadataSource,
org.apache.maven.artifact.factory.ArtifactFactory artifactFactory,
org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver)
|
Method Summary | |
---|---|
org.apache.maven.artifact.factory.ArtifactFactory |
artifactFactory()
Returns a factory that can be used create Artifact objects. |
org.apache.maven.artifact.resolver.ArtifactResolver |
artifactResolver()
Returns an ArtifactResolver that can resolve/download artifacts
from remote repositories into the local repository. |
org.apache.maven.artifact.repository.ArtifactRepository |
localRepository()
Returns the local ArtifactRepository storing dependencies of this
MavenProject . |
org.apache.maven.artifact.metadata.ArtifactMetadataSource |
metadataSource()
Returns the ArtifactMetadataSource used to query metadata
information for Artifact s. |
List<org.apache.maven.artifact.repository.ArtifactRepository> |
remoteRepositories()
Returns a list of remote ArtifactRepository storing dependencies of
this MavenProject . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MavenComponentsImpl(org.apache.maven.artifact.repository.ArtifactRepository localRepository, List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories, org.apache.maven.artifact.metadata.ArtifactMetadataSource metadataSource, org.apache.maven.artifact.factory.ArtifactFactory artifactFactory, org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver)
Method Detail |
---|
public org.apache.maven.artifact.repository.ArtifactRepository localRepository()
MavenComponents
ArtifactRepository
storing dependencies of this
MavenProject
.
localRepository
in interface MavenComponents
public List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories()
MavenComponents
ArtifactRepository
storing dependencies of
this MavenProject
.
remoteRepositories
in interface MavenComponents
public org.apache.maven.artifact.metadata.ArtifactMetadataSource metadataSource()
MavenComponents
ArtifactMetadataSource
used to query metadata
information for Artifact
s.
metadataSource
in interface MavenComponents
public org.apache.maven.artifact.factory.ArtifactFactory artifactFactory()
MavenComponents
Artifact
objects.
artifactFactory
in interface MavenComponents
public org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver()
MavenComponents
ArtifactResolver
that can resolve/download artifacts
from remote repositories into the local repository.
artifactResolver
in interface MavenComponents
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |