Port to Maven build.