Map<ClassRealm, List<String>> exportedArtifacts = new HashMap<ClassRealm, List<String>>();
List<Artifact> publicArtifacts = new ArrayList<Artifact>();
RepositoryRequest repositoryRequest = new DefaultRepositoryRequest();
repositoryRequest.setCache( request.getRepositoryCache() );
repositoryRequest.setLocalRepository( request.getLocalRepository() );
repositoryRequest.setRemoteRepositories( project.getPluginArtifactRepositories() );
repositoryRequest.setOffline( request.isOffline() );
repositoryRequest.setForceUpdate( request.isForceUpdate() );
repositoryRequest.setTransferListener( request.getTransferListener() );
for ( Plugin plugin : extensionPlugins )
{
if ( plugin.getVersion() == null )
{