+ archetypeVersion.getValue();
DependencyQueryBuilder depQuery = DependencyQueryBuilder.create(coordinate);
String repository = archetypeRepository.getValue();
if (repository != null)
{
depQuery.setRepositories(new DependencyRepository("archetype", repository));
}
Dependency resolvedArtifact = resolver.resolveArtifact(depQuery);
FileResource<?> artifact = resolvedArtifact.getArtifact();
MetadataFacet metadataFacet = project.getFacet(MetadataFacet.class);
File fileRoot = project.getRoot().reify(DirectoryResource.class).getUnderlyingResourceObject();