getLogger().info( "project created from Archetype in dir: " + outputDirectoryFile.getAbsolutePath() );
}
}
catch ( FileNotFoundException ex )
{
throw new ArchetypeGenerationFailure( ex );
}
catch ( IOException ex )
{
throw new ArchetypeGenerationFailure( ex );
}
catch ( XmlPullParserException ex )
{
throw new ArchetypeGenerationFailure( ex );
}
catch ( DocumentException ex )
{
throw new ArchetypeGenerationFailure( ex );
}
catch ( ArchetypeGenerationFailure ex )
{
throw new ArchetypeGenerationFailure( ex );
}
catch ( InvalidPackaging ex )
{
throw new ArchetypeGenerationFailure( ex );
}
finally
{
Thread.currentThread().setContextClassLoader( old );
}