protected void validateOutputFile()
        throws MojoExecutionException
    {
        if ( outputFile.isDirectory() )
        {
            throw new MojoExecutionException( "outputFile must be a file and not a directory" );
        }
        // ensure path exists
        if ( outputFile.getParentFile() != null )
        {
            outputFile.getParentFile().mkdirs();
        }
    }
protected void validateOutputFile ( ) throws MojoExecutionException { if ( outputFile . isDirectory ( ) ) { throw new MojoExecutionException ( "outputFile must be a file and not a directory" ) ; } if ( outputFile . getParentFile ( ) != null ) { outputFile . getParentFile ( ) . mkdirs ( ) ; } }
@throws MojoExecutionException {@link MojoExecutionException}