mirror of https://github.com/apache/maven.git
remove left overs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@314904 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e15ca1da98
commit
5a19b06f94
|
@ -241,10 +241,6 @@ public class DefaultArchetype
|
||||||
{
|
{
|
||||||
processTemplates( pomFile, outputDirectory, context, descriptor, packageName );
|
processTemplates( pomFile, outputDirectory, context, descriptor, packageName );
|
||||||
}
|
}
|
||||||
// catch ( Exception e )
|
|
||||||
// {
|
|
||||||
// throw new ArchetypeTemplateProcessingException( "Error processing templates.", e );
|
|
||||||
// }
|
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
Thread.currentThread().setContextClassLoader( old );
|
Thread.currentThread().setContextClassLoader( old );
|
||||||
|
@ -273,7 +269,7 @@ public class DefaultArchetype
|
||||||
// Model generated for the new archetype, so process it now
|
// Model generated for the new archetype, so process it now
|
||||||
// ---------------------------------------------------------------------
|
// ---------------------------------------------------------------------
|
||||||
|
|
||||||
Model generatedModel = null;
|
Model generatedModel;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
FileReader pomReader = new FileReader( pomFile );
|
FileReader pomReader = new FileReader( pomFile );
|
||||||
|
|
Loading…
Reference in New Issue