Author: brett
Date: Tue Mar 17 12:05:35 2009
New Revision: 755210
URL: http://svn.apache.org/viewvc?rev=755210&view=rev
Log:
only set conditionally
Modified:
maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-plugin-dependency/src/main/java/org/apache/maven/plugin/coreit/DerivedItMojo.java
Modified:
maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-plugin-dependency/src/main/java/org/apache/maven/plugin/coreit/DerivedItMojo.java
URL:
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-plugin-dependency/src/main/java/org/apache/maven/plugin/coreit/DerivedItMojo.java?rev=755210&r1=755209&r2=755210&view=diff
==============================================================================
---
maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-plugin-dependency/src/main/java/org/apache/maven/plugin/coreit/DerivedItMojo.java
(original)
+++
maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-plugin-dependency/src/main/java/org/apache/maven/plugin/coreit/DerivedItMojo.java
Tue Mar 17 12:05:35 2009
@@ -26,7 +26,6 @@
/**
* @goal test
- *
* @phase process-sources
*/
public class DerivedItMojo
@@ -44,7 +43,10 @@
public void execute()
throws MojoFailureException, MojoExecutionException
{
- super.setOutputFile( file );
+ if ( file != null )
+ {
+ super.setOutputFile( file );
+ }
super.execute();
}