throw new MojoFailureException("No content specified for p2 repository");
}
RepositoryReferences sources = getVisibleRepositories();
MirrorApplicationService mirrorApp = p2.getService(MirrorApplicationService.class);
DestinationRepositoryDescriptor destinationRepoDescriptor = new DestinationRepositoryDescriptor(
destination, repositoryName, compress, !createArtifactRepository, true);
mirrorApp.mirrorReactor(sources, destinationRepoDescriptor, rootIUs, getBuildContext(),
includeAllDependencies, new MavenLoggerAdapter(logger, false));
} catch (FacadeException e) {
throw new MojoExecutionException("Could not assemble p2 repository", e);
}
}