org.apache.maven.ant.tasks
Class DependencyFilesetsTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by 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

Field Summary
static String DEFAULT_PROJECT_DEPENDENCIES_ID
           
 
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
 
Constructor Summary
DependencyFilesetsTask()
           
 
Method Summary
 void execute()
           
 Set filterArtifacts(Set artifacts)
          Filter a set of artifacts using the scopes and type filters.
 String getMavenProjectId()
           
 String getPrefix()
           
 String getProjectDependenciesId()
           
 String getScopes()
           
 String getTypes()
           
 void setMavenProjectId(String mavenProjectId)
           
 void setPrefix(String prefix)
          Prefix to be added to each of the dependency filesets.
 void setProjectDependenciesId(String projectDependenciesId)
           
 void setScopes(String scopes)
           
 void setTypes(String types)
           
 
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PROJECT_DEPENDENCIES_ID

public static final String DEFAULT_PROJECT_DEPENDENCIES_ID
See Also:
Constant Field Values
Constructor Detail

DependencyFilesetsTask

public DependencyFilesetsTask()
Method Detail

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.