org.apache.maven.plugin.dependency
public abstract class AbstractFromDependenciesMojo extends AbstractDependencyFilterMojo
Modifier and Type | Field and Description |
---|---|
protected boolean |
copyPom
Also copy the pom of each artifact.
|
protected boolean |
failOnMissingClassifierArtifact
This only applies if the classifier parameter is used.
|
protected java.io.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 |
useSubDirectoryPerType
Place each type of file in a separate subdirectory.
|
classifier, excludeArtifactIds, excludeClassifiers, excludeGroupIds, excludeScope, excludeTransitive, excludeTypes, includeArtifactIds, includeClassifiers, includeGroupIds, includeScope, includeTypes, markersDirectory, overWriteIfNewer, overWriteReleases, overWriteSnapshots, type
archiverManager, artifactCollector, artifactMetadataSource, factory, local, outputAbsoluteArtifactFilename, project, reactorProjects, remoteRepos, resolver, silent
Constructor and Description |
---|
AbstractFromDependenciesMojo() |
Modifier and Type | Method and Description |
---|---|
java.io.File |
getOutputDirectory() |
boolean |
isCopyPom() |
boolean |
isFailOnMissingClassifierArtifact() |
boolean |
isStripVersion() |
boolean |
isUseRepositoryLayout() |
boolean |
isUseSubDirectoryPerArtifact() |
boolean |
isUseSubDirectoryPerType() |
void |
setCopyPom(boolean copyPom) |
void |
setFailOnMissingClassifierArtifact(boolean failOnMissingClassifierArtifact) |
void |
setOutputDirectory(java.io.File theOutputDirectory) |
void |
setStripVersion(boolean stripVersion) |
void |
setUseRepositoryLayout(boolean useRepositoryLayout) |
void |
setUseSubDirectoryPerArtifact(boolean theUseSubDirectoryPerArtifact) |
void |
setUseSubDirectoryPerType(boolean theUseSubDirectoryPerType) |
filterMarkedDependencies, getClassifierTranslatedDependencies, getDependencySets, getMarkedArtifactFilter, getMarkersDirectory, getResolvedDependencies, setMarkersDirectory
copyFile, getArchiverManager, getArtifactCollector, getArtifactMetadataSource, getFactory, getLocal, getLog, getProject, getRemoteRepos, getResolver, setArchiverManager, setArtifactCollector, setArtifactMetadataSource, setFactory, setLocal, setRemoteRepos, setResolver, unpack, unpack
getPluginContext, setLog, setPluginContext
protected boolean stripVersion
protected java.io.File outputDirectory
protected boolean useRepositoryLayout
protected boolean copyPom
protected boolean useSubDirectoryPerType
protected boolean useSubDirectoryPerArtifact
protected boolean failOnMissingClassifierArtifact
public java.io.File getOutputDirectory()
public void setOutputDirectory(java.io.File theOutputDirectory)
theOutputDirectory
- The outputDirectory to set.public boolean isUseSubDirectoryPerArtifact()
public void setUseSubDirectoryPerArtifact(boolean theUseSubDirectoryPerArtifact)
theUseSubDirectoryPerArtifact
- The useSubDirectoryPerArtifact 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 copiedCopyright © 2014. All Rights Reserved.