Added support for maven (replaces ant).