use of org.apache.maven.archetype.exception.ArchetypeException in project maven-archetype by apache.
the class DefaultArchetypeGenerator method generateArchetype.
public void generateArchetype(ArchetypeGenerationRequest request, ArchetypeGenerationResult result) {
try {
File archetypeFile = getArchetypeFile(request, request.getLocalRepository());
generateArchetype(request, archetypeFile, result);
} catch (IOException ex) {
result.setCause(ex);
} catch (ArchetypeException ex) {
result.setCause(ex);
} catch (XmlPullParserException ex) {
result.setCause(ex);
} catch (DocumentException ex) {
result.setCause(ex);
}
}
Aggregations