o Decoupled from plexus-utils

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@761415 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-04-02 20:21:16 +00:00
parent b2d421f892
commit a9e34c1fe5
1 changed files with 11 additions and 3 deletions

View File

@ -32,7 +32,6 @@ import org.apache.maven.plugin.MojoExecutionException;
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 @@ public class CoreItMojo
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 @@ public class CoreItMojo
}
finally
{
IOUtil.close( out );
if ( out != null )
{
try
{
out.close();
}
catch ( IOException e )
{
}
}
}
}
}