Author: hboutemy
Date: Wed Apr 7 20:53:16 2010
New Revision: 931683
URL: http://svn.apache.org/viewvc?rev=931683&view=rev
Log:
delete the directory generated by the archetype test to be able to re-run it
without mvn clean
Modified:
maven/archetype/trunk/archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/IntegrationTestMojo.java
Modified:
maven/archetype/trunk/archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/IntegrationTestMojo.java
URL:
http://svn.apache.org/viewvc/maven/archetype/trunk/archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/IntegrationTestMojo.java?rev=931683&r1=931682&r2=931683&view=diff
==============================================================================
---
maven/archetype/trunk/archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/IntegrationTestMojo.java
(original)
+++
maven/archetype/trunk/archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/IntegrationTestMojo.java
Wed Apr 7 20:53:16 2010
@@ -204,6 +204,8 @@ public class IntegrationTestMojo
String basedir = goalFile.getParentFile().getPath() + "/project";
+ FileUtils.deleteDirectory( basedir );
+
FileUtils.mkdir( basedir );
ArchetypeGenerationRequest request = new
ArchetypeGenerationRequest()