The fragment generator has :
It can accept the mapping parameter, which is a map of the names of artifacts (files, directories ending in / or any other Ant patterns), in the names of the workspace names.
For example, to copy a single file: unarchive mapping: ['target/my.war': 'here.war']
To copy the entire directory: unarchive mapping: ['dir/' : '.']
Jesse glick
source share