You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2009/04/02 22:21:17 UTC
svn commit: r761415 -
/maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-toolchain/src/main/java/org/apache/maven/plugin/coreit/CoreItMojo.java
Author: bentmann
Date: Thu Apr 2 20:21:16 2009
New Revision: 761415
URL: http://svn.apache.org/viewvc?rev=761415&view=rev
Log:
o Decoupled from plexus-utils
Modified:
maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-toolchain/src/main/java/org/apache/maven/plugin/coreit/CoreItMojo.java
Modified: maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-toolchain/src/main/java/org/apache/maven/plugin/coreit/CoreItMojo.java
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-toolchain/src/main/java/org/apache/maven/plugin/coreit/CoreItMojo.java?rev=761415&r1=761414&r2=761415&view=diff
==============================================================================
--- maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-toolchain/src/main/java/org/apache/maven/plugin/coreit/CoreItMojo.java (original)
+++ maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-toolchain/src/main/java/org/apache/maven/plugin/coreit/CoreItMojo.java Thu Apr 2 20:21:16 2009
@@ -32,7 +32,6 @@
import org.apache.maven.toolchain.MisconfiguredToolchainException;
import org.apache.maven.toolchain.ToolchainManagerPrivate;
import org.apache.maven.toolchain.ToolchainPrivate;
-import org.codehaus.plexus.util.IOUtil;
/**
* @goal toolchain
@@ -76,7 +75,7 @@
throw new MojoExecutionException( e.getMessage(), e );
}
- getLog().info( "Toolchain in compiler-plugin: " + Arrays.asList( tcs ) );
+ getLog().info( "[MAVEN-CORE-IT-LOG] Toolchains in plugin: " + Arrays.asList( tcs ) );
Properties properties = new Properties();
@@ -105,7 +104,16 @@
}
finally
{
- IOUtil.close( out );
+ if ( out != null )
+ {
+ try
+ {
+ out.close();
+ }
+ catch ( IOException e )
+ {
+ }
+ }
}
}
}