mirror of https://github.com/apache/maven.git
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:
parent
b2d421f892
commit
a9e34c1fe5
|
@ -32,7 +32,6 @@ import org.apache.maven.plugin.MojoExecutionException;
|
||||||
import org.apache.maven.toolchain.MisconfiguredToolchainException;
|
import org.apache.maven.toolchain.MisconfiguredToolchainException;
|
||||||
import org.apache.maven.toolchain.ToolchainManagerPrivate;
|
import org.apache.maven.toolchain.ToolchainManagerPrivate;
|
||||||
import org.apache.maven.toolchain.ToolchainPrivate;
|
import org.apache.maven.toolchain.ToolchainPrivate;
|
||||||
import org.codehaus.plexus.util.IOUtil;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @goal toolchain
|
* @goal toolchain
|
||||||
|
@ -76,7 +75,7 @@ public class CoreItMojo
|
||||||
throw new MojoExecutionException( e.getMessage(), e );
|
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();
|
Properties properties = new Properties();
|
||||||
|
|
||||||
|
@ -105,7 +104,16 @@ public class CoreItMojo
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
IOUtil.close( out );
|
if ( out != null )
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
out.close();
|
||||||
|
}
|
||||||
|
catch ( IOException e )
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue