new Repository( "local", settings.getLocalRepository(), Repository.LAYOUT_DEFAULT, false, false );
File repoLocalFile = new File( localRepository.getBasedir() );
repoLocalFile.mkdirs();
if ( !repoLocalFile.canWrite() )
{
throw new Exception( "Can't write to " + repoLocalFile );
}
ArtifactResolver resolver;