mirror of https://github.com/apache/maven.git
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:
parent
848c7137a6
commit
7d1b3326fe
|
@ -26,7 +26,6 @@ import java.io.File;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @goal test
|
* @goal test
|
||||||
*
|
|
||||||
* @phase process-sources
|
* @phase process-sources
|
||||||
*/
|
*/
|
||||||
public class DerivedItMojo
|
public class DerivedItMojo
|
||||||
|
@ -44,7 +43,10 @@ public class DerivedItMojo
|
||||||
public void execute()
|
public void execute()
|
||||||
throws MojoFailureException, MojoExecutionException
|
throws MojoFailureException, MojoExecutionException
|
||||||
{
|
{
|
||||||
super.setOutputFile( file );
|
if ( file != null )
|
||||||
|
{
|
||||||
|
super.setOutputFile( file );
|
||||||
|
}
|
||||||
|
|
||||||
super.execute();
|
super.execute();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue