public void copyFile( File sourceFile, File targetFile )
            throws MojoExecutionException
    {
        makeDirectoryIfNecessary( targetFile.getParentFile() );
        try
        {
            FileUtils.copyFile( sourceFile, targetFile );
        }
        catch ( IOException e )
        {
            throw new MojoExecutionException( "Could not copy file " + sourceFile + " to " + targetFile, e );
        }
    }
public void copyFile ( File sourceFile , File targetFile ) throws MojoExecutionException { makeDirectoryIfNecessary ( targetFile . getParentFile ( ) ) ; try { FileUtils . copyFile ( sourceFile , targetFile ) ; } catch ( IOException e ) { throw new MojoExecutionException ( "Could not copy file " + sourceFile + " to " + targetFile , e ) ; } }
{@inheritDoc}