createArchive
File createArchive(Assembly assembly,
                   String fullName,
                   String format,
                   AssemblerConfigurationSource configSource,
                   boolean recompressZippedFiles,
                   String mergeManifestMode,
                   Date sourceDateEpoch)
            throws ArchiveCreationException,
                   AssemblyFormattingException,
                   InvalidAssemblerConfigurationException
Create the assembly archive. Generally:
 
 - Setup any directory structures for temporary files
- Calculate the output directory/file for the assembly
- Setup any handler components for special descriptor files we may encounter
- Lookup and configure the Archiverto be used
- Determine what, if any, dependency resolution will be required, and resolve any dependency-version conflicts
 up front to produce a managed-version map for the whole assembly process.
- Iterate through the available AssemblyArchiverPhaseinstances, executing each to handle a different
 top-level section of the assembly descriptor, if that section is present.
- Parameters:
- assembly- The- Assembly
- fullName- The full name.
- format- The format.
- configSource- The- AssemblerConfigurationSource
- recompressZippedFiles- recompress zipped files.
- mergeManifestMode- How to handle already existing Manifest files (skip, merge, mergewithoutmain)
- sourceDateEpoch- Timestamp for reproducible archive entries
- Returns:
- The resulting archive file.
- Throws:
- ArchiveCreationException- when creation fails
- AssemblyFormattingException- when formatting fails
- InvalidAssemblerConfigurationException- when the configuration is bad