lib/maven-archetype-generate.js
function filesFromFileSet (dirname, fileset) {
  if (!fileset.includes || !fileset.includes.length) {
    return [];
  }
  return fileset.includes
    .filter(include => !glob.hasMagic(include))
    .map(include => path.join(dirname, include));
}
function filesFromFileSet (dirname, fileset) {
  if (!fileset.includes || !fileset.includes.length) {
    return [];
  }
  return fileset.includes
    .filter(include => !glob.hasMagic(include))
    .map(include => path.join(dirname, include));
}
function filesFromFileSet ( dirname , fileset ) { if ( ! fileset . includes || ! fileset . includes . length ) { return [ ] ; } return fileset . includes . filter ( include => ! glob . hasMagic ( include ) ) . map ( include => path . join ( dirname , include ) ) ; }
The includes in a fileset may be globs or they may be individual files.
This extracts all of the individual files and makes them absolute.

@param {!string} dirname
@param {!Array<{includes: Array<string>}>} fileset
@returns {!Array<string>}
The includes in a fileset may be globs or they may be individual files . This extracts all of the individual files and makes them absolute .