org.codehaus.mojo.dependency

Class AbstractFromDependenciesMojo

public abstract class AbstractFromDependenciesMojo extends AbstractMojo

Abstract Parent class used by mojos that get Artifact information from the project dependencies.

Author: brianf

Field Summary
protected ArchiverManagerarchiverManager
To look up Archiver/UnArchiver implementations
protected FileoutputDirectory
Output location used for mojo.
Method Summary
protected SetgetDependencies()
Retrieves all artifact dependencies within the reactor
protected MapgetMappedReactorArtifacts()
Creates a Map of artifacts within the reactor using the groupId:artifactId:classifer:version as key

Field Detail

archiverManager

protected ArchiverManager archiverManager
To look up Archiver/UnArchiver implementations

UNKNOWN: expression="${component.org.codehaus.plexus.archiver.manager.ArchiverManager}"

outputDirectory

protected File outputDirectory
Output location used for mojo.

UNKNOWN: expression="${outputDirectory}" default-value="${project.build.directory}/dependency"

Method Detail

getDependencies

protected Set getDependencies()
Retrieves all artifact dependencies within the reactor

Returns: A HashSet of artifacts

getMappedReactorArtifacts

protected Map getMappedReactorArtifacts()
Creates a Map of artifacts within the reactor using the groupId:artifactId:classifer:version as key

Returns: A HashMap of all artifacts available in the reactor

Copyright © {inceptionYear}-2007 null. All Rights Reserved.