|
||||||||||
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
org.apache.maven.plugin.dependency.CopyDependenciesMojo
public class CopyDependenciesMojo
Goal that copies the project dependencies from the repository to a defined location.
Field Summary |
---|
Fields inherited from class org.apache.maven.plugin.dependency.AbstractFromDependenciesMojo |
---|
failOnMissingClassifierArtifact, outputDirectory, stripVersion, useRepositoryLayout, useSubDirectoryPerArtifact, useSubDirectoryPerType |
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, type |
Fields inherited from class org.apache.maven.plugin.dependency.AbstractDependencyMojo |
---|
archiverManager, artifactCollector, artifactMetadataSource, factory, local, outputAbsoluteArtifactFilename, project, reactorProjects, remoteRepos, resolver, silent |
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
CopyDependenciesMojo()
|
Method Summary | |
---|---|
protected void |
copyArtifact(org.apache.maven.artifact.Artifact artifact,
boolean removeVersion)
Copies the Artifact after building the destination file name if overridden. |
void |
execute()
Main entry into mojo. |
protected ArtifactsFilter |
getMarkedArtifactFilter()
|
Methods inherited from class org.apache.maven.plugin.dependency.AbstractFromDependenciesMojo |
---|
getOutputDirectory, isFailOnMissingClassifierArtifact, isStripVersion, isUseRepositoryLayout, isUseSubDirectoryPerArtifact, isUseSubDirectoryPerType, setFailOnMissingClassifierArtifact, setOutputDirectory, setStripVersion, setUseRepositoryLayout, setUseSubDirectoryPerArtifact, setUseSubDirectoryPerType |
Methods inherited from class org.apache.maven.plugin.dependency.AbstractDependencyFilterMojo |
---|
filterMarkedDependencies, getClassifierTranslatedDependencies, getDependencySets, getMarkersDirectory, getResolvedDependencies, setMarkersDirectory |
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 |
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 |
Constructor Detail |
---|
public CopyDependenciesMojo()
Method Detail |
---|
public void execute() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
- with a message if an error occurs.#getDependencies
,
copyArtifact(Artifact, boolean)
protected void copyArtifact(org.apache.maven.artifact.Artifact artifact, boolean removeVersion) throws org.apache.maven.plugin.MojoExecutionException
artifact
- representing the object to be copied.removeVersion
- specifies if the version should be removed from the file name
when copying.
org.apache.maven.plugin.MojoExecutionException
- with a message if an error occurs.DependencyUtil#copyFile(File, File, Log)
,
DependencyUtil.getFormattedFileName(Artifact, boolean)
protected ArtifactsFilter getMarkedArtifactFilter()
getMarkedArtifactFilter
in class AbstractDependencyFilterMojo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |