// Add the deployed artifact model to the resolver
Artifact artifact = this.contributionFactory.createArtifact();
artifact.setURI(anArtifactUri.toString());
artifact.setLocation(artifactURL.toString());
contribution.getArtifacts().add(artifact);
modelResolver.addModel(artifact);
model = this.artifactProcessor.read(contributionURL, anArtifactUri, artifactURL);
if (model != null) {
artifact.setModel(model);
// Add the loaded model to the model resolver