org.apache.maven.ant.tasks
Class DependencyFilesetsTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.maven.ant.tasks.DependencyFilesetsTask
- All Implemented Interfaces:
- Cloneable
public class DependencyFilesetsTask
- extends org.apache.tools.ant.Task
Ant task which create a fileset for each dependency in a Maven project, and a
fileset containing all selected dependencies.
- Author:
- pgier
Fields inherited from class org.apache.tools.ant.Task |
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
description, location, project |
Methods inherited from class org.apache.tools.ant.Task |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
DEFAULT_PROJECT_DEPENDENCIES_ID
public static final String DEFAULT_PROJECT_DEPENDENCIES_ID
- See Also:
- Constant Field Values
DependencyFilesetsTask
public DependencyFilesetsTask()
getProjectDependenciesId
public String getProjectDependenciesId()
setProjectDependenciesId
public void setProjectDependenciesId(String projectDependenciesId)
execute
public void execute()
- Overrides:
execute
in class org.apache.tools.ant.Task
getMavenProjectId
public String getMavenProjectId()
setMavenProjectId
public void setMavenProjectId(String mavenProjectId)
getPrefix
public String getPrefix()
setPrefix
public void setPrefix(String prefix)
- Prefix to be added to each of the dependency filesets. Default is empty string.
getTypes
public String getTypes()
setTypes
public void setTypes(String types)
getScopes
public String getScopes()
setScopes
public void setScopes(String scopes)
filterArtifacts
public Set filterArtifacts(Set artifacts)
- Filter a set of artifacts using the scopes and type filters.
- Parameters:
artifacts
-
- Returns:
Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.