private String layoutId = "default";
public boolean init( ArtifactRepository repository )
{
this.artifactBuilders.clear();
this.artifactBuilders.put( "default", new DefaultLayoutArtifactBuilder( artifactFactory ) );
this.artifactBuilders.put( "legacy", new LegacyLayoutArtifactBuilder( artifactFactory ) );
if ( repository.getLayout() instanceof LegacyRepositoryLayout )
{
this.layoutId = "legacy";