// Create a contribution repository
ContributionRepository repository;
try {
repository = new ContributionRepositoryImpl("target");
} catch (IOException e) {
throw new ActivationException(e);
}
ExtensibleURLArtifactProcessor documentProcessor = new ExtensibleURLArtifactProcessor(documentProcessors);
ContributionService contributionService = new ContributionServiceImpl(repository, packageProcessor,
documentProcessor, assemblyFactory,