only set conditionally

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@755210 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Porter 2009-03-17 12:05:35 +00:00
parent 848c7137a6
commit 7d1b3326fe
1 changed files with 4 additions and 2 deletions

View File

@ -26,7 +26,6 @@ import java.io.File;
/**
* @goal test
*
* @phase process-sources
*/
public class DerivedItMojo
@ -44,7 +43,10 @@ public class DerivedItMojo
public void execute()
throws MojoFailureException, MojoExecutionException
{
super.setOutputFile( file );
if ( file != null )
{
super.setOutputFile( file );
}
super.execute();
}