// Add default contribution import and export
DefaultImport defaultImport = contributionFactory.createDefaultImport();
defaultImport.setModelResolver(new DefaultModelResolver());
contribution.getImports().add(defaultImport);
DefaultExport defaultExport = contributionFactory.createDefaultExport();
contribution.getExports().add(defaultExport);
} else {
if (contribution.getDeployables().size() > 0) {
// Update the deployable Composite objects with the correct Composite object for the artifact
for (Artifact a : contribution.getArtifacts()) {