throws AssemblyFormattingException, ArchiveCreationException, IOException,
InvalidAssemblerConfigurationException
{
final MavenProject project = new MavenProject( new Model() );
final DependencySet ds = new DependencySet();
ds.setOutputDirectory( outputLocation );
ds.setOutputFileNameMapping( "artifact" );
ds.setUnpack( unpack );
ds.setScope( Artifact.SCOPE_COMPILE );
ds.setDirectoryMode( Integer.toString( 10, 8 ) );
ds.setFileMode( Integer.toString( 10, 8 ) );
final MockAndControlForAddDependencySetsTask macTask =
new MockAndControlForAddDependencySetsTask( mockManager, new MavenProject( new Model() ) );
final ArtifactMock artifactMock = new ArtifactMock( mockManager, "group", "artifact", "version", "jar", false );