| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.dependency.AbstractDependencyMojo
org.apache.maven.plugin.dependency.AbstractDependencyFilterMojo
org.apache.maven.plugin.dependency.AbstractFromDependenciesMojo
public abstract class AbstractFromDependenciesMojo
Abstract Parent class used by mojos that get Artifact information from the project dependencies.
| Field Summary | |
|---|---|
protected  boolean | 
copyPom
Also copy the pom of each artifact.  | 
protected  boolean | 
failOnMissingClassifierArtifact
This only applies if the classifier parameter is used.  | 
protected  File | 
outputDirectory
Default location used for mojo unless overridden in ArtifactItem  | 
protected  boolean | 
stripVersion
Strip artifact version during copy  | 
protected  boolean | 
useRepositoryLayout
Place each artifact in the same directory layout as a default repository.  | 
protected  boolean | 
useSubDirectoryPerArtifact
Place each file in a separate subdirectory.  | 
protected  boolean | 
useSubDirectoryPerScope
Place each type of file in a separate subdirectory.  | 
protected  boolean | 
useSubDirectoryPerType
Place each type of file in a separate subdirectory.  | 
| Fields inherited from class org.apache.maven.plugin.dependency.AbstractDependencyFilterMojo | 
|---|
classifier, excludeArtifactIds, excludeClassifiers, excludeGroupIds, excludeScope, excludeTransitive, excludeTypes, includeArtifactIds, includeClassifiers, includeGroupIds, includeScope, includeTypes, markersDirectory, overWriteIfNewer, overWriteReleases, overWriteSnapshots, prependGroupId, type | 
| Fields inherited from class org.apache.maven.plugin.dependency.AbstractDependencyMojo | 
|---|
archiverManager, artifactCollector, artifactMetadataSource, factory, outputAbsoluteArtifactFilename, project, reactorProjects, remoteRepos, resolver, silent | 
| Fields inherited from interface org.apache.maven.plugin.Mojo | 
|---|
ROLE | 
| Constructor Summary | |
|---|---|
AbstractFromDependenciesMojo()
 | 
|
| Method Summary | |
|---|---|
 File | 
getOutputDirectory()
 | 
 boolean | 
isCopyPom()
 | 
 boolean | 
isFailOnMissingClassifierArtifact()
 | 
 boolean | 
isStripVersion()
 | 
 boolean | 
isUseRepositoryLayout()
 | 
 boolean | 
isUseSubDirectoryPerArtifact()
 | 
 boolean | 
isUseSubDirectoryPerScope()
 | 
 boolean | 
isUseSubDirectoryPerType()
 | 
 void | 
setCopyPom(boolean copyPom)
 | 
 void | 
setFailOnMissingClassifierArtifact(boolean failOnMissingClassifierArtifact)
 | 
 void | 
setOutputDirectory(File theOutputDirectory)
 | 
 void | 
setStripVersion(boolean stripVersion)
 | 
 void | 
setUseRepositoryLayout(boolean useRepositoryLayout)
 | 
 void | 
setUseSubDirectoryPerArtifact(boolean theUseSubDirectoryPerArtifact)
 | 
 void | 
setUseSubDirectoryPerScope(boolean theUseSubDirectoryPerScope)
 | 
 void | 
setUseSubDirectoryPerType(boolean theUseSubDirectoryPerType)
 | 
| Methods inherited from class org.apache.maven.plugin.dependency.AbstractDependencyFilterMojo | 
|---|
filterMarkedDependencies, getClassifierTranslatedDependencies, getDependencySets, getMarkedArtifactFilter, getMarkersDirectory, getResolvedDependencies, isPrependGroupId, setMarkersDirectory, setPrependGroupId | 
| Methods inherited from class org.apache.maven.plugin.dependency.AbstractDependencyMojo | 
|---|
copyFile, getArchiverManager, getArtifactCollector, getArtifactMetadataSource, getFactory, getLocal, getLog, getProject, getRemoteRepos, getResolver, setArchiverManager, setArtifactCollector, setArtifactMetadataSource, setFactory, setLocal, setRemoteRepos, setResolver, unpack, unpack | 
| Methods inherited from class org.apache.maven.plugin.AbstractMojo | 
|---|
getPluginContext, setLog, setPluginContext | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface org.apache.maven.plugin.Mojo | 
|---|
execute | 
| Field Detail | 
|---|
@Parameter(property="mdep.stripVersion",
           defaultValue="false")
protected boolean stripVersion
@Parameter(property="outputDirectory",
           defaultValue="${project.build.directory}/dependency")
protected File outputDirectory
@Parameter(property="mdep.useRepositoryLayout",
           defaultValue="false")
protected boolean useRepositoryLayout
@Parameter(property="mdep.copyPom",
           defaultValue="false")
protected boolean copyPom
@Parameter(property="mdep.useSubDirectoryPerScope",
           defaultValue="false")
protected boolean useSubDirectoryPerScope
@Parameter(property="mdep.useSubDirectoryPerType",
           defaultValue="false")
protected boolean useSubDirectoryPerType
@Parameter(property="mdep.useSubDirectoryPerArtifact",
           defaultValue="false")
protected boolean useSubDirectoryPerArtifact
/outputDirectory/junit-3.8.1-jar)
@Parameter(property="mdep.failOnMissingClassifierArtifact",
           defaultValue="false")
protected boolean failOnMissingClassifierArtifact
| Constructor Detail | 
|---|
public AbstractFromDependenciesMojo()
| Method Detail | 
|---|
public File getOutputDirectory()
public void setOutputDirectory(File theOutputDirectory)
theOutputDirectory - The outputDirectory to set.public boolean isUseSubDirectoryPerArtifact()
public void setUseSubDirectoryPerArtifact(boolean theUseSubDirectoryPerArtifact)
theUseSubDirectoryPerArtifact - The useSubDirectoryPerArtifact to set.public boolean isUseSubDirectoryPerScope()
public void setUseSubDirectoryPerScope(boolean theUseSubDirectoryPerScope)
theUseSubDirectoryPerScope - The useSubDirectoryPerScope to set.public boolean isUseSubDirectoryPerType()
public void setUseSubDirectoryPerType(boolean theUseSubDirectoryPerType)
theUseSubDirectoryPerType - The useSubDirectoryPerType to set.public boolean isFailOnMissingClassifierArtifact()
public void setFailOnMissingClassifierArtifact(boolean failOnMissingClassifierArtifact)
public boolean isStripVersion()
public void setStripVersion(boolean stripVersion)
public boolean isUseRepositoryLayout()
public void setUseRepositoryLayout(boolean useRepositoryLayout)
useRepositoryLayout - -
                            true if dependencies must be planted in a repository layoutpublic boolean isCopyPom()
public void setCopyPom(boolean copyPom)
copyPom - - true if the pom of each artifact must be copied
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||