throws ComponentLookupException, ArtifactNotFoundException, ArtifactResolutionException, IOException
{
ArtifactRepositoryFactory factory =
(ArtifactRepositoryFactory) container.lookup( ArtifactRepositoryFactory.ROLE );
DefaultRepositoryLayout layout =
(DefaultRepositoryLayout) container.lookup( ArtifactRepositoryLayout.ROLE, "default" );
ArtifactRepository localRepository =
factory.createArtifactRepository( "local", getLocalRepositoryURL( container, setting ), layout, null, null );