eu.lindenbaum.maven
Interface MavenComponents

All Known Implementing Classes:
MavenComponentsImpl

public interface MavenComponents

Represents a bean interface holding all maven components the plugin uses.

Author:
Tobias Schlager

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 Artifacts.
 List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories()
          Returns a list of remote ArtifactRepository storing dependencies of this MavenProject.
 

Method Detail

localRepository

org.apache.maven.artifact.repository.ArtifactRepository localRepository()
Returns the local ArtifactRepository storing dependencies of this MavenProject.


remoteRepositories

List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories()
Returns a list of remote ArtifactRepository storing dependencies of this MavenProject.


metadataSource

org.apache.maven.artifact.metadata.ArtifactMetadataSource metadataSource()
Returns the ArtifactMetadataSource used to query metadata information for Artifacts.


artifactFactory

org.apache.maven.artifact.factory.ArtifactFactory artifactFactory()
Returns a factory that can be used create Artifact objects.


artifactResolver

org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver()
Returns an ArtifactResolver that can resolve/download artifacts from remote repositories into the local repository.



Copyright © 2011 Lindenbaum GmbH. All Rights Reserved.