final Archiver archiver =
createArchiver( format, assembly.isIncludeBaseDirectory(), basedir, configSource, containerHandlers );
archiver.setDestFile( destFile );
final AssemblyContext context = new DefaultAssemblyContext();
dependencyResolver.resolve( assembly, configSource, context );
for ( final Iterator<AssemblyArchiverPhase> phaseIterator = assemblyPhases.iterator(); phaseIterator.hasNext(); )
{